Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost.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.001489/0.001489, allocations: 85.33 kB / 19.27 MB, free: 2.246 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.001587/0.001587, allocations: 169.9 kB / 22.57 MB, free: 4.969 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.393/1.393, allocations: 177.1 MB / 202.9 MB, free: 9.137 MB / 190.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.07591/0.07591, allocations: 9.143 MB / 268.5 MB, free: 7.855 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0006716/0.0006716, allocations: 23.95 kB / 327.9 MB, free: 42.29 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.453/2.453, allocations: 275 MB / 0.6469 GB, free: 6.207 MB / 0.4982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ZhuTimeBasedDefrost,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost") translateModel(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5184,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9288 GB, free: 22.45 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.597e-05, allocations: 3.469 kB / 0.9288 GB, free: 22.45 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost): time 0.002599/0.002625, allocations: 1.87 MB / 0.9306 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.003465, allocations: 495.1 kB / 0.9311 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.003534, allocations: 2 kB / 0.9311 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.704e-05/0.003601, allocations: 16.88 kB / 0.9311 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.003863, allocations: 30.88 kB / 0.9311 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.003964, allocations: 54.16 kB / 0.9312 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004133, allocations: 144.7 kB / 0.9313 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.004331, allocations: 86.23 kB / 0.9314 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.004451, allocations: 98.41 kB / 0.9315 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.004543, allocations: 55.53 kB / 0.9315 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.004574, allocations: 15.28 kB / 0.9315 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.004649, allocations: 24.95 kB / 0.9316 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.004718, allocations: 46.75 kB / 0.9316 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.004771, allocations: 49.89 kB / 0.9317 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.005005, allocations: 177.3 kB / 0.9318 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005008, allocations: 0.7031 kB / 0.9318 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005009, allocations: 0 / 0.9318 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.005021, allocations: 1.062 kB / 0.9318 GB, free: 20.49 MB / 0.7325 GB Error: Too few equations, under-determined system. The model has 43 equation(s) and 47 variable(s). [/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 42: froZon.relHumMil = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost.froZon.poly_fit(froZon.coeff_mild, froZon.TOda - 273.15), which needs to solve for froZon.relHumMil Equation 41: froZon.relHumMod = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost.froZon.poly_fit(froZon.coeff_moderate, froZon.TOda - 273.15), which needs to solve for froZon.relHumMod Equation 40: froZon.relHumSev = AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost.froZon.poly_fit(froZon.coeff_severe, froZon.TOda - 273.15), which needs to solve for froZon.relHumSev Equation 35: 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.relHum Equation 22: froZon.TOda = sigBus.TEvaInMea, which needs to solve for sigBus.TEvaInMea [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:975:5-977:60:writable] Warning: Variable and1.u2 does not have any remaining equation to be solved in. The original equations were: Equation 30: and1.y = and1.u1 and and1.u2, which needs to solve for and1.y Equation 5: lesEquThr.y = and1.u2, which needs to solve for lesEquThr.y [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:978:5-979:74:writable] Warning: Variable andIsOn.y does not have any remaining equation to be solved in. The original equations were: Equation 36: andIsOn.y = andIsOn.u1 and andIsOn.u2, which needs to solve for andIsOn.u1 Equation 16: andIsOn.y = andDefrost.u2, which needs to solve for andDefrost.u2 Equation 15: andIsOn.y = and1.u1, which needs to solve for and1.u1 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Math.mo:1973:5-1974:66:writable] Warning: Variable andIsOn1.u does not have any remaining equation to be solved in. The original equations were: Equation 37: andIsOn1.y = /*Real*/(andIsOn1.u), which needs to solve for andIsOn1.y Equation 17: andIsOn1.u = froZon.zon, which needs to solve for froZon.zon " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.4884162694215775] Failed to read output from testmodel.py, exit status != 0: 0.011925783008337021 0.023485741 0.016053721 Calling exit ...