Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 220.9 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06546/0.06546, allocations: 12.19 MB / 324.6 MB, free: 7.254 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007789/0.0007789, allocations: 32.47 kB / 384.1 MB, free: 46.61 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.663/2.663, allocations: 353.8 MB / 0.7787 GB, free: 1.102 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl") translateModel(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00379/0.00379, allocations: 118.5 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2793, allocations: 134.9 MB / 1.192 GB, free: 6.188 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl): time 0.003193/0.2825, allocations: 1.211 MB / 1.193 GB, free: 4.984 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2846, allocations: 1.303 MB / 1.195 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.802e-05/0.2847, allocations: 0 / 1.195 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 7.35e-05/0.2848, allocations: 19.8 kB / 1.195 GB, free: 3.645 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.2851, allocations: 39.77 kB / 1.195 GB, free: 3.605 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.2852, allocations: 43.95 kB / 1.195 GB, free: 3.562 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.2854, allocations: 136.1 kB / 1.195 GB, free: 3.43 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.2856, allocations: 76.92 kB / 1.195 GB, free: 3.352 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2857, allocations: 59.72 kB / 1.195 GB, free: 3.293 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2859, allocations: 67.69 kB / 1.195 GB, free: 3.227 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.2859, allocations: 12 kB / 1.195 GB, free: 3.215 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.286, allocations: 27.98 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.2861, allocations: 47.83 kB / 1.195 GB, free: 3.141 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.2862, allocations: 71.53 kB / 1.195 GB, free: 3.07 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2865, allocations: 187.1 kB / 1.195 GB, free: 2.887 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2865, allocations: 4 kB / 1.195 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2865, allocations: 0 / 1.195 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.2865, allocations: 0 / 1.195 GB, free: 2.883 MB / 0.8263 GB Error: Too few equations, under-determined system. The model has 38 equation(s) and 42 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Fluid/HeatPumps/ModularReversible/Controls/Defrost/BaseClasses/HysteresisVariableLowerBound.mo:10:3-11:26:writable] Warning: Variable hys.u does not have any remaining equation to be solved in. The original equations were: Equation 22: hys.y = not pre(hys.y) and hys.u > hys.uHigh or pre(hys.y) and hys.u >= hys.uLow, which needs to solve for hys.y Equation 16: hys.u = sigBus.iceFacHPMea, which needs to solve for sigBus.iceFacHPMea [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Logical.mo:467:5-468:76:writable] Warning: Variable swi.u2 does not have any remaining equation to be solved in. The original equations were: Equation 28: swi.y = if swi.u2 then swi.u1 else swi.u3, which needs to solve for swi.y Equation 14: andIsOn.y = swi.u2, which needs to solve for andIsOn.y [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Fluid/HeatPumps/ModularReversible/Controls/Defrost/BaseClasses/OptimalDefrostWangEtAl.mo:12:3-15:44:writable] Warning: Variable optDefWuEtAl.relHum does not have any remaining equation to be solved in. The original equations were: Equation 20: froZon.relHum = optDefWuEtAl.relHum, which needs to solve for froZon.relHum Equation 2: optDefWuEtAl.relHumInPer.u = optDefWuEtAl.relHum, which needs to solve for optDefWuEtAl.relHumInPer.u [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/Frosting/BaseClasses/ZhuFrostingZone.mo:12:3-14:42:writable] Warning: Variable froZon.TOda does not have any remaining equation to be solved in. The original equations were: Equation 38: froZon.relHumMil = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl.froZon.poly_fit(froZon.coeff_mild, froZon.TOda - 273.15), which needs to solve for froZon.relHumMil Equation 37: froZon.relHumMod = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl.froZon.poly_fit(froZon.coeff_moderate, froZon.TOda - 273.15), which needs to solve for froZon.relHumMod Equation 36: froZon.relHumSev = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl.froZon.poly_fit(froZon.coeff_severe, froZon.TOda - 273.15), which needs to solve for froZon.relHumSev Equation 33: if froZon.TOda >= 279.15 then froZon.zon = 0 else if froZon.relHum >= froZon.relHumSev then froZon.zon = 3 elseif froZon.relHum >= froZon.relHumMod then froZon.zon = 2 elseif froZon.relHum >= froZon.relHumMil then froZon.zon = 1 else froZon.zon = 0 end if end if, which needs to solve for froZon.zon Equation 18: froZon.TOda = optDefWuEtAl.TOda, which needs to solve for optDefWuEtAl.TOda Equation 17: froZon.TOda = sigBus.TEvaInMea, which needs to solve for sigBus.TEvaInMea " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.428855270147324] Failed to read output from testmodel.py, exit status != 0: 0.2958376295864582 0.31127485 0.021498013 Calling exit ...