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.00175/0.00175, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002274/0.002275, allocations: 191.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.531/1.531, allocations: 251.7 MB / 0.5089 GB, free: 3.293 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.002551/0.002551, allocations: 63.91 kB / 0.6217 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5668, allocations: 104.7 MB / 0.724 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004537/0.5714, allocations: 2.978 MB / 0.7269 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.5741, allocations: 1.631 MB / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.5743, allocations: 7.938 kB / 0.7285 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009499/0.5754, allocations: 282.8 kB / 0.7288 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.5758, allocations: 163.3 kB / 0.7289 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.5765, allocations: 310.6 kB / 0.7292 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.5772, allocations: 0.7341 MB / 0.7299 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005457/0.5778, allocations: 474.2 kB / 0.7304 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.578, allocations: 271 kB / 0.7306 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.5783, allocations: 286.6 kB / 0.7309 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.499e-05/0.5784, allocations: 52 kB / 0.731 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.5786, allocations: 108 kB / 0.7311 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.5788, allocations: 207.3 kB / 0.7313 GB, free: 5.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.579, allocations: 322 kB / 0.7316 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.5798, allocations: 0.7629 MB / 0.7323 GB, free: 4.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5798, allocations: 0 / 0.7323 GB, free: 4.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5798, allocations: 0 / 0.7323 GB, free: 4.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.5798, allocations: 3.938 kB / 0.7323 GB, free: 4.645 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.001341/0.5811, allocations: 1.029 MB / 0.7333 GB, free: 3.559 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5812, allocations: 8.031 kB / 0.7333 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.5813, allocations: 87.91 kB / 0.7334 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.5819, allocations: 492.7 kB / 0.7339 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.582, allocations: 75.58 kB / 0.734 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.5821, allocations: 59.94 kB / 0.734 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.583, allocations: 0.613 MB / 0.7346 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5831, allocations: 4 kB / 0.7346 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.5831, allocations: 16 kB / 0.7346 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.5832, allocations: 16 kB / 0.7347 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.5838, allocations: 387.5 kB / 0.735 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.5864, allocations: 2.576 MB / 0.7375 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.587, allocations: 280.9 kB / 0.7378 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.5872, allocations: 136.7 kB / 0.7379 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5873, allocations: 4 kB / 0.7379 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003727/0.5876, allocations: 205.8 kB / 0.7381 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.5877, allocations: 0 / 0.7381 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0009517/0.5886, allocations: 457.5 kB / 0.7386 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.5887, allocations: 81.11 kB / 0.7387 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.5895, allocations: 0.6441 MB / 0.7393 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.5896, allocations: 45.7 kB / 0.7393 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.5899, allocations: 368.2 kB / 0.7397 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.59, allocations: 98.73 kB / 0.7398 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.5902, allocations: 150.3 kB / 0.7399 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.5905, allocations: 386.8 kB / 0.7403 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.5907, allocations: 133.2 kB / 0.7404 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.5911, allocations: 343.8 kB / 0.7407 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.5917, allocations: 425.8 kB / 0.7411 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5917, allocations: 4 kB / 0.7411 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008795/0.5926, allocations: 0.5341 MB / 0.7417 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.5926, allocations: 11.94 kB / 0.7417 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5926, allocations: 4 kB / 0.7417 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.5927, allocations: 12 kB / 0.7417 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.5929, allocations: 71.78 kB / 0.7418 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.5929, allocations: 15.98 kB / 0.7418 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.5932, allocations: 55.97 kB / 0.7418 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.5933, allocations: 32 kB / 0.7419 GB, free: 10.33 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,timer.yAcc,$PRE.timer.yAcc,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,timer.reset_internal,$PRE.timer.reset_internal,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,transition2.localCondition,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition3,$whenCondition2,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003971/0.5937, allocations: 270.8 kB / 0.7421 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.5938, allocations: 71.08 kB / 0.7422 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000726/0.5945, allocations: 394.8 kB / 0.7426 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5945, allocations: 11.94 kB / 0.7426 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5945, allocations: 7.938 kB / 0.7426 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.5945, allocations: 3.984 kB / 0.7426 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.596, allocations: 1.035 MB / 0.7436 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.596, allocations: 0 / 0.7436 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.5961, allocations: 27.92 kB / 0.7436 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5962, allocations: 4 kB / 0.7436 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.5962, allocations: 7.984 kB / 0.7436 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5962, allocations: 11.94 kB / 0.7437 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5962, allocations: 0 / 0.7437 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.5969, allocations: 474.5 kB / 0.7441 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.597, allocations: 128.3 kB / 0.7442 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.5971, allocations: 19.98 kB / 0.7442 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.5972, allocations: 8 kB / 0.7443 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.5974, allocations: 47.69 kB / 0.7443 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.5974, allocations: 20 kB / 0.7443 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004475/0.5979, allocations: 415 kB / 0.7447 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5979, allocations: 0 / 0.7447 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005067/0.5984, allocations: 139.5 kB / 0.7448 GB, free: 7.164 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.5994, allocations: 438.8 kB / 0.7453 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008535/0.6003, allocations: 433.8 kB / 0.7457 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6003, allocations: 0 / 0.7457 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.6006, allocations: 165.4 kB / 0.7458 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.6012, allocations: 94.97 kB / 0.7459 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.6033, allocations: 1.326 MB / 0.7472 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.6038, allocations: 0.9352 MB / 0.7481 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.6041, allocations: 80.39 kB / 0.7482 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.6042, allocations: 43.42 kB / 0.7483 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.6042, allocations: 0 / 0.7483 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of Templates: time 0.01121/0.6154, allocations: 5.362 MB / 0.7535 GB, free: 14.45 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (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)