Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.271/5.271, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.002539/0.002539, allocations: 352.2 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.287/4.287, allocations: 410.7 MB / 1.113 GB, free: 5.977 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.001918/0.001918, allocations: 182.5 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005024, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7273, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.006065/0.7334, allocations: 3.981 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.7395, allocations: 2.801 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.7406, allocations: 28.53 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.7425, allocations: 0.5761 MB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.7438, allocations: 353.8 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.7464, allocations: 0.6368 MB / 1.47 GB, free: 276 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002772/0.7492, allocations: 1.709 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.751, allocations: 0.9132 MB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.7517, allocations: 0.5017 MB / 1.473 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.7525, allocations: 0.5634 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.7526, allocations: 52 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.7531, allocations: 123.9 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.7535, allocations: 410.5 kB / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.7538, allocations: 310 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.7559, allocations: 1.709 MB / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7559, allocations: 0 / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7559, allocations: 4 kB / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.427e-05/0.756, allocations: 3.938 kB / 1.476 GB, free: 269.7 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003916/0.7599, allocations: 1.766 MB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.76, allocations: 11.62 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.7605, allocations: 212 kB / 1.478 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.7628, allocations: 1.033 MB / 1.479 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.763, allocations: 136.3 kB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.7632, allocations: 128 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.7662, allocations: 1.336 MB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.7663, allocations: 3.938 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.7665, allocations: 55.98 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.7665, allocations: 35.89 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.7689, allocations: 0.8962 MB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00785/0.7768, allocations: 5.57 MB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.7787, allocations: 0.7058 MB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008464/0.7796, allocations: 367.3 kB / 1.488 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.7797, allocations: 13.56 kB / 1.488 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.781, allocations: 498.9 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=93): time 4.589e-06/0.781, allocations: 1.594 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=93): time 0.00309/0.7841, allocations: 1.107 MB / 1.489 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.7842, allocations: 124.4 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.787, allocations: 1.613 MB / 1.491 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.7873, allocations: 70.89 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.788, allocations: 0.7361 MB / 1.492 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.7883, allocations: 238.2 kB / 1.492 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.7884, allocations: 28 kB / 1.492 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7886, allocations: 361.9 kB / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.7896, allocations: 373.3 kB / 1.493 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.7909, allocations: 0.7499 MB / 1.493 GB, free: 251 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.7919, allocations: 381.1 kB / 1.494 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.7919, allocations: 4 kB / 1.494 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003062/0.795, allocations: 1.229 MB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.7951, allocations: 8 kB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7951, allocations: 12.78 kB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.7951, allocations: 16 kB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.7962, allocations: 172.5 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/0.7963, allocations: 19.94 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.7975, allocations: 150.2 kB / 1.495 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.7977, allocations: 55.98 kB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.avaSig,con.runSig,con.opeMod,con.staBy.active,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.pumOn.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.localCondition,con.transition7.enableFire,con.transition10.localCondition,con.transition10.enableFire,con.assWatMas.nand.y,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.active,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.transition8.enableFire,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.localCondition,con.transition6.enableFire,con.plaOff.active,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.transition4.localCondition,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.passed,con.timer.passed,$PRE.con.timer.entryTime,con.timer.entryTime,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 174 * 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.001633/0.7994, allocations: 0.5264 MB / 1.496 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.7998, allocations: 150.2 kB / 1.496 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.8022, allocations: 0.9456 MB / 1.497 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.8023, allocations: 3.984 kB / 1.497 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8023, allocations: 4 kB / 1.497 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.8028, allocations: 256.2 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/0.8031, allocations: 27.98 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.8037, allocations: 50.72 kB / 1.497 GB, free: 247 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.8041, allocations: 144.8 kB / 1.497 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00233/0.8065, allocations: 0.9361 MB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00227/0.8088, allocations: 1.083 MB / 1.499 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000917/0.8098, allocations: 431.8 kB / 1.5 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001899/0.8117, allocations: 0.9964 MB / 1.501 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of Backend: time 7.91e-07/0.8117, allocations: 0 / 1.501 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003761/0.8155, allocations: 1.125 MB / 1.502 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00599/0.8215, allocations: 3.304 MB / 1.505 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.04385/0.8654, allocations: 14.07 MB / 1.519 GB, free: 225.5 MB / 0.8542 GB