Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.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.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.199/5.199, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002561/0.002561, allocations: 358.3 kB / 0.6447 GB, free: 185.7 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.335/4.335, allocations: 410.7 MB / 1.113 GB, free: 6.027 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.001856/0.001855, allocations: 189.3 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.7997, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ElectricalFollowing): time 0.04872/0.8485, allocations: 37.55 MB / 1.498 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02069/0.8692, allocations: 10.14 MB / 1.508 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004322/0.8736, allocations: 79.56 kB / 1.508 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.8778, allocations: 0.8271 MB / 1.509 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007516/0.8853, allocations: 1.484 MB / 1.51 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.008091/0.8935, allocations: 1.852 MB / 1.512 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008194/0.9017, allocations: 4.976 MB / 1.517 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004702/0.9064, allocations: 2.122 MB / 1.519 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.9098, allocations: 1.262 MB / 1.52 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.9126, allocations: 1.3 MB / 1.521 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.00091/0.9136, allocations: 112 kB / 1.522 GB, free: 222.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.9169, allocations: 0.7608 MB / 1.522 GB, free: 222 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.9184, allocations: 0.8991 MB / 1.523 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.9197, allocations: 0.7424 MB / 1.524 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007026/0.9267, allocations: 4.999 MB / 1.529 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.9268, allocations: 0.7812 kB / 1.529 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9268, allocations: 0 / 1.529 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000202/0.927, allocations: 1.562 kB / 1.529 GB, free: 215.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: 639 * Number of variables: 639 Notification: Performance of Generate backend data structure: time 0.01/0.937, allocations: 3.797 MB / 1.533 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.9371, allocations: 11.62 kB / 1.533 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.9397, allocations: 0.5001 MB / 1.533 GB, free: 211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007835/0.9476, allocations: 2.723 MB / 1.536 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.948, allocations: 252.1 kB / 1.536 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/0.9489, allocations: 275.9 kB / 1.536 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008537/0.9575, allocations: 2.898 MB / 1.539 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-05/0.9576, allocations: 7.938 kB / 1.539 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.958, allocations: 100.8 kB / 1.539 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/0.9581, allocations: 71.98 kB / 1.539 GB, free: 204.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007622/0.9657, allocations: 2.307 MB / 1.541 GB, free: 202.1 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.9903, allocations: 13.14 MB / 1.554 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/0.9957, allocations: 1.791 MB / 1.556 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.998, allocations: 0.8272 MB / 1.557 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/1, allocations: 1.104 MB / 1.558 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003049/1.003, allocations: 1.04 MB / 1.559 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=165): time 6.052e-06/1.003, allocations: 0 / 1.559 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=165): time 0.008262/1.012, allocations: 2.612 MB / 1.561 GB, free: 181 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/1.012, allocations: 157.8 kB / 1.562 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008398/1.02, allocations: 3.776 MB / 1.565 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005311/1.021, allocations: 105.7 kB / 1.565 GB, free: 177 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.023, allocations: 1.74 MB / 1.567 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/1.024, allocations: 489.5 kB / 1.568 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.024, allocations: 44 kB / 1.568 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.024, allocations: 390.3 kB / 1.568 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.027, allocations: 0.7579 MB / 1.569 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/1.03, allocations: 1.435 MB / 1.57 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/1.032, allocations: 0.8219 MB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/1.032, allocations: 8 kB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007323/1.04, allocations: 2.49 MB / 1.573 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003429/1.04, allocations: 0.6166 MB / 1.574 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/1.04, allocations: 20 kB / 1.574 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/1.041, allocations: 80.83 kB / 1.574 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.043, allocations: 339.3 kB / 1.574 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006156/1.044, allocations: 0.6459 MB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/1.047, allocations: 309.8 kB / 1.575 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004637/1.047, allocations: 100 kB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.047, allocations: 4 kB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005818/1.053, allocations: 2.137 MB / 1.578 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/1.053, allocations: 20.95 kB / 1.578 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/1.054, allocations: 88.81 kB / 1.578 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/1.056, allocations: 331.3 kB / 1.578 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005899/1.057, allocations: 0.6421 MB / 1.579 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/1.06, allocations: 282.2 kB / 1.579 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004749/1.06, allocations: 95.98 kB / 1.579 GB, free: 162.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 137 ($PRE.eleFol.opeMod.transition3.enableFire,$PRE.eleFol.opeMod.transition5.enableFire,$PRE.eleFol.opeMod.transition9.enableFire,$PRE.eleFol.opeMod.transition7.enableFire,$PRE.eleFol.opeMod.transition10.enableFire,$PRE.eleFol.opeMod.transition1.enableFire,$PRE.eleFol.opeMod.transition2.enableFire,$PRE.eleFol.opeMod.transition8.enableFire,$PRE.eleFol.opeMod.transition6.enableFire,$PRE.eleFol.opeMod.transition4.enableFire,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.valDat.nextTimeEvent,eleFol.eneCon.and1.u2,eleFol.eneCon.engTemWarUp.y,eleFol.stateGraphRoot.resume,eleFol.stateGraphRoot.suspend,eleFol.optFol.y,eleFol.fil.limDp.y,eleFol.eneCon.delWarUp.y,eleFol.eneCon.and1.y,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,eleFol.avaSig,eleFol.eneCon.booExp.y,eleFol.eneCon.wamUpMod.y,eleFol.opeMod.runSig,eleFol.opeMod.opeMod,eleFol.opeMod.staBy.active,$PRE.eleFol.opeMod.staBy.localActive,eleFol.opeMod.staBy.localActive,eleFol.opeMod.staBy.outPort[2].available,$PRE.eleFol.opeMod.staBy.newActive,eleFol.opeMod.staBy.newActive,$PRE.eleFol.opeMod.staBy.oldActive,eleFol.opeMod.staBy.oldActive,eleFol.opeMod.pumOn.active,$PRE.eleFol.opeMod.pumOn.localActive,eleFol.opeMod.pumOn.localActive,eleFol.opeMod.pumOn.outPort[2].available,$PRE.eleFol.opeMod.pumOn.newActive,eleFol.opeMod.pumOn.newActive,$PRE.eleFol.opeMod.pumOn.oldActive,eleFol.opeMod.pumOn.oldActive,$PRE.eleFol.opeMod.warUp.localActive,eleFol.opeMod.warUp.localActive,eleFol.opeMod.warUp.inPort[2].occupied,eleFol.opeMod.warUp.outPort[2].available,$PRE.eleFol.opeMod.warUp.newActive,eleFol.opeMod.warUp.newActive,$PRE.eleFol.opeMod.warUp.oldActive,eleFol.opeMod.warUp.oldActive,eleFol.opeMod.warUp.active,$PRE.eleFol.opeMod.cooDow.localActive,eleFol.opeMod.cooDow.localActive,eleFol.opeMod.cooDow.inPort[2].occupied,eleFol.opeMod.cooDow.outPort[2].available,$PRE.eleFol.opeMod.cooDow.newActive,eleFol.opeMod.cooDow.newActive,$PRE.eleFol.opeMod.cooDow.oldActive,eleFol.opeMod.cooDow.oldActive,eleFol.opeMod.cooDow.active,$PRE.eleFol.opeMod.hys.y,eleFol.opeMod.hys.y,eleFol.opeMod.transition3.enableFire,eleFol.opeMod.transition5.enableFire,eleFol.opeMod.transition9.enableFire,eleFol.opeMod.transition7.localCondition,eleFol.opeMod.transition7.enableFire,eleFol.opeMod.transition10.localCondition,eleFol.opeMod.transition10.enableFire,eleFol.opeMod.assWatMas.nand.y,$PRE.eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.transition1.enableFire,eleFol.opeMod.transition2.enableFire,eleFol.opeMod.nor.active,$PRE.eleFol.opeMod.nor.localActive,eleFol.opeMod.nor.localActive,$PRE.eleFol.opeMod.nor.newActive,eleFol.opeMod.nor.newActive,$PRE.eleFol.opeMod.nor.oldActive,eleFol.opeMod.nor.oldActive,eleFol.opeMod.transition8.enableFire,$PRE.eleFol.opeMod.warUpCtr.timer.passed,eleFol.opeMod.warUpCtr.timer.passed,$PRE.eleFol.opeMod.warUpCtr.timer.entryTime,eleFol.opeMod.warUpCtr.timer.entryTime,eleFol.opeMod.transition6.localCondition,eleFol.opeMod.transition6.enableFire,eleFol.opeMod.plaOff.active,$PRE.eleFol.opeMod.plaOff.localActive,eleFol.opeMod.plaOff.localActive,eleFol.opeMod.plaOff.inPort[2].occupied,eleFol.opeMod.plaOff.inPort[3].occupied,$PRE.eleFol.opeMod.plaOff.newActive,eleFol.opeMod.plaOff.newActive,$PRE.eleFol.opeMod.plaOff.oldActive,eleFol.opeMod.plaOff.oldActive,eleFol.opeMod.transition4.localCondition,eleFol.opeMod.transition4.enableFire,eleFol.opeMod.transition4.fire,$PRE.eleFol.opeMod.transition4.t_start,eleFol.opeMod.transition4.t_start,$PRE.eleFol.opeMod.timer.passed,eleFol.opeMod.timer.passed,$PRE.eleFol.opeMod.timer.entryTime,eleFol.opeMod.timer.entryTime,$PRE.eleFol.hys.y,eleFol.hys.y,eleFol.fil.assPow.assMesP.u,$PRE.eleFol.fil.assPow.maxPow.y,eleFol.fil.assPow.maxPow.y,$PRE.eleFol.fil.assPow.minPow.y,eleFol.fil.assPow.minPow.y,eleFol.conWat.offStaBy.y,$PRE.eleFol.assWatTem.hys.y,eleFol.assWatTem.hys.y,eleFol.powCon.staBy.y,eleFol.powCon.cooDow.y,eleFol.stateGraphRoot.activeSteps,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,valDat.nextTimeEvent,$PRE.valDat.nextTimeEventScaled,valDat.nextTimeEventScaled,ETheVal.local_reset,EEleVal.local_reset,EThe.local_reset,EEle.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 275 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002956/1.063, allocations: 1.113 MB / 1.58 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009722/1.064, allocations: 335.8 kB / 1.58 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/1.071, allocations: 2.136 MB / 1.582 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00461/1.075, allocations: 1.866 MB / 1.584 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.075, allocations: 0 / 1.584 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.077, allocations: 0.7071 MB / 1.585 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.078, allocations: 59.92 kB / 1.585 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.081, allocations: 115.9 kB / 1.585 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008053/1.082, allocations: 233.6 kB / 1.585 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006704/1.089, allocations: 2.077 MB / 1.587 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008367/1.097, allocations: 3.241 MB / 1.591 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002343/1.099, allocations: 0.8941 MB / 1.591 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005853/1.105, allocations: 2.523 MB / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of Backend: time 1.222e-06/1.105, allocations: 0 / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.117, allocations: 3.277 MB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01766/1.134, allocations: 7.81 MB / 1.605 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.1205/1.255, allocations: 45.33 MB / 1.649 GB, free: 91.38 MB / 0.8542 GB