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.0007961/0.000796, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008429/0.0008429, allocations: 172.7 kB / 15.95 MB, free: 208 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.633/1.633, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.563/1.563, allocations: 252 MB / 0.5102 GB, free: 4.766 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.0005375/0.0005377, allocations: 16 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5418, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003539/0.5454, allocations: 2.52 MB / 0.7306 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.5481, allocations: 1.53 MB / 0.7321 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.5484, allocations: 11.94 kB / 0.7321 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.5491, allocations: 278.8 kB / 0.7324 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.5495, allocations: 154.4 kB / 0.7325 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.5502, allocations: 287.5 kB / 0.7328 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.5509, allocations: 0.6443 MB / 0.7334 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.5514, allocations: 387.3 kB / 0.7338 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.5516, allocations: 215.1 kB / 0.734 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.5519, allocations: 230.9 kB / 0.7342 GB, free: 5.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.552, allocations: 20 kB / 0.7342 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.5521, allocations: 71.91 kB / 0.7343 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.5523, allocations: 155.4 kB / 0.7344 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.5524, allocations: 133.3 kB / 0.7346 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.5529, allocations: 0.5397 MB / 0.7351 GB, free: 4.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5529, allocations: 0 / 0.7351 GB, free: 4.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.553, allocations: 0 / 0.7351 GB, free: 4.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.553, allocations: 4 kB / 0.7351 GB, free: 4.219 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.001233/0.5542, allocations: 0.8847 MB / 0.736 GB, free: 3.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5543, allocations: 11.97 kB / 0.736 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.5544, allocations: 90.92 kB / 0.7361 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.555, allocations: 468 kB / 0.7365 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.5551, allocations: 71.02 kB / 0.7366 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.5552, allocations: 60 kB / 0.7366 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.556, allocations: 0.6052 MB / 0.7372 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5561, allocations: 3.938 kB / 0.7372 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.5561, allocations: 24 kB / 0.7373 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.5561, allocations: 12 kB / 0.7373 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.5568, allocations: 379.6 kB / 0.7376 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.5591, allocations: 2.58 MB / 0.7401 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.5596, allocations: 288.8 kB / 0.7404 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.5599, allocations: 132.7 kB / 0.7405 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.5599, allocations: 8 kB / 0.7406 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003685/0.5603, allocations: 217.7 kB / 0.7408 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.444e-06/0.5603, allocations: 0 / 0.7408 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0007817/0.5611, allocations: 445.8 kB / 0.7412 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.5612, allocations: 81.11 kB / 0.7413 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.5618, allocations: 0.6248 MB / 0.7419 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.5619, allocations: 41.7 kB / 0.7419 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5621, allocations: 380.1 kB / 0.7423 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.5622, allocations: 98.8 kB / 0.7424 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.5622, allocations: 16 kB / 0.7424 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5624, allocations: 378.8 kB / 0.7427 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.5627, allocations: 133.2 kB / 0.7429 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.563, allocations: 339.8 kB / 0.7432 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.5633, allocations: 152.7 kB / 0.7433 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5633, allocations: 4 kB / 0.7433 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007882/0.5641, allocations: 0.5227 MB / 0.7439 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5642, allocations: 11.95 kB / 0.7439 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5642, allocations: 11.98 kB / 0.7439 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5642, allocations: 8 kB / 0.7439 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5644, allocations: 75.84 kB / 0.744 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.5645, allocations: 15.92 kB / 0.744 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5647, allocations: 59.38 kB / 0.744 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.5647, allocations: 28 kB / 0.7441 GB, free: 10.57 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.0003065/0.5651, allocations: 279 kB / 0.7443 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.5651, allocations: 63.25 kB / 0.7444 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.5659, allocations: 402.7 kB / 0.7448 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.566, allocations: 4 kB / 0.7448 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.566, allocations: 0 / 0.7448 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.566, allocations: 4 kB / 0.7448 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.5674, allocations: 1.035 MB / 0.7458 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5674, allocations: 0 / 0.7458 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5675, allocations: 27.92 kB / 0.7458 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5676, allocations: 0 / 0.7458 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.5676, allocations: 11.98 kB / 0.7458 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5676, allocations: 4 kB / 0.7458 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5676, allocations: 0 / 0.7458 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.5682, allocations: 478.5 kB / 0.7463 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5683, allocations: 144.2 kB / 0.7464 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.5684, allocations: 12 kB / 0.7464 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.5685, allocations: 11.98 kB / 0.7464 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5687, allocations: 47.69 kB / 0.7465 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.5687, allocations: 15.98 kB / 0.7465 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004394/0.5691, allocations: 415 kB / 0.7469 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5691, allocations: 7.875 kB / 0.7469 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005432/0.5697, allocations: 135.6 kB / 0.747 GB, free: 7.41 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.001013/0.5707, allocations: 441.8 kB / 0.7475 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007114/0.5714, allocations: 386.2 kB / 0.7478 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5715, allocations: 0 / 0.7478 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.5717, allocations: 167.9 kB / 0.748 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.5724, allocations: 96.11 kB / 0.7481 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.5745, allocations: 1.293 MB / 0.7493 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.5751, allocations: 0.9263 MB / 0.7502 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002912/0.5754, allocations: 84.36 kB / 0.7503 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5755, allocations: 47.42 kB / 0.7504 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.5756, allocations: 0 / 0.7504 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.01188/0.5874, allocations: 4.951 MB / 0.7552 GB, free: 15.18 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: