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 4.615/4.615, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002348/0.002347, allocations: 356.3 kB / 0.644 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 3.898/3.898, allocations: 410.7 MB / 1.112 GB, free: 5.922 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.001778/0.001778, allocations: 187.8 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005072, allocations: 19.98 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5771, 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.002822/0.5799, allocations: 2.427 MB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.5822, allocations: 1.492 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.5824, allocations: 11.94 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.5832, allocations: 277 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.5836, allocations: 144 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.5844, allocations: 272.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.5849, allocations: 0.6402 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.5854, allocations: 380.8 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.5856, allocations: 211.1 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.5859, allocations: 230.9 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.586, allocations: 20 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.5862, allocations: 62.33 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.5863, allocations: 159.4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.5864, allocations: 133.3 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.5869, allocations: 0.5282 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.449e-06/0.5869, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.624e-06/0.587, allocations: 4 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.964e-06/0.587, allocations: 1.031 kB / 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.001172/0.5882, allocations: 0.8822 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5882, allocations: 11.62 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.5883, allocations: 96.11 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.589, allocations: 464 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.589, allocations: 45.3 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.5891, allocations: 60.84 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.5901, allocations: 0.5987 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.5901, allocations: 8.656 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.5902, allocations: 27.92 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5902, allocations: 18.09 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.591, allocations: 374 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.5934, allocations: 2.573 MB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.5941, allocations: 277.9 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.5944, allocations: 143.3 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.5944, allocations: 11.97 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.5948, allocations: 211.5 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=39): time 4.169e-06/0.5948, allocations: 2.531 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.0009522/0.5958, allocations: 458.4 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.5959, allocations: 81.11 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.5965, allocations: 0.6309 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.5966, allocations: 45.7 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.5968, allocations: 360.4 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.5969, allocations: 98.73 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.597, allocations: 12 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5971, allocations: 375.7 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.5974, allocations: 137.2 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.5978, allocations: 326.1 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.5981, allocations: 145 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5981, allocations: 4 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009291/0.5991, allocations: 0.5145 MB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5991, allocations: 9.5 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5991, allocations: 4 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.5992, allocations: 15.95 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.5995, allocations: 75.77 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.5995, allocations: 13.31 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.5998, allocations: 55.52 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.5999, allocations: 33.53 kB / 1.476 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.0003168/0.6002, allocations: 262.8 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.6003, allocations: 71.14 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.6011, allocations: 401 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-06/0.6011, allocations: 7.953 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-06/0.6011, allocations: 0 / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.562e-06/0.6011, allocations: 6.562 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.6027, allocations: 1.041 MB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.454e-06/0.6027, allocations: 8.391 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.6029, allocations: 29.08 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-06/0.6029, allocations: 0 / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.6029, allocations: 8 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.603, allocations: 8 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-06/0.603, allocations: 0.9062 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.6037, allocations: 474.5 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6038, allocations: 155 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.6039, allocations: 8 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.6041, allocations: 15.98 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6042, allocations: 39.94 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.6043, allocations: 19.98 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004537/0.6048, allocations: 407 kB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.51e-07/0.6048, allocations: 7.719 kB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006183/0.6054, allocations: 127.7 kB / 1.479 GB, free: 264.8 MB / 0.8542 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.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: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.001445/0.6069, allocations: 440.2 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007815/0.6077, allocations: 380.2 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.6077, allocations: 0 / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.608, allocations: 177.5 kB / 1.48 GB, free: 264 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.6087, allocations: 83.59 kB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.6105, allocations: 1.273 MB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.611, allocations: 0.9407 MB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.6113, allocations: 84.16 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6114, allocations: 47.42 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.654e-06/0.6114, allocations: 0 / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01418/0.6256, allocations: 4.965 MB / 1.488 GB, free: 256.9 MB / 0.8542 GB