python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_ValveReferenceValues_Undirected.fmu LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Undirected/FlowControl/BasicControlValve.mo:42:5-48:28:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((abs(1e-5 * dp_ref.dp_ref - 1.0) <= 2.220446049250313e-16)) --> "In "ValveReferenceValues_Undirected.dp_ref": dp_ref must remain at its default value of 1 bar when m_flow_ref_set is not used. Modifying dp_ref leads to incorrect model behavior. Remove the dp_ref modifier." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Undirected/FlowControl/BasicControlValve.mo:50:5-56:28:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((abs(0.001 * rho_ref.rho_ref - 1.0) <= 2.220446049250313e-16)) --> "In "ValveReferenceValues_Undirected.rho_ref": rho_ref must remain at its default value of 1000 kg/m3 when m_flow_ref_set is not used. Modifying rho_ref leads to incorrect model behavior. Remove the rho_ref modifier." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Undirected/FlowControl/SpecificValveType.mo:56:5-62:28:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((abs(1e-5 * dp_ref1.dp_ref - 1.0) <= 2.220446049250313e-16)) --> "In "ValveReferenceValues_Undirected.dp_ref1": dp_ref must remain at its default value of 1 bar when using Kvs, Cvs_US, or Cvs_UK. Modifying dp_ref leads to incorrect model behavior. Remove the dp_ref modifier." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Undirected/FlowControl/SpecificValveType.mo:64:5-70:28:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((abs(0.001 * rho_ref1.rho_ref - 1.0) <= 2.220446049250313e-16)) --> "In "ValveReferenceValues_Undirected.rho_ref1": rho_ref must remain at its default value of 1000 kg/m3 when using Kvs, Cvs_US, or Cvs_UK. Modifying rho_ref leads to incorrect model behavior. Remove the rho_ref modifier." [ERROR][rank 0][/home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c:3743][cvHandleFailure] At t = 5.10515463179839 and h = 1.52587890625e-06, the corrector convergence test failed repeatedly or with |h| = hmin. Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/cli.py", line 186, in main result = simulate_fmu(args.fmu_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 788, 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.12/site-packages/fmpy/simulation.py", line 1101, in simulateME state_event, roots_found, time = solver.step(time, next_communication_point) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 185, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -4) in module cvHandleFailure, function /home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c: At t = 5.10515463179839 and h = 1.52587890625e-06, the corrector convergence test failed repeatedly or with |h| = hmin.