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.0007614/0.0007614, allocations: 79.69 kB / 20.02 MB, free: 4.488 MB / 18.57 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.0007684/0.0007684, allocations: 166 kB / 23.32 MB, free: 1.188 MB / 18.57 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.8945/0.8945, allocations: 177.1 MB / 203.6 MB, free: 5.699 MB / 186.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.03291/0.03291, allocations: 9.127 MB / 269.2 MB, free: 4.422 MB / 250.7 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.0003907/0.0003907, allocations: 27.94 kB / 328.7 MB, free: 5.773 MB / 298.7 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 1.525/1.525, allocations: 274.9 MB / 0.6476 GB, free: 2.836 MB / 0.4949 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 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.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.433e-06/1.433e-06, allocations: 0 / 0.9295 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.473e-05, allocations: 3.656 kB / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost): time 0.002297/0.002322, allocations: 1.87 MB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.002989, allocations: 495.4 kB / 0.9318 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.003051, allocations: 2.844 kB / 0.9318 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 5.703e-05/0.003109, allocations: 16.03 kB / 0.9318 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.003358, allocations: 34.84 kB / 0.9318 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 8.282e-05/0.003441, allocations: 49.91 kB / 0.9319 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003578, allocations: 144.3 kB / 0.932 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.003793, allocations: 82.91 kB / 0.9321 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.003968, allocations: 92.19 kB / 0.9322 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.004062, allocations: 53.48 kB / 0.9322 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.004091, allocations: 19.97 kB / 0.9323 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.004175, allocations: 26.58 kB / 0.9323 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.004239, allocations: 45.73 kB / 0.9323 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.004285, allocations: 48.75 kB / 0.9324 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.004515, allocations: 177.8 kB / 0.9326 GB, free: 19 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004517, allocations: 1.953 kB / 0.9326 GB, free: 19 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.432e-06/0.004519, allocations: 0 / 0.9326 GB, free: 19 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004523, allocations: 4 kB / 0.9326 GB, free: 18.99 MB / 0.7293 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: 3.766857599839568] Failed to read output from testmodel.py, exit status != 0: 0.009617922827601433 0.016598524 0.009866449000000001 Calling exit ...