Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.492/1.492, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.001008/0.001008, allocations: 175.6 kB / 361.1 MB, free: 7.098 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.537/1.537, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009488/0.0009488, allocations: 89.56 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.326e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6742, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.607, allocations: 433.9 MB / 1.387 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.607, allocations: 95.19 kB / 1.387 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.008/2.615, allocations: 291.5 MB / 1.672 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005599/2.616, allocations: 85.44 kB / 1.672 GB, free: 223.6 MB / 0.9323 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.008769/2.625, allocations: 3.35 MB / 1.675 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/2.625, allocations: 7.5 kB / 1.675 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/2.627, allocations: 0.5105 MB / 1.676 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/2.635, allocations: 2.841 MB / 1.679 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/2.635, allocations: 155.3 kB / 1.679 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/2.636, allocations: 164.3 kB / 1.679 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004596/2.64, allocations: 2.207 MB / 1.681 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/2.644, allocations: 2.533 MB / 1.684 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/2.644, allocations: 6.594 kB / 1.684 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/2.645, allocations: 10.75 kB / 1.684 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/2.645, allocations: 62.69 kB / 1.684 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/2.661, allocations: 12.83 MB / 1.696 GB, free: 215.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/2.663, allocations: 1.564 MB / 1.698 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009796/2.664, allocations: 0.8066 MB / 1.699 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/2.665, allocations: 0.8549 MB / 1.699 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/2.667, allocations: 1.012 MB / 1.7 GB, free: 213.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=167): time 3.206e-06/2.667, allocations: 0 / 1.7 GB, free: 213.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=167): time 0.003873/2.67, allocations: 1.943 MB / 1.702 GB, free: 212.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/2.67, allocations: 161 kB / 1.702 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/2.675, allocations: 3.232 MB / 1.706 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/2.676, allocations: 74.62 kB / 1.706 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009652/2.677, allocations: 1.026 MB / 1.707 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005286/2.677, allocations: 464.8 kB / 1.707 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.342e-05/2.677, allocations: 0 / 1.707 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001169/2.677, allocations: 379.9 kB / 1.708 GB, free: 210 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/2.679, allocations: 0.7392 MB / 1.708 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/2.68, allocations: 1.358 MB / 1.71 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/2.682, allocations: 0.9639 MB / 1.71 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/2.682, allocations: 7.656 kB / 1.711 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004851/2.687, allocations: 2.451 MB / 1.713 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001128/2.688, allocations: 6.868 MB / 1.72 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/2.688, allocations: 15.12 kB / 1.72 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/2.688, allocations: 81.69 kB / 1.72 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/2.689, allocations: 331.3 kB / 1.72 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004996/2.69, allocations: 0.6722 MB / 1.721 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/2.692, allocations: 206.8 kB / 1.721 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/2.692, allocations: 106.7 kB / 1.721 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/2.692, allocations: 3.969 kB / 1.721 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003772/2.696, allocations: 2.083 MB / 1.723 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/2.696, allocations: 15.38 kB / 1.723 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/2.696, allocations: 78.8 kB / 1.723 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/2.698, allocations: 327.4 kB / 1.723 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005239/2.698, allocations: 0.6713 MB / 1.724 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/2.701, allocations: 179.5 kB / 1.724 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/2.701, allocations: 109.8 kB / 1.724 GB, free: 197.9 MB / 0.9323 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.0006142/2.701, allocations: 263.8 kB / 1.725 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/2.702, allocations: 323.3 kB / 1.725 GB, free: 197.5 MB / 0.9323 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.003792/2.706, allocations: 1.359 MB / 1.726 GB, free: 197.1 MB / 0.9323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.