Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009694/0.0009696, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 251.9 MB / 0.51 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005183, allocations: 19.28 kB / 0.6241 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.648, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003703/0.6517, allocations: 2.481 MB / 0.7304 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.6542, allocations: 1.518 MB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.6544, allocations: 15.88 kB / 0.7319 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008593/0.6553, allocations: 274.9 kB / 0.7322 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.6557, allocations: 163.6 kB / 0.7323 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.6564, allocations: 277.3 kB / 0.7326 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.657, allocations: 464.5 kB / 0.733 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.6575, allocations: 375.4 kB / 0.7334 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.6577, allocations: 219.1 kB / 0.7336 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.658, allocations: 218.9 kB / 0.7338 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.658, allocations: 24 kB / 0.7338 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.6582, allocations: 55.97 kB / 0.7339 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.6584, allocations: 159.4 kB / 0.734 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.6585, allocations: 137.3 kB / 0.7342 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.659, allocations: 0.5397 MB / 0.7347 GB, free: 4.488 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6591, allocations: 4 kB / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6591, allocations: 4 kB / 0.7347 GB, free: 4.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.6591, allocations: 0 / 0.7347 GB, free: 4.48 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001398/0.6605, allocations: 0.8886 MB / 0.7356 GB, free: 3.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6605, allocations: 8.031 kB / 0.7356 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.6607, allocations: 90.92 kB / 0.7357 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.6613, allocations: 460 kB / 0.7361 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.6614, allocations: 75.02 kB / 0.7362 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.6615, allocations: 63.98 kB / 0.7362 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008565/0.6624, allocations: 0.5974 MB / 0.7368 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6624, allocations: 7.938 kB / 0.7368 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.6625, allocations: 20 kB / 0.7368 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.6625, allocations: 16 kB / 0.7369 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.6631, allocations: 379.6 kB / 0.7372 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.6656, allocations: 2.584 MB / 0.7397 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.6662, allocations: 270.9 kB / 0.74 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.6663, allocations: 4.594 kB / 0.74 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.6666, allocations: 221.8 kB / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.255e-06/0.6667, allocations: 0 / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008205/0.6675, allocations: 437.9 kB / 0.7406 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6675, allocations: 85.11 kB / 0.7407 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.6683, allocations: 0.6285 MB / 0.7413 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.6683, allocations: 45.7 kB / 0.7414 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.6686, allocations: 368.2 kB / 0.7417 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/0.6687, allocations: 106.8 kB / 0.7418 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6687, allocations: 8 kB / 0.7418 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6689, allocations: 386.8 kB / 0.7422 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.6692, allocations: 129.2 kB / 0.7423 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.6696, allocations: 339.8 kB / 0.7426 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.6698, allocations: 152.7 kB / 0.7428 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6699, allocations: 0 / 0.7428 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007937/0.6707, allocations: 0.5267 MB / 0.7433 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.6707, allocations: 14.14 kB / 0.7433 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6707, allocations: 8 kB / 0.7433 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.6707, allocations: 11.98 kB / 0.7433 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.671, allocations: 75.78 kB / 0.7434 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.671, allocations: 12 kB / 0.7434 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.6713, allocations: 63.36 kB / 0.7435 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.6713, allocations: 28 kB / 0.7435 GB, free: 10.99 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,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,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.000322/0.6716, allocations: 274.9 kB / 0.7438 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6718, allocations: 63.25 kB / 0.7438 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/0.6724, allocations: 398.7 kB / 0.7442 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6724, allocations: 4 kB / 0.7442 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6724, allocations: 0 / 0.7442 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6725, allocations: 0 / 0.7442 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.6738, allocations: 1.047 MB / 0.7452 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6738, allocations: 3.938 kB / 0.7452 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.6739, allocations: 23.92 kB / 0.7453 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6739, allocations: 0 / 0.7453 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.674, allocations: 19.98 kB / 0.7453 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.674, allocations: 4 kB / 0.7453 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.674, allocations: 0 / 0.7453 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.6746, allocations: 470.6 kB / 0.7457 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6747, allocations: 148.2 kB / 0.7459 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.6748, allocations: 8 kB / 0.7459 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6749, allocations: 11.98 kB / 0.7459 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.6751, allocations: 47.69 kB / 0.7459 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.6751, allocations: 19.98 kB / 0.746 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004188/0.6755, allocations: 411 kB / 0.7464 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6755, allocations: 0 / 0.7464 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004858/0.676, allocations: 139.6 kB / 0.7465 GB, free: 7.828 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001033/0.6771, allocations: 450 kB / 0.7469 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.6777, allocations: 386.3 kB / 0.7473 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6777, allocations: 0 / 0.7473 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.678, allocations: 171.9 kB / 0.7474 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.6784, allocations: 88.05 kB / 0.7475 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.6802, allocations: 1.266 MB / 0.7488 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.6807, allocations: 0.9457 MB / 0.7497 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.681, allocations: 80.38 kB / 0.7498 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6811, allocations: 43.42 kB / 0.7498 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.6811, allocations: 0 / 0.7498 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.01077/0.6919, allocations: 4.949 MB / 0.7546 GB, free: 15.61 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) Environment - environmentSimulation: