python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmu LOG_NLS | error | residualFunc502: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc502 failed at time=0. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed during initialization. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc502: Iteration variable xloc[5] is nan. LOG_ASSERT | debug | residualFunc502 failed at time=0. | | | | For more information please use -lv LOG_NLS. LOG_NLS | error | residualFunc502: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc502 failed at time=0. | | | | For more information please use -lv LOG_NLS. LOG_NLS | error | residualFunc502: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc502 failed at time=0. | | | | For more information please use -lv LOG_NLS. LOG_NLS | error | residualFunc502: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc502 failed at time=0. | | | | For more information please use -lv LOG_NLS. LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:187:3-196:27:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((varSpeDX.eva.nomVal.gamma <= varSpeDX.eva.gammaMax)) --> "*** Warning: In DX coil model, gamma is too large for these coil conditions. | | | | Instead of gamma = 1.5, a value of 0.109645, which | | | | corresponds to a mass transfer effectiveness of 0.8, will be used. | | | | Coil nominal performance data are: | | | | nomVal.m_flow_nominal = 1.8 | | | | dX_nominal = XEvaOut_nominal-XEvaWetBulOut_nominal = 0.00561544 - 0.0057981 = -0.000182667 | | | | QLat_flow_nominal = -6000 | | | | " LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:173:3-181:28:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((varSpeDX.eva.dX_nominal > 1e-10)) --> "*** Warning: In DX coil model, dX_nominal = -0.000182667 | | | | This means that the coil is not dehumidifying air at the nominal conditions. | | | | Check nominal parameters. | | | | Nominal values: | | | | Q_flow_nominal = -30000 | | | | COP_nominal = 3 | | | | m_flow_nominal = 1.8 | | | | TEvaIn_nominal = 292.55 (= 19.4 degC) | | | | TConIn_nominal = 308.15 (= 35 degC) | | | | phiIn_nominal = 0.5 | | | | tWet = 1400 | | | | gamma = 1.5 | | | | p_nominal = 101325 | | | | " LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=100.269464179703. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 100.269. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=100.538928359404. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 100.539. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=102.059124357343. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 102.059. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=101.161591743036. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 101.162. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=101.161591743036. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 101.162. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=101.784255126667. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 101.784. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=102.406918510299. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 102.407. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=104.062608644416. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 104.063. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=104.062608644416. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 104.063. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=105.718298778533. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 105.718. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=105.718298778533. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 105.718. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=107.37398891265. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 107.374. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=110.685369180884. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 110.685. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=112.341059315001. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 112.341. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=113.996749449118. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 113.997. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=115.652439583235. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 115.652. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_NLS | error | residualFunc730: Iteration variable xloc[3] is nan. LOG_ASSERT | debug | residualFunc730 failed at time=118.488873244745. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 118.489. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-275.378)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-275.378)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-275.378)^(-1.5) LOG_ASSERT | debug | Solving non-linear system 714 failed at time=937.500000128517. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-54.2454)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-54.2454)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-54.2454)^(-1.5) LOG_ASSERT | debug | Solving non-linear system 714 failed at time=937.500000025708. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-10.0189)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-10.0189)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-10.0189)^(-1.5) LOG_ASSERT | debug | Solving non-linear system 714 failed at time=937.500000005146. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-1.17353)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-1.17353)^(-1.5) LOG_ASSERT | debug | /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed.fmutmp/sources/Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_AirCooled_Examples_VariableSpeed_functions.c:1660: Invalid root: (-1.17353)^(-1.5) LOG_ASSERT | debug | Solving non-linear system 714 failed at time=937.500000001034. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). 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 "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 178, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -10) in module CVODE, function CVode: At t = 937.5 repeated recoverable right-hand side function errors.