Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build 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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002913/0.0002913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.005898/0.006189, allocations: 0 / 0, free: 0 / 0 " [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.0002294/0.0002294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.004027/0.004257, allocations: 0 / 0, free: 0 / 0 " [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.1078/0.1078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04032/0.1481, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0105/0.0105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.004941/0.01544, allocations: 0 / 0, free: 0 / 0 " [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: simulate(AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.StratifiedTank_2zones",simflags="-lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.02e-07/6.02e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.776e-05, allocations: 0 / 0, free: 0 / 0 [/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.002363/0.002391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0003865/0.002778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.002817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.002859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000124/0.002983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.003122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.003556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.003674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.003705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 4.619e-05/0.003751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.003786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.003836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.003961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.168e-05/0.003983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.066e-06/0.003986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.549e-06/0.00399, allocations: 0 / 0, free: 0 / 0 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.000515/0.004505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.004561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.00461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.004689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.004794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.004827, allocations: 0 / 0, free: 0 / 0 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.0004019/0.005228, allocations: 0 / 0, free: 0 / 0 Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.5959965800866485]