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/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.04436/0.04436, allocations: 9.13 MB / 19.04 MB, free: 0.6562 MB / 18.57 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006944/0.0513, allocations: 3.421 MB / 22.46 MB, free: 3.723 MB / 24.77 MB " [Timeout remaining time 180] 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.0006342/0.0006342, allocations: 87.12 kB / 23.31 MB, free: 2.887 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.001811, allocations: 455 kB / 23.76 MB, free: 2.445 MB / 24.77 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.0007839/0.0007839, allocations: 152.8 kB / 24.65 MB, free: 1.551 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002025, allocations: 475.2 kB / 25.12 MB, free: 1.086 MB / 24.77 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.9001/0.9001, allocations: 177.2 MB / 203 MB, free: 8.25 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1612/1.061, allocations: 53.67 MB / 256.7 MB, free: 5.297 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003595/0.003595, allocations: 0.8372 MB / 258.3 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.005094, allocations: 0.6586 MB / 259 MB, free: 3.164 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.71/1.71, allocations: 275 MB / 0.5222 GB, free: 1.047 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.131/1.841, allocations: 78.9 MB / 0.5993 GB, free: 2.164 MB / 0.573 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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.242e-06/1.242e-06, allocations: 0 / 0.6006 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.843e-05, allocations: 5.125 kB / 0.6006 GB, free: 0.793 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.ModularReversible.Controls.Defrost.OptimalDefrostTimeWangEtAl): time 0.001737/0.001755, allocations: 1.258 MB / 0.6018 GB, free: 15.53 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.002918, allocations: 1.315 MB / 0.6031 GB, free: 14.2 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.002983, allocations: 4 kB / 0.6031 GB, free: 14.19 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.003029, allocations: 15.8 kB / 0.6031 GB, free: 14.18 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.003163, allocations: 31.78 kB / 0.6032 GB, free: 14.14 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 8.904e-05/0.003253, allocations: 51.81 kB / 0.6032 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.003379, allocations: 128.2 kB / 0.6033 GB, free: 13.97 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.00353, allocations: 74.28 kB / 0.6034 GB, free: 13.89 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.00363, allocations: 95.73 kB / 0.6035 GB, free: 13.8 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003736, allocations: 47.8 kB / 0.6035 GB, free: 13.75 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.003761, allocations: 16 kB / 0.6036 GB, free: 13.74 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.003851, allocations: 27.98 kB / 0.6036 GB, free: 13.71 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.003903, allocations: 35.86 kB / 0.6036 GB, free: 13.68 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.003935, allocations: 31.88 kB / 0.6036 GB, free: 13.64 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.0041, allocations: 115.5 kB / 0.6038 GB, free: 13.53 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.004115, allocations: 0 / 0.6038 GB, free: 13.53 MB / 0.5887 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004116, allocations: 4 kB / 0.6038 GB, free: 13.53 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.004125, allocations: 0 / 0.6038 GB, free: 13.53 MB / 0.5887 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.1/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.1/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.1/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({0.442929753, -0.00703658239, 7.32505699e-5, -3.37264259e-6}, 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({0.581825389, -0.00880317871, 6.18167285e-4, -7.75483854e-7}, 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({0.824762543, -0.0190727602, 0.00119709272, 2.15230362e-5}, 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.2923200614750385]