Fix Implementation of ThermoFluidsModel Class

Adjust ThermoFluidsModel class in cooling.py to speed up FMU interaction