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.0007336/0.0007336, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0007748/0.0007748, allocations: 169.9 kB / 22.46 MB, free: 2.098 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.8347/0.8347, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.03589/0.03589, allocations: 9.128 MB / 268.4 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.0003936/0.0003936, allocations: 31.88 kB / 327.9 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.491/1.491, allocations: 275.1 MB / 0.6469 GB, free: 2.824 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: "" <> buildModelFMU(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost,fileNamePrefix="AixLib_AixLib_Fluid_HeatPumps_ModularReversible_Controls_Defrost_ZhuTimeBasedDefrost",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost,fileNamePrefix="AixLib_AixLib_Fluid_HeatPumps_ModularReversible_Controls_Defrost_ZhuTimeBasedDefrost",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9282 GB, free: 21.2 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.138e-05, allocations: 5.234 kB / 0.9282 GB, free: 21.19 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.ZhuTimeBasedDefrost): time 0.002479/0.0025, allocations: 1.87 MB / 0.9301 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.003297, allocations: 499.1 kB / 0.9305 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.003371, allocations: 2.781 kB / 0.9305 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/0.003431, allocations: 17.52 kB / 0.9305 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.003709, allocations: 33.83 kB / 0.9306 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.00381, allocations: 46.59 kB / 0.9306 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.003972, allocations: 143.1 kB / 0.9308 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.004169, allocations: 76.5 kB / 0.9308 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.00429, allocations: 102.7 kB / 0.9309 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004401, allocations: 54.81 kB / 0.931 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.004429, allocations: 19.16 kB / 0.931 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.004516, allocations: 26.5 kB / 0.931 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.004594, allocations: 45.48 kB / 0.9311 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.004652, allocations: 49.08 kB / 0.9311 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.004928, allocations: 182.4 kB / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004932, allocations: 0.5156 kB / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.793e-06/0.004934, allocations: 0 / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.004942, allocations: 0 / 0.9313 GB, free: 19.23 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.7109604431316257] Failed to read output from testmodel.py, exit status != 0: 0.01166931726038456 0.021141746000000003 0.014325822 Calling exit ...