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.0006445/0.0006445, allocations: 76.45 kB / 19.93 MB, free: 4.633 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.0007415/0.0007415, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.8644/0.8644, allocations: 177.2 MB / 203.6 MB, free: 5.738 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.03448/0.03448, allocations: 9.118 MB / 269.2 MB, free: 4.484 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.0003774/0.0003774, allocations: 23.97 kB / 328.6 MB, free: 5.832 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.517/1.517, allocations: 275.1 MB / 0.6476 GB, free: 2.891 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.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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9294 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.625e-05, allocations: 2.281 kB / 0.9294 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl): time 0.001725/0.001751, allocations: 1.176 MB / 0.9306 GB, free: 20.17 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002939, allocations: 1.261 MB / 0.9318 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.003005, allocations: 2.906 kB / 0.9318 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.003059, allocations: 16.41 kB / 0.9318 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.003312, allocations: 43.3 kB / 0.9319 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.003412, allocations: 42.55 kB / 0.9319 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003557, allocations: 131.9 kB / 0.9321 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.003739, allocations: 79.86 kB / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.003838, allocations: 83.8 kB / 0.9322 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.003952, allocations: 54.33 kB / 0.9323 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.003977, allocations: 13.06 kB / 0.9323 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.004057, allocations: 29.3 kB / 0.9323 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.004119, allocations: 41 kB / 0.9323 GB, free: 19 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.004158, allocations: 47.73 kB / 0.9324 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.004389, allocations: 185.9 kB / 0.9326 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004391, allocations: 1.5 kB / 0.9326 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004392, allocations: 0 / 0.9326 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.004398, allocations: 3.938 kB / 0.9326 GB, free: 18.89 MB / 0.7293 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: 3.8938010409474373] Failed to read output from testmodel.py, exit status != 0: 0.009408785030245781 0.017174137000000003 0.011069229 Calling exit ...