Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 181.3 kB / 366.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 91.5 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.626e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.63, allocations: 116.3 MB / 0.9725 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9818/1.612, allocations: 434.8 MB / 1.397 GB, free: 54.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.612, allocations: 89.95 kB / 1.397 GB, free: 54.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.002/2.614, allocations: 291.5 MB / 1.682 GB, free: 253 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004066/2.614, allocations: 86.31 kB / 1.682 GB, free: 253 MB / 0.948 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.007865/2.622, allocations: 3.347 MB / 1.685 GB, free: 251 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/2.622, allocations: 8.625 kB / 1.685 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/2.624, allocations: 0.5029 MB / 1.686 GB, free: 250.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/2.631, allocations: 2.845 MB / 1.689 GB, free: 249.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/2.631, allocations: 156.5 kB / 1.689 GB, free: 249.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/2.632, allocations: 167.2 kB / 1.689 GB, free: 249.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004337/2.636, allocations: 2.206 MB / 1.691 GB, free: 248.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/2.64, allocations: 2.526 MB / 1.694 GB, free: 247.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.458e-05/2.64, allocations: 7.281 kB / 1.694 GB, free: 247.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/2.64, allocations: 12.73 kB / 1.694 GB, free: 247.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/2.641, allocations: 63.09 kB / 1.694 GB, free: 247.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/2.656, allocations: 12.84 MB / 1.706 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/2.658, allocations: 1.563 MB / 1.708 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/2.659, allocations: 0.8081 MB / 1.708 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/2.66, allocations: 0.8649 MB / 1.709 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/2.662, allocations: 1.001 MB / 1.71 GB, free: 236.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 3.827e-06/2.662, allocations: 3.156 kB / 1.71 GB, free: 236.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.00394/2.666, allocations: 1.942 MB / 1.712 GB, free: 235.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/2.666, allocations: 157.1 kB / 1.712 GB, free: 235.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/2.671, allocations: 3.231 MB / 1.715 GB, free: 234.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004298/2.671, allocations: 73.39 kB / 1.716 GB, free: 234.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009994/2.672, allocations: 1.022 MB / 1.717 GB, free: 233.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/2.673, allocations: 469.1 kB / 1.717 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/2.673, allocations: 0 / 1.717 GB, free: 233.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001264/2.673, allocations: 381.2 kB / 1.717 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/2.674, allocations: 0.7419 MB / 1.718 GB, free: 232.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/2.676, allocations: 1.349 MB / 1.719 GB, free: 231.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/2.678, allocations: 0.9679 MB / 1.72 GB, free: 231.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/2.678, allocations: 7.656 kB / 1.72 GB, free: 231.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004975/2.683, allocations: 2.459 MB / 1.723 GB, free: 229.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001214/2.684, allocations: 6.856 MB / 1.729 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/2.684, allocations: 17.72 kB / 1.729 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/2.684, allocations: 80.92 kB / 1.73 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/2.686, allocations: 331.7 kB / 1.73 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005043/2.686, allocations: 0.6734 MB / 1.731 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/2.688, allocations: 208.4 kB / 1.731 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/2.689, allocations: 106.2 kB / 1.731 GB, free: 221.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/2.689, allocations: 6.406 kB / 1.731 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003979/2.693, allocations: 2.088 MB / 1.733 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/2.693, allocations: 16 kB / 1.733 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/2.693, allocations: 84.83 kB / 1.733 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/2.694, allocations: 319.3 kB / 1.733 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/2.694, allocations: 0.6733 MB / 1.734 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/2.697, allocations: 181.1 kB / 1.734 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/2.697, allocations: 112 kB / 1.734 GB, free: 219 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 136 ($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.fil.limDp.y,eleFol.eneCon.delWarUp.y,eleFol.eneCon.and1.y,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,eleFol.eneCon.booExp.y,eleFol.eneCon.and1.u1,eleFol.opeMod.runSig,$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.staBy.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,eleFol.opeMod.pumOn.active,$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.and1.y,eleFol.opeMod.transition3.enableFire,eleFol.opeMod.transition5.enableFire,eleFol.opeMod.transition9.enableFire,eleFol.opeMod.transition7.enableFire,eleFol.opeMod.and3.y,eleFol.opeMod.transition10.enableFire,eleFol.opeMod.and4.u2,eleFol.opeMod.and4.y,eleFol.opeMod.assWatMas.assMes.u,$PRE.eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.assWatMas.hys.y,eleFol.opeMod.transition1.enableFire,eleFol.opeMod.transition2.enableFire,$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.nor.active,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.enableFire,$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.plaOff.active,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,$PRE.eleFol.assWatTem.hys.y,eleFol.assWatTem.hys.y,eleFol.powCon.staBy.y,eleFol.powCon.cooDow.y,eleFol.stateGraphRoot.activeSteps,eleFol.conWat.opeMod,eleFol.conWat.offStaBy.y,avaSig.y,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 265 * 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.0006803/2.698, allocations: 262 kB / 1.734 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/2.699, allocations: 323.9 kB / 1.735 GB, free: 218.4 MB / 0.948 GB Error: Too many equations, over-determined system. The model has 196 equation(s) and 195 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/2.703, allocations: 1.351 MB / 1.736 GB, free: 217 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.