python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00998801 Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu LOG_ASSERT | error | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5878:7-5882:3:writable] | | | | The following assertion has been violated at time 0.049940 | | | | ((tank2.medium.T >= 272.15 and tank2.medium.T <= 403.15)) --> " | | | | Temperature T (= 271.465 K) is not | | | | in the allowed range (272.15 K <= T <= 403.15 K) | | | | required from medium model "SimpleLiquidWater". | | | | " Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/command_line.py", line 169, in main result = simulate_fmu(args.fmu_filename, File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 759, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 1162, in simulateME recorder.sample(time, force=True) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 165, in sample values = getter(vr=vrs) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 293, in getReal self.fmi2GetReal(self.component, vr, len(vr), value) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetReal failed with status 3 (error).