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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.623/1.623, allocations: 288.3 MB / 303.2 MB, free: 8.066 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.001271/0.001271, allocations: 181 kB / 371.8 MB, free: 10.26 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.507/1.507, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009033/0.0009032, allocations: 94.8 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 16.25 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9839/1.21, allocations: 434.7 MB / 1.404 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/1.21, allocations: 94.94 kB / 1.404 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.109/2.319, allocations: 291.9 MB / 1.689 GB, free: 126.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/2.319, allocations: 0 / 1.689 GB, free: 126.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005364/2.32, allocations: 87.98 kB / 1.689 GB, free: 126.6 MB / 0.948 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.01104/2.331, allocations: 3.956 MB / 1.693 GB, free: 122.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/2.331, allocations: 8.031 kB / 1.693 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/2.333, allocations: 0.5099 MB / 1.693 GB, free: 122 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/2.341, allocations: 2.819 MB / 1.696 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/2.341, allocations: 251.3 kB / 1.696 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/2.342, allocations: 280 kB / 1.697 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008089/2.351, allocations: 2.945 MB / 1.7 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-05/2.351, allocations: 11.94 kB / 1.7 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005764/2.351, allocations: 104 kB / 1.7 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/2.351, allocations: 67.95 kB / 1.7 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/2.357, allocations: 2.489 MB / 1.702 GB, free: 112.8 MB / 0.948 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.02036/2.377, allocations: 13.15 MB / 1.715 GB, free: 99.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/2.381, allocations: 1.958 MB / 1.717 GB, free: 97.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/2.382, allocations: 0.8601 MB / 1.718 GB, free: 96.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/2.384, allocations: 1.145 MB / 1.719 GB, free: 95.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 4.538e-06/2.384, allocations: 0 / 1.719 GB, free: 95.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.005767/2.39, allocations: 2.865 MB / 1.722 GB, free: 92.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/2.39, allocations: 154.5 kB / 1.722 GB, free: 92.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007776/2.398, allocations: 3.483 MB / 1.725 GB, free: 88.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006524/2.398, allocations: 113.6 kB / 1.725 GB, free: 88.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/2.4, allocations: 1.717 MB / 1.727 GB, free: 86.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008051/2.401, allocations: 481.7 kB / 1.728 GB, free: 86.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/2.402, allocations: 44 kB / 1.728 GB, free: 86.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001745/2.402, allocations: 386.1 kB / 1.728 GB, free: 85.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/2.403, allocations: 0.8202 MB / 1.729 GB, free: 85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/2.405, allocations: 1.45 MB / 1.73 GB, free: 83.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/2.407, allocations: 0.8751 MB / 1.731 GB, free: 82.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/2.407, allocations: 4 kB / 1.731 GB, free: 82.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.005171/2.412, allocations: 2.58 MB / 1.734 GB, free: 79.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001331/2.414, allocations: 6.929 MB / 1.74 GB, free: 72.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/2.414, allocations: 16 kB / 1.74 GB, free: 72.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/2.414, allocations: 88.77 kB / 1.74 GB, free: 72.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/2.415, allocations: 323.3 kB / 1.741 GB, free: 71.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/2.416, allocations: 0.6693 MB / 1.741 GB, free: 71.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/2.418, allocations: 254.5 kB / 1.742 GB, free: 71.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/2.418, allocations: 112 kB / 1.742 GB, free: 70.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/2.418, allocations: 4 kB / 1.742 GB, free: 70.91 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003632/2.422, allocations: 2.215 MB / 1.744 GB, free: 68.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/2.422, allocations: 16 kB / 1.744 GB, free: 68.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/2.422, allocations: 84.83 kB / 1.744 GB, free: 68.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.423, allocations: 323.3 kB / 1.744 GB, free: 68.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/2.424, allocations: 0.6695 MB / 1.745 GB, free: 67.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/2.426, allocations: 235 kB / 1.745 GB, free: 67.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/2.426, allocations: 108 kB / 1.745 GB, free: 67.25 MB / 0.948 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 () * Number of clocked 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.002588/2.429, allocations: 1.106 MB / 1.746 GB, free: 66.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/2.43, allocations: 339.6 kB / 1.747 GB, free: 65.78 MB / 0.948 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.003188/2.433, allocations: 1.244 MB / 1.748 GB, free: 64.53 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.