Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.172/1.172, allocations: 249.4 MB / 256.7 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 196.8 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9969/0.9969, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 87.31 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.57e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.824/0.9584, allocations: 428 MB / 1.303 GB, free: 319 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.9586, allocations: 98.16 kB / 1.303 GB, free: 319 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.4569/1.416, allocations: 285.6 MB / 1.582 GB, free: 30.94 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002146/1.416, allocations: 87.92 kB / 1.582 GB, free: 30.86 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003654/1.419, allocations: 3.381 MB / 1.585 GB, free: 27.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/1.419, allocations: 8.031 kB / 1.585 GB, free: 27.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/1.42, allocations: 0.5021 MB / 1.585 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/1.424, allocations: 2.858 MB / 1.588 GB, free: 23.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.424, allocations: 150.8 kB / 1.588 GB, free: 23.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/1.424, allocations: 167.9 kB / 1.589 GB, free: 23.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003096/1.428, allocations: 2.204 MB / 1.591 GB, free: 21.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/1.431, allocations: 2.528 MB / 1.593 GB, free: 18.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/1.431, allocations: 7.938 kB / 1.593 GB, free: 18.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.431, allocations: 7.984 kB / 1.593 GB, free: 18.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/1.431, allocations: 67.94 kB / 1.593 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/1.441, allocations: 12.83 MB / 1.606 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.443, allocations: 1.555 MB / 1.607 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008598/1.444, allocations: 0.8014 MB / 1.608 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/1.445, allocations: 0.8562 MB / 1.609 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/1.446, allocations: 0.9997 MB / 1.61 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 3.267e-06/1.446, allocations: 0 / 1.61 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.2077/1.654, allocations: 1.943 MB / 1.612 GB, free: 279 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/1.654, allocations: 153.5 kB / 1.612 GB, free: 278.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/1.658, allocations: 3.245 MB / 1.615 GB, free: 278.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/1.658, allocations: 73.39 kB / 1.615 GB, free: 278.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/1.658, allocations: 1.029 MB / 1.616 GB, free: 278.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/1.659, allocations: 468.5 kB / 1.617 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/1.659, allocations: 0 / 1.617 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/1.659, allocations: 391.1 kB / 1.617 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009631/1.66, allocations: 0.7462 MB / 1.618 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/1.661, allocations: 1.373 MB / 1.619 GB, free: 277 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/1.663, allocations: 0.9774 MB / 1.62 GB, free: 277 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.663, allocations: 3.812 kB / 1.62 GB, free: 277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.003526/1.666, allocations: 2.476 MB / 1.622 GB, free: 276.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007753/1.667, allocations: 7.061 MB / 1.629 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.667, allocations: 17.84 kB / 1.629 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/1.667, allocations: 79.67 kB / 1.629 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.668, allocations: 333.5 kB / 1.63 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003607/1.669, allocations: 0.6778 MB / 1.63 GB, free: 268.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.67, allocations: 204.7 kB / 1.631 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.67, allocations: 108.7 kB / 1.631 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/1.67, allocations: 8.281 kB / 1.631 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/1.673, allocations: 2.103 MB / 1.633 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.673, allocations: 18.19 kB / 1.633 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/1.674, allocations: 88.59 kB / 1.633 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/1.675, allocations: 320.3 kB / 1.633 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003136/1.675, allocations: 0.6787 MB / 1.634 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.676, allocations: 183.4 kB / 1.634 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.676, allocations: 112.8 kB / 1.634 GB, free: 268.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 142 ($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,$PRE.eleFol.opeMod.warUpCtr.timer.yAcc,eleFol.opeMod.warUpCtr.timer.yAcc,$PRE.eleFol.opeMod.timer.yAcc,eleFol.opeMod.timer.yAcc,$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,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,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.u2,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.u1,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.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.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,$PRE.eleFol.opeMod.warUpCtr.timer.reset_internal,eleFol.opeMod.warUpCtr.timer.reset_internal,$PRE.eleFol.opeMod.timer.reset_internal,eleFol.opeMod.timer.reset_internal,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 (272): * Single equations (assignments): 271 * 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.0003331/1.677, allocations: 264.1 kB / 1.634 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/1.677, allocations: 328.3 kB / 1.635 GB, free: 267.9 MB / 0.8698 GB Error: Too many equations, over-determined system. The model has 198 equation(s) and 197 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/1.68, allocations: 1.363 MB / 1.636 GB, free: 267.8 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.