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.0008195/0.0008195, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002021, allocations: 455.9 kB / 10.43 MB, free: 260 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.0007903/0.0007903, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001859, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.041/1.041, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08889/1.13, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.09093/0.09093, allocations: 18.13 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009977/0.1009, allocations: 6.786 MB / 269.1 MB, free: 6.242 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 1.603e-06/1.603e-06, allocations: 0 / 270.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.406e-05, allocations: 9.625 kB / 270.8 MB, free: 4.516 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.002021/0.002045, allocations: 1.722 MB / 272.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.002302, allocations: 131.4 kB / 272.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.002335, allocations: 0 / 272.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.002367, allocations: 15.86 kB / 272.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.002479, allocations: 43.62 kB / 272.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.569e-05/0.002554, allocations: 35.92 kB / 272.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.002685, allocations: 171.2 kB / 272.9 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.002816, allocations: 86.11 kB / 273 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.002936, allocations: 115.8 kB / 273.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.003095, allocations: 71.81 kB / 273.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.003121, allocations: 15.94 kB / 273.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.003138, allocations: 8 kB / 273.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.003166, allocations: 27.92 kB / 273.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.003203, allocations: 35.94 kB / 273.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003321, allocations: 87.67 kB / 273.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.003332, allocations: 0 / 273.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003333, allocations: 4 kB / 273.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.003339, allocations: 4 kB / 273.3 MB, free: 1.934 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.0005374/0.003877, allocations: 372 kB / 273.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.003903, allocations: 12.03 kB / 273.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.003945, allocations: 20.92 kB / 273.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/0.004021, allocations: 121.7 kB / 273.9 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.004087, allocations: 50.25 kB / 273.9 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.00411, allocations: 12.31 kB / 273.9 MB, free: 1.301 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.000312/0.004422, allocations: 336.3 kB / 274.2 MB, free: 0.9688 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6116674598306417]