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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.594/1.594, allocations: 297.8 MB / 313.8 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009071/0.0009069, allocations: 178.1 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008351, allocations: 92.59 kB / 0.7808 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004236, allocations: 13.41 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6972, allocations: 120.3 MB / 1.026 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9021/1.599, allocations: 438.5 MB / 1.454 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.6, allocations: 101.4 kB / 1.455 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.004/2.603, allocations: 293.7 MB / 1.741 GB, free: 211.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.928e-06/2.604, allocations: 1.875 kB / 1.741 GB, free: 211.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000614/2.604, allocations: 82.11 kB / 1.742 GB, free: 211.7 MB / 0.9792 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.01083/2.615, allocations: 4.052 MB / 1.745 GB, free: 209.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/2.615, allocations: 16 kB / 1.745 GB, free: 209.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/2.617, allocations: 0.4928 MB / 1.746 GB, free: 209.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/2.625, allocations: 2.936 MB / 1.749 GB, free: 208.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/2.625, allocations: 251.3 kB / 1.749 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/2.626, allocations: 274.7 kB / 1.749 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007467/2.634, allocations: 2.982 MB / 1.752 GB, free: 208.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.245e-05/2.634, allocations: 12.66 kB / 1.752 GB, free: 208.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000525/2.634, allocations: 108.8 kB / 1.752 GB, free: 208.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/2.634, allocations: 62.78 kB / 1.752 GB, free: 208.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005411/2.64, allocations: 2.485 MB / 1.755 GB, free: 208.1 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/2.662, allocations: 13.2 MB / 1.768 GB, free: 203.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/2.666, allocations: 2.114 MB / 1.77 GB, free: 202.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/2.668, allocations: 0.9471 MB / 1.771 GB, free: 202.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/2.669, allocations: 0.8718 MB / 1.772 GB, free: 202.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003234/2.673, allocations: 1.248 MB / 1.773 GB, free: 201.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=176): time 1.487e-05/2.673, allocations: 3.719 kB / 1.773 GB, free: 201.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=176): time 0.007876/2.681, allocations: 2.98 MB / 1.776 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/2.681, allocations: 400 kB / 1.776 GB, free: 201.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/2.691, allocations: 3.819 MB / 1.78 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006601/2.692, allocations: 123.5 kB / 1.78 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002288/2.694, allocations: 1.699 MB / 1.782 GB, free: 200.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009784/2.695, allocations: 0.4915 MB / 1.782 GB, free: 200.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/2.695, allocations: 45.19 kB / 1.782 GB, free: 200.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002246/2.695, allocations: 387.7 kB / 1.782 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/2.698, allocations: 0.841 MB / 1.783 GB, free: 199.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/2.7, allocations: 1.481 MB / 1.785 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/2.704, allocations: 2.037 MB / 1.787 GB, free: 197.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-05/2.704, allocations: 5.406 kB / 1.787 GB, free: 197.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006089/2.71, allocations: 2.629 MB / 1.789 GB, free: 196.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/2.71, allocations: 0.5608 MB / 1.79 GB, free: 195.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/2.71, allocations: 16.5 kB / 1.79 GB, free: 195.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/2.711, allocations: 86.16 kB / 1.79 GB, free: 195.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/2.712, allocations: 330.8 kB / 1.79 GB, free: 195.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000496/2.712, allocations: 0.6595 MB / 1.791 GB, free: 195 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/2.715, allocations: 253.1 kB / 1.791 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003296/2.715, allocations: 107.4 kB / 1.791 GB, free: 194.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/2.715, allocations: 10.67 kB / 1.791 GB, free: 194.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/2.719, allocations: 2.27 MB / 1.793 GB, free: 194 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/2.719, allocations: 14.66 kB / 1.794 GB, free: 194 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/2.72, allocations: 83.23 kB / 1.794 GB, free: 194 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/2.721, allocations: 330 kB / 1.794 GB, free: 193.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000412/2.721, allocations: 0.6533 MB / 1.795 GB, free: 193.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/2.723, allocations: 234.5 kB / 1.795 GB, free: 193.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/2.724, allocations: 119.2 kB / 1.795 GB, free: 193.2 MB / 0.9792 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 274 * 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.003279/2.727, allocations: 1.127 MB / 1.796 GB, free: 192.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/2.728, allocations: 342.2 kB / 1.796 GB, free: 192.4 MB / 0.9792 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. 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.004453/2.733, allocations: 1.247 MB / 1.798 GB, free: 191.8 MB / 0.9792 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.