Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones.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.001034/0.001034, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002445, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001102/0.001102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002748, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.064/1.064, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08329/1.148, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06552/0.06552, allocations: 18.12 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01118/0.07671, allocations: 6.781 MB / 268.9 MB, free: 6.355 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones") translateModel(AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0 / 270.6 MB, free: 4.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.921e-05, allocations: 2.312 kB / 270.6 MB, free: 4.652 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/HVAC/StratifiedTank_2zones.mo:4:3-4:45:writable] Warning: The model can't be instantiated due to top-level outer element 'system', it may only be used as part of a simulation model. [Non-standard Modelica: --allowNonStandardModelica=nonStdTopLevelOuter] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/HVAC/StratifiedTank_2zones.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/HVAC/StratifiedTank_2zones.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones): time 0.002364/0.002393, allocations: 1.714 MB / 272.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002143/0.002607, allocations: 135.4 kB / 272.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.002641, allocations: 0 / 272.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.002679, allocations: 15.86 kB / 272.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.002764, allocations: 39.64 kB / 272.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.754e-05/0.002841, allocations: 39.84 kB / 272.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.002975, allocations: 167.2 kB / 272.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.003116, allocations: 78.17 kB / 272.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.003248, allocations: 123.8 kB / 272.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.003353, allocations: 75.75 kB / 272.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.003378, allocations: 8 kB / 272.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.003396, allocations: 12 kB / 273 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.003421, allocations: 23.94 kB / 273 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.00353, allocations: 35.94 kB / 273 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003656, allocations: 79.73 kB / 273.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.00367, allocations: 0 / 273.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00367, allocations: 0 / 273.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.003682, allocations: 4 kB / 273.1 MB, free: 2.094 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005123/0.004195, allocations: 376 kB / 273.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.004223, allocations: 15.97 kB / 273.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.004264, allocations: 24.92 kB / 273.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.312e-05/0.004358, allocations: 125.3 kB / 273.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.004427, allocations: 54.25 kB / 273.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.004451, allocations: 4.375 kB / 273.7 MB, free: 1.453 MB / 266.7 MB Error: An independent subset of the model has imbalanced number of equations (16) and variables (15). variables: Ecold Ehot Mcold Mhot Tcold Thot lcold coldIn.h coldIn.w hotOut.h hotOut.w coldOut.h coldOut.w hotIn.h hotIn.w equations: 1 : hotIn.w = 0.0 2 : coldOut.w = 0.0 3 : hotOut.w = 0.0 4 : coldIn.w = 0.0 5 : 0.0 = coldIn.w + coldOut.w + hotIn.w + hotOut.w 6 : Mcold = ro * Abase * lcold 7 : Mhot = ro * Abase * (H - lcold) 8 : Ecold = Mcold * cp * Tcold 9 : Ehot = Mhot * cp * Thot 10 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then hotOut.h - cp * Thot else if lcold > H and coldIn.w + coldOut.w > 0.0 then hotOut.h - cp * Tcold else hotOut.h - cp * Thot 11 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then hotIn.h - cp * Thot else if lcold > H and coldIn.w + coldOut.w > 0.0 then hotIn.h - cp * Tcold else hotIn.h - cp * Thot 12 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then coldOut.h - cp * Thot else if lcold > H and coldIn.w + coldOut.w > 0.0 then coldOut.h - cp * Tcold else coldOut.h - cp * Tcold 13 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then coldIn.h - cp * Thot else if lcold > H and coldIn.w + coldOut.w > 0.0 then coldIn.h - cp * Tcold else coldIn.h - cp * Tcold 14 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then der(Ehot) - (smooth(0, hotIn.w * hotIn.h) + smooth(0, hotOut.w * hotOut.h) + smooth(0, coldIn.w * coldIn.h) + smooth(0, coldOut.w * coldOut.h)) else if lcold > H and coldIn.w + coldOut.w > 0.0 then der(Ehot) else der(Ehot) - (smooth(0, hotIn.w * hotIn.h) + smooth(0, hotOut.w * hotOut.h) + Gmix * (Tcold - Thot)) 15 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then der(Ecold) else if lcold > H and coldIn.w + coldOut.w > 0.0 then der(Ecold) - (smooth(0, coldIn.w * coldIn.h) + smooth(0, coldOut.w * coldOut.h) + smooth(0, hotIn.w * hotIn.h) + smooth(0, hotOut.w * hotOut.h)) else der(Ecold) - (smooth(0, coldIn.w * coldIn.h) + smooth(0, coldOut.w * coldOut.h) + Gmix * (Thot - Tcold)) 16 : 0.0 = if lcold < 0.0 and coldIn.w + coldOut.w < 0.0 then der(Mcold) else if lcold > H and coldIn.w + coldOut.w > 0.0 then der(Mcold) else der(Mcold) - (coldIn.w + coldOut.w) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0003266/0.004778, allocations: 343.1 kB / 274 MB, free: 1.121 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5703174769878387]