Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.956/1.956, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 173.3 kB / 487 MB, free: 5.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 92.95 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.429e-05, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.316, allocations: 446.3 MB / 1.641 GB, free: 9.496 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.316, allocations: 85.95 kB / 1.641 GB, free: 9.453 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.039/2.355, allocations: 297.9 MB / 1.932 GB, free: 229.1 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0003598/2.356, allocations: 91.78 kB / 1.932 GB, free: 229 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.006507/2.362, allocations: 3.455 MB / 1.935 GB, free: 225.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/2.362, allocations: 8.031 kB / 1.935 GB, free: 225.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/2.364, allocations: 0.51 MB / 1.936 GB, free: 225 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/2.369, allocations: 2.846 MB / 1.939 GB, free: 222.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/2.369, allocations: 154.8 kB / 1.939 GB, free: 222 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/2.37, allocations: 179.9 kB / 1.939 GB, free: 221.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003647/2.373, allocations: 2.216 MB / 1.941 GB, free: 219.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/2.377, allocations: 2.566 MB / 1.944 GB, free: 216.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.433e-05/2.377, allocations: 3.938 kB / 1.944 GB, free: 216.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/2.377, allocations: 8 kB / 1.944 GB, free: 216.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/2.377, allocations: 71.98 kB / 1.944 GB, free: 216.7 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/2.391, allocations: 12.87 MB / 1.956 GB, free: 203.6 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/2.393, allocations: 1.789 MB / 1.958 GB, free: 201.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/2.394, allocations: 0.9143 MB / 1.959 GB, free: 200.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/2.395, allocations: 0.8679 MB / 1.96 GB, free: 199.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/2.397, allocations: 1.118 MB / 1.961 GB, free: 198.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=181): time 3.336e-06/2.397, allocations: 3.938 kB / 1.961 GB, free: 198.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=181): time 0.003504/2.4, allocations: 2.002 MB / 1.963 GB, free: 196.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/2.4, allocations: 405.8 kB / 1.963 GB, free: 196.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/2.404, allocations: 3.189 MB / 1.966 GB, free: 193 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0003375/2.405, allocations: 81.67 kB / 1.967 GB, free: 192.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/2.406, allocations: 0.9995 MB / 1.968 GB, free: 191.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000475/2.406, allocations: 0.4931 MB / 1.968 GB, free: 191.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/2.406, allocations: 4 kB / 1.968 GB, free: 191.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/2.406, allocations: 390.4 kB / 1.968 GB, free: 191 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/2.407, allocations: 0.7543 MB / 1.969 GB, free: 190.3 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/2.409, allocations: 1.38 MB / 1.97 GB, free: 188.6 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/2.41, allocations: 0.9894 MB / 1.971 GB, free: 187.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/2.411, allocations: 7.938 kB / 1.971 GB, free: 187.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004209/2.415, allocations: 2.498 MB / 1.974 GB, free: 185.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009041/2.416, allocations: 6.849 MB / 1.981 GB, free: 177.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/2.416, allocations: 16 kB / 1.981 GB, free: 177.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/2.416, allocations: 88.77 kB / 1.981 GB, free: 177.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/2.417, allocations: 331.3 kB / 1.981 GB, free: 177.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000425/2.418, allocations: 0.6771 MB / 1.982 GB, free: 176.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/2.419, allocations: 202.8 kB / 1.982 GB, free: 176.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/2.42, allocations: 115.9 kB / 1.982 GB, free: 176.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/2.42, allocations: 4 kB / 1.982 GB, free: 176.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003677/2.423, allocations: 2.129 MB / 1.984 GB, free: 174.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/2.423, allocations: 16 kB / 1.984 GB, free: 174.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/2.423, allocations: 81.55 kB / 1.984 GB, free: 174 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/2.425, allocations: 335.3 kB / 1.984 GB, free: 173.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/2.425, allocations: 0.6693 MB / 1.985 GB, free: 173 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/2.427, allocations: 186.9 kB / 1.985 GB, free: 172.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/2.427, allocations: 108 kB / 1.985 GB, free: 172.7 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 154 ($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,$PRE.eleFol.opeMod.transition3.t_start,eleFol.opeMod.transition3.t_start,$PRE.eleFol.opeMod.transition5.t_start,eleFol.opeMod.transition5.t_start,$PRE.eleFol.opeMod.transition9.t_start,eleFol.opeMod.transition9.t_start,$PRE.eleFol.opeMod.transition7.t_start,eleFol.opeMod.transition7.t_start,$PRE.eleFol.opeMod.transition10.t_start,eleFol.opeMod.transition10.t_start,$PRE.eleFol.opeMod.transition1.t_start,eleFol.opeMod.transition1.t_start,$PRE.eleFol.opeMod.transition2.t_start,eleFol.opeMod.transition2.t_start,$PRE.eleFol.opeMod.transition8.t_start,eleFol.opeMod.transition8.t_start,$PRE.eleFol.opeMod.transition6.t_start,eleFol.opeMod.transition6.t_start,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 (280): * Single equations (assignments): 279 * 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.0005626/2.428, allocations: 279.4 kB / 1.986 GB, free: 172.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006625/2.428, allocations: 327.9 kB / 1.986 GB, free: 172.1 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 201 equation(s) and 200 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/2.432, allocations: 1.39 MB / 1.987 GB, free: 170.7 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.