Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 184.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008217/0.0008217, allocations: 80.52 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.73e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5456, allocations: 116.3 MB / 0.9733 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.718, allocations: 145.9 MB / 1.116 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.7183, allocations: 96.73 kB / 1.116 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03341/0.7517, allocations: 14.05 MB / 1.13 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7518, allocations: 0 / 1.13 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.7518, allocations: 16 kB / 1.13 GB, free: 6.074 MB / 0.7292 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.0009757/0.7528, allocations: 0.8212 MB / 1.13 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.7528, allocations: 12.03 kB / 1.13 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.753, allocations: 90.91 kB / 1.131 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.7536, allocations: 440.1 kB / 1.131 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.7536, allocations: 23.98 kB / 1.131 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.7537, allocations: 36 kB / 1.131 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000512/0.7542, allocations: 322.5 kB / 1.131 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.7549, allocations: 0.5214 MB / 1.132 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.755, allocations: 3.938 kB / 1.132 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.755, allocations: 7.953 kB / 1.132 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.755, allocations: 12 kB / 1.132 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.7571, allocations: 2.454 MB / 1.134 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.7576, allocations: 267 kB / 1.134 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.7578, allocations: 124.8 kB / 1.135 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.7578, allocations: 4 kB / 1.135 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.7581, allocations: 197.5 kB / 1.135 GB, free: 496 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/0.7581, allocations: 2.812 kB / 1.135 GB, free: 496 kB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0004869/0.7586, allocations: 326.2 kB / 1.135 GB, free: 164 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.7586, allocations: 89.11 kB / 1.135 GB, free: 56 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.7592, allocations: 0.5215 MB / 1.136 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.7592, allocations: 37.7 kB / 1.136 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.7594, allocations: 364.3 kB / 1.136 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.7595, allocations: 94.86 kB / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.7596, allocations: 0 / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7597, allocations: 374.8 kB / 1.137 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.7599, allocations: 113.5 kB / 1.137 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.7602, allocations: 311.3 kB / 1.137 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.7604, allocations: 124.7 kB / 1.137 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7604, allocations: 3.938 kB / 1.137 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006323/0.7611, allocations: 455.5 kB / 1.137 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7611, allocations: 8.094 kB / 1.137 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7611, allocations: 12 kB / 1.138 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7611, allocations: 8 kB / 1.138 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.7614, allocations: 75.78 kB / 1.138 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.7614, allocations: 15.94 kB / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.7616, allocations: 27.69 kB / 1.138 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.7617, allocations: 35.98 kB / 1.138 GB, free: 13.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.7618, allocations: 146 kB / 1.138 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.7619, allocations: 63.23 kB / 1.138 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.7625, allocations: 369.6 kB / 1.138 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.7625, allocations: 4 kB / 1.138 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7625, allocations: 3.953 kB / 1.138 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.7625, allocations: 3.984 kB / 1.138 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.7638, allocations: 0.9622 MB / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.7638, allocations: 0 / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.7639, allocations: 27.92 kB / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.7639, allocations: 1.781 kB / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.7639, allocations: 11.94 kB / 1.139 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7639, allocations: 0 / 1.139 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7639, allocations: 3.562 kB / 1.139 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.7645, allocations: 458.6 kB / 1.14 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.7646, allocations: 140.2 kB / 1.14 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.7647, allocations: 4 kB / 1.14 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.7649, allocations: 11.94 kB / 1.14 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.765, allocations: 51.67 kB / 1.14 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.765, allocations: 16 kB / 1.14 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003798/0.7654, allocations: 382.9 kB / 1.14 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7654, allocations: 4 kB / 1.14 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004373/0.7658, allocations: 103.9 kB / 1.14 GB, free: 10.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,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: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008783/0.7667, allocations: 413.5 kB / 1.141 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.7673, allocations: 342.5 kB / 1.141 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7673, allocations: 0 / 1.141 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.7675, allocations: 163.8 kB / 1.141 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.768, allocations: 73.02 kB / 1.141 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.7692, allocations: 0.7648 MB / 1.142 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.7697, allocations: 0.9536 MB / 1.143 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00023/0.7699, allocations: 75.31 kB / 1.143 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.77, allocations: 51.42 kB / 1.143 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.77, allocations: 0 / 1.143 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of Templates: time 0.009839/0.7799, allocations: 5.021 MB / 1.148 GB, free: 2.934 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)