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.0009331/0.0009331, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002427, allocations: 440 kB / 10.41 MB, free: 284 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.001222/0.001222, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004051/0.005273, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.021/1.021, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09057/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.06975/0.06975, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01177/0.08152, allocations: 6.789 MB / 269.1 MB, free: 6.234 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 3.897e-06/3.897e-06, allocations: 0 / 270.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.238e-05, allocations: 6.25 kB / 270.8 MB, free: 4.504 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.002476/0.002508, allocations: 1.729 MB / 272.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.002768, allocations: 127.4 kB / 272.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.00281, allocations: 0 / 272.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.002855, allocations: 11.86 kB / 272.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.002947, allocations: 43.62 kB / 272.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.16e-05/0.003039, allocations: 47.84 kB / 272.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.00318, allocations: 163.2 kB / 272.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.003318, allocations: 78.17 kB / 273 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.003463, allocations: 123.7 kB / 273.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.003574, allocations: 67.83 kB / 273.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.003599, allocations: 12 kB / 273.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.00362, allocations: 12 kB / 273.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.003648, allocations: 19.94 kB / 273.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.003681, allocations: 35.94 kB / 273.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.003809, allocations: 91.72 kB / 273.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.00382, allocations: 0 / 273.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003821, allocations: 0 / 273.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.00383, allocations: 0 / 273.3 MB, free: 1.938 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.0005209/0.004351, allocations: 380 kB / 273.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.004383, allocations: 11.97 kB / 273.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.004428, allocations: 20.92 kB / 273.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.004526, allocations: 125.6 kB / 273.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.004597, allocations: 46.25 kB / 273.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.004626, allocations: 12.38 kB / 273.9 MB, free: 1.297 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.0003395/0.004966, allocations: 335.9 kB / 274.2 MB, free: 0.9648 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6275963494554162]