Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2/2, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001056/0.001056, allocations: 177.3 kB / 490.8 MB, free: 1.938 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.413/1.413, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 95.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.845e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2475, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8921/1.14, allocations: 447.1 MB / 1.648 GB, free: 0.8594 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/1.14, allocations: 88.95 kB / 1.648 GB, free: 0.8164 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.065/2.205, allocations: 297.9 MB / 1.939 GB, free: 260.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004582/2.205, allocations: 95.78 kB / 1.939 GB, free: 260.8 MB / 1.151 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.008033/2.214, allocations: 3.451 MB / 1.943 GB, free: 257.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/2.214, allocations: 8.031 kB / 1.943 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/2.216, allocations: 0.5061 MB / 1.943 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006925/2.223, allocations: 2.855 MB / 1.946 GB, free: 254 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/2.223, allocations: 154.8 kB / 1.946 GB, free: 253.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008016/2.224, allocations: 172 kB / 1.946 GB, free: 253.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004889/2.229, allocations: 2.212 MB / 1.948 GB, free: 251.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/2.234, allocations: 2.57 MB / 1.951 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/2.234, allocations: 7.938 kB / 1.951 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/2.234, allocations: 4 kB / 1.951 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/2.235, allocations: 67.98 kB / 1.951 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/2.25, allocations: 12.88 MB / 1.964 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/2.253, allocations: 1.79 MB / 1.965 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/2.254, allocations: 0.9104 MB / 1.966 GB, free: 232.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000979/2.255, allocations: 0.8711 MB / 1.967 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/2.256, allocations: 1.115 MB / 1.968 GB, free: 230.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=181): time 5.801e-06/2.256, allocations: 0 / 1.968 GB, free: 230.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=181): time 0.003935/2.26, allocations: 2.009 MB / 1.97 GB, free: 228.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/2.26, allocations: 405.7 kB / 1.97 GB, free: 228 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005871/2.266, allocations: 3.197 MB / 1.974 GB, free: 224.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003769/2.266, allocations: 85.67 kB / 1.974 GB, free: 224.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/2.268, allocations: 1 MB / 1.975 GB, free: 223.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006206/2.268, allocations: 497 kB / 1.975 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/2.268, allocations: 0 / 1.975 GB, free: 223.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001423/2.269, allocations: 390.4 kB / 1.975 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/2.27, allocations: 0.7582 MB / 1.976 GB, free: 222.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/2.271, allocations: 1.376 MB / 1.978 GB, free: 220.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/2.273, allocations: 0.9971 MB / 1.979 GB, free: 219.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/2.273, allocations: 8 kB / 1.979 GB, free: 219.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004674/2.278, allocations: 2.49 MB / 1.981 GB, free: 216.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001108/2.279, allocations: 6.857 MB / 1.988 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/2.279, allocations: 12 kB / 1.988 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/2.28, allocations: 84.83 kB / 1.988 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/2.281, allocations: 335.3 kB / 1.988 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005057/2.281, allocations: 0.6732 MB / 1.989 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/2.283, allocations: 210.7 kB / 1.989 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/2.284, allocations: 112 kB / 1.989 GB, free: 208.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.575e-06/2.284, allocations: 4 kB / 1.989 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003699/2.287, allocations: 2.133 MB / 1.991 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/2.287, allocations: 16 kB / 1.991 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/2.288, allocations: 77.73 kB / 1.991 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/2.289, allocations: 339.3 kB / 1.992 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003682/2.289, allocations: 0.6694 MB / 1.992 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/2.291, allocations: 195 kB / 1.992 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/2.291, allocations: 108 kB / 1.993 GB, free: 204.5 MB / 1.151 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.0005042/2.292, allocations: 271.3 kB / 1.993 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007902/2.293, allocations: 327.9 kB / 1.993 GB, free: 203.9 MB / 1.151 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.003687/2.296, allocations: 1.382 MB / 1.994 GB, free: 202.5 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.