Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.046/5.046, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002494/0.002494, allocations: 357.1 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.326/4.326, allocations: 410.7 MB / 1.113 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002591/0.002591, allocations: 188.8 kB / 1.226 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005476, allocations: 16 kB / 1.349 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7712, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.006762/0.778, allocations: 2.419 MB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005428/0.7835, allocations: 1.5 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.7842, allocations: 8.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.7864, allocations: 275.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.7876, allocations: 146 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01405/0.8016, allocations: 276.6 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.8029, allocations: 0.6363 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007975/0.8037, allocations: 379.4 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.804, allocations: 211.1 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.8045, allocations: 231.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.8046, allocations: 23.94 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.8049, allocations: 73.42 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.8051, allocations: 147.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.8053, allocations: 133.3 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008817/0.8062, allocations: 0.5359 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8062, allocations: 1.219 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.654e-06/0.8063, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8063, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 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.001931/0.8082, allocations: 0.8825 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.8083, allocations: 15.62 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.8164, allocations: 89.36 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.8175, allocations: 468 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-05/0.8176, allocations: 41.31 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.8178, allocations: 60 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.8195, allocations: 0.5983 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.8196, allocations: 5 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.8197, allocations: 27.98 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.8197, allocations: 17.31 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006109/0.8258, allocations: 385.8 kB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009067/0.835, allocations: 2.573 MB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.8365, allocations: 280.3 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.837, allocations: 145.2 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.8371, allocations: 4 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006866/0.8378, allocations: 211.7 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=39): time 5.17e-06/0.8378, allocations: 0 / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.001625/0.8395, allocations: 454 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.8395, allocations: 89.03 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/0.8432, allocations: 0.628 MB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.8434, allocations: 45.7 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.8439, allocations: 360.4 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.844, allocations: 98.73 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.8441, allocations: 12 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8442, allocations: 378.8 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.8446, allocations: 129.2 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.8451, allocations: 334.7 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.8455, allocations: 145 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.8456, allocations: 4 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001154/0.8467, allocations: 0.5063 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.8468, allocations: 9.75 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.8468, allocations: 7.984 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.8468, allocations: 15.95 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.8472, allocations: 67.84 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.8473, allocations: 18.06 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.8476, allocations: 59.52 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.8477, allocations: 28 kB / 1.477 GB, free: 267.9 MB / 0.8542 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,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,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.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.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked 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.0004376/0.8482, allocations: 266 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8483, allocations: 64.16 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.8493, allocations: 403.8 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.8494, allocations: 5.422 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.8494, allocations: 13.03 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.8495, allocations: 132.2 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8496, allocations: 15.98 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.8499, allocations: 12.94 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8501, allocations: 53.88 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009056/0.851, allocations: 431.9 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008517/0.8518, allocations: 0.5488 MB / 1.479 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000332/0.8522, allocations: 159.8 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006049/0.8528, allocations: 411 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of Backend: time 8.02e-07/0.8528, allocations: 0 / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.855, allocations: 0.6658 MB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002406/0.8575, allocations: 1.675 MB / 1.482 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01658/0.8741, allocations: 5.065 MB / 1.487 GB, free: 258.5 MB / 0.8542 GB