python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Applications_AirConditioningSystems_PhotovoltaicCoolingSystem.fmu LOG_STDOUT | info | ... loading "tab1" from "/tmp/tmpomjzeax7/resources/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/weather/Brazil_Manaus.txt" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:417:3-426:39:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((not (pump1.per.etaHydMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.Power_VolumeFlowRate or pump1.per.etaHydMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.EulerNumber))) --> "*** Warning in PhotovoltaicCoolingSystem.pump1: Mover has per.etaHydMet=.Power_VolumeFlowRate or per.etaHydMet=.EulerNumber. | | | | This requires per.pressure to be provided. | | | | Because it is not, the model overrides this setting by using per.etaHydMet=.NotProvided." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:428:3-437:39:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((pump1.per.haveWMot_nominal or not (pump1.per.etaMotMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.Efficiency_MotorPartLoadRatio or pump1.per.etaMotMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.GenericCurve))) --> "*** Warning in PhotovoltaicCoolingSystem.pump1: Mover has per.etaMotMet=.Efficiency_MotorPartLoadRatio or per.etaMotMet=.GenericCurve. | | | | This requires per.WMot_nominal or per.pressure to be provided. Because neither is provided, | | | | the model overrides this setting and by using per.etaMotMet=.NotProvided." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:417:3-426:39:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((not (pump2.per.etaHydMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.Power_VolumeFlowRate or pump2.per.etaHydMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.EulerNumber))) --> "*** Warning in PhotovoltaicCoolingSystem.pump2: Mover has per.etaHydMet=.Power_VolumeFlowRate or per.etaHydMet=.EulerNumber. | | | | This requires per.pressure to be provided. | | | | Because it is not, the model overrides this setting by using per.etaHydMet=.NotProvided." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:428:3-437:39:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((pump2.per.haveWMot_nominal or not (pump2.per.etaMotMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.Efficiency_MotorPartLoadRatio or pump2.per.etaMotMet == BuildingSystems.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.GenericCurve))) --> "*** Warning in PhotovoltaicCoolingSystem.pump2: Mover has per.etaMotMet=.Efficiency_MotorPartLoadRatio or per.etaMotMet=.GenericCurve. | | | | This requires per.WMot_nominal or per.pressure to be provided. Because neither is provided, | | | | the model overrides this setting and by using per.etaMotMet=.NotProvided." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[1].x >= 0.0 and building.surfacesToAmbience.surface[1].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[1].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[2].x >= 0.0 and building.surfacesToAmbience.surface[2].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[2].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[3].x >= 0.0 and building.surfacesToAmbience.surface[3].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[3].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[4].x >= 0.0 and building.surfacesToAmbience.surface[4].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[4].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[5].x >= 0.0 and building.surfacesToAmbience.surface[5].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[5].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[6].x >= 0.0 and building.surfacesToAmbience.surface[6].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[6].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[7].x >= 0.0 and building.surfacesToAmbience.surface[7].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[7].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[8].x >= 0.0 and building.surfacesToAmbience.surface[8].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[8].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:18:3-18:68:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((building.surfacesToAmbience.surface[9].x >= 0.0 and building.surfacesToAmbience.surface[9].x <= 1.0)) --> "Variable violating min/max constraint: 0.0 <= building.surfacesToAmbience.surface[9].x <= 1.0, has value: -7.40757e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/WeatherData/BaseClasses/WeatherDataFileGeneral.mo:16:3-17:24:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((ambience.weatherDataReader.weatherData.phiAir >= 0.0 and ambience.weatherDataReader.weatherData.phiAir <= 1.01)) --> "Variable violating min/max constraint: 0.0 <= ambience.weatherDataReader.weatherData.phiAir <= 1.01, has value: 1.0275" LOG_ASSERT | debug | Solving non-linear system 4849 failed at time=7311.99079565122. | | | | 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 -8) in module CVODE, function CVode: At t = 7175.43, the right-hand side routine failed in an unrecoverable manner.