tests: Fix test_energy_model.py temp trace
tests: Fix test_energy_model.py temp trace

Parse eagerly all the events in the trace before the file is removed.

ARM-software/lisa,ARM-software/lisa,credp/lisa,credp/lisa,credp/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa