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.0007353/0.0007353, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007641/0.0007641, allocations: 203.2 kB / 23 MB, free: 3.113 MB / 13.93 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 0.9174/0.9174, allocations: 230.6 MB / 256.8 MB, free: 3.488 MB / 202.7 MB " [Timeout remaining time 179] 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.03544/0.03544, allocations: 12.19 MB / 325.4 MB, free: 3.547 MB / 250.7 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.0004377/0.0004377, allocations: 29.88 kB / 384.9 MB, free: 45.77 MB / 298.7 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 1.713/1.713, allocations: 353.8 MB / 0.7794 GB, free: 13.13 MB / 0.5262 GB " [Timeout remaining time 178] 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.001454/0.001454, allocations: 123.3 kB / 1.061 GB, free: 9.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 134.9 MB / 1.193 GB, free: 2.598 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl): time 0.002399/0.2474, allocations: 1.222 MB / 1.194 GB, free: 1.383 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2487, allocations: 1.299 MB / 1.195 GB, free: 68 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.2488, allocations: 4 kB / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.358e-05/0.2489, allocations: 15.8 kB / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.2492, allocations: 31.84 kB / 1.196 GB, free: 16 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.2493, allocations: 48 kB / 1.196 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.2494, allocations: 132 kB / 1.196 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.2496, allocations: 76.86 kB / 1.196 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.2497, allocations: 59.78 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2499, allocations: 71.62 kB / 1.196 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.2499, allocations: 12 kB / 1.196 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.25, allocations: 31.98 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.25, allocations: 43.83 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.2501, allocations: 71.59 kB / 1.196 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2503, allocations: 187.1 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2503, allocations: 0 / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2503, allocations: 0 / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2504, allocations: 3.938 kB / 1.196 GB, free: 15.29 MB / 0.8387 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: 4.487864197231829] Failed to read output from testmodel.py, exit status != 0: 0.2579945893958211 0.266926264 0.014881066 Calling exit ...