Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.289/2.289, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 190.5 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 112.2 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 53.44 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2569, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003666/0.2606, allocations: 2.879 MB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2628, allocations: 1.677 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.2631, allocations: 11.94 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.264, allocations: 291.3 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.2644, allocations: 159 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.2651, allocations: 327.5 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.2657, allocations: 0.7066 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.2661, allocations: 438.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.2663, allocations: 251 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2665, allocations: 282.6 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.2666, allocations: 36 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2667, allocations: 83.91 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2669, allocations: 183.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2671, allocations: 313.9 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.2675, allocations: 0.7201 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2676, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2676, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2676, allocations: 3.938 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001222/0.2688, allocations: 1.027 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2688, allocations: 11.98 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.269, allocations: 87.91 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.2695, allocations: 488.8 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.2695, allocations: 49.69 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.2696, allocations: 67.92 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.2703, allocations: 0.6169 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2703, allocations: 3.938 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2703, allocations: 24 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2704, allocations: 12 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.2709, allocations: 371.6 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2726, allocations: 2.607 MB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.2732, allocations: 377 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2734, allocations: 173.1 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.2734, allocations: 8 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.2738, allocations: 289.4 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 2.815e-06/0.2738, allocations: 4 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.0008692/0.2747, allocations: 0.4951 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.2748, allocations: 225.6 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.2752, allocations: 0.608 MB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.2753, allocations: 53.69 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2754, allocations: 344.6 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.2755, allocations: 110.6 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.2756, allocations: 154.2 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.2757, allocations: 382.8 kB / 1.235 GB, free: 99.85 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.2759, allocations: 145.2 kB / 1.235 GB, free: 99.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.2762, allocations: 342.9 kB / 1.235 GB, free: 99.29 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.2766, allocations: 429 kB / 1.235 GB, free: 98.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2766, allocations: 8 kB / 1.235 GB, free: 98.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006425/0.2773, allocations: 0.5383 MB / 1.236 GB, free: 98.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2773, allocations: 9.25 kB / 1.236 GB, free: 98.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2773, allocations: 8 kB / 1.236 GB, free: 98.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.2774, allocations: 8 kB / 1.236 GB, free: 98.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.2776, allocations: 75.77 kB / 1.236 GB, free: 98.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.2776, allocations: 15.94 kB / 1.236 GB, free: 98.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2778, allocations: 59.42 kB / 1.236 GB, free: 98.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.2779, allocations: 28 kB / 1.236 GB, free: 98.04 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.2781, allocations: 281.7 kB / 1.236 GB, free: 97.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.2782, allocations: 59.25 kB / 1.236 GB, free: 97.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.2787, allocations: 403.2 kB / 1.237 GB, free: 97.29 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2788, allocations: 7.938 kB / 1.237 GB, free: 97.28 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2788, allocations: 15.88 kB / 1.237 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2788, allocations: 3.984 kB / 1.237 GB, free: 97.26 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2799, allocations: 1.071 MB / 1.238 GB, free: 96.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2799, allocations: 3.938 kB / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.28, allocations: 23.92 kB / 1.238 GB, free: 96.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.28, allocations: 7.938 kB / 1.238 GB, free: 96.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.2801, allocations: 15.98 kB / 1.238 GB, free: 96.08 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2801, allocations: 8 kB / 1.238 GB, free: 96.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2801, allocations: 0 / 1.238 GB, free: 96.07 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/0.281, allocations: 1.329 MB / 1.239 GB, free: 94.67 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.2811, allocations: 136.2 kB / 1.239 GB, free: 94.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.2812, allocations: 19.94 kB / 1.239 GB, free: 94.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2813, allocations: 23.97 kB / 1.239 GB, free: 94.47 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2814, allocations: 43.88 kB / 1.239 GB, free: 94.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.2815, allocations: 23.98 kB / 1.24 GB, free: 94.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003151/0.2818, allocations: 402.8 kB / 1.24 GB, free: 94.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2818, allocations: 0 / 1.24 GB, free: 94.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005662/0.2824, allocations: 143.6 kB / 1.24 GB, free: 93.88 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008948/0.2833, allocations: 447.4 kB / 1.24 GB, free: 93.59 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.2838, allocations: 413.5 kB / 1.241 GB, free: 93.18 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2838, allocations: 0 / 1.241 GB, free: 93.18 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.2841, allocations: 204.3 kB / 1.241 GB, free: 92.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.2846, allocations: 89.72 kB / 1.241 GB, free: 92.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.2861, allocations: 1.624 MB / 1.243 GB, free: 91.21 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2864, allocations: 0.9368 MB / 1.244 GB, free: 90.25 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.2866, allocations: 88.34 kB / 1.244 GB, free: 90.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.2867, allocations: 47.42 kB / 1.244 GB, free: 90.12 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.2867, allocations: 0 / 1.244 GB, free: 90.12 MB / 0.823 GB Notification: Performance of Templates: time 0.009237/0.2959, allocations: 5.493 MB / 1.249 GB, free: 84.67 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)