Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 293 MB / 309 MB, free: 4.801 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.0009718/0.0009718, allocations: 172.6 kB / 378.7 MB, free: 0.9922 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.61/1.61, allocations: 205.4 MB / 0.6383 GB, free: 9.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.000779, allocations: 93.23 kB / 0.7527 GB, free: 62.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 116.4 MB / 0.9904 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.731/2.027, allocations: 435.8 MB / 1.416 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/2.027, allocations: 98.22 kB / 1.416 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5829/2.61, allocations: 289.1 MB / 1.698 GB, free: 35.33 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.385e-06/2.61, allocations: 0 / 1.698 GB, free: 35.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006593/2.611, allocations: 87.92 kB / 1.698 GB, free: 35.24 MB / 0.9323 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.01161/2.622, allocations: 3.928 MB / 1.702 GB, free: 31.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/2.622, allocations: 8.031 kB / 1.702 GB, free: 31.19 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/2.625, allocations: 0.4954 MB / 1.703 GB, free: 30.69 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007884/2.633, allocations: 2.938 MB / 1.706 GB, free: 27.69 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/2.633, allocations: 247.8 kB / 1.706 GB, free: 27.44 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008889/2.634, allocations: 272.4 kB / 1.706 GB, free: 27.17 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/2.64, allocations: 2.973 MB / 1.709 GB, free: 24 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.595e-05/2.64, allocations: 11.92 kB / 1.709 GB, free: 23.99 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/2.64, allocations: 108 kB / 1.709 GB, free: 23.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/2.64, allocations: 64 kB / 1.709 GB, free: 23.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/2.645, allocations: 2.481 MB / 1.712 GB, free: 21.33 MB / 0.9323 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.01957/2.664, allocations: 13.15 MB / 1.725 GB, free: 7.785 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/2.668, allocations: 1.949 MB / 1.726 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/2.669, allocations: 0.891 MB / 1.727 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/2.67, allocations: 0.864 MB / 1.728 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/2.672, allocations: 1.14 MB / 1.729 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=167): time 3.276e-06/2.672, allocations: 0 / 1.729 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of matching and sorting (n=167): time 0.5743/3.246, allocations: 2.861 MB / 1.732 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/3.246, allocations: 158.2 kB / 1.732 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/3.253, allocations: 3.852 MB / 1.736 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006722/3.254, allocations: 106.6 kB / 1.736 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/3.256, allocations: 1.72 MB / 1.738 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007772/3.257, allocations: 481.4 kB / 1.738 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/3.257, allocations: 41.41 kB / 1.738 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001671/3.257, allocations: 389.6 kB / 1.739 GB, free: 173 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/3.259, allocations: 0.8192 MB / 1.739 GB, free: 173 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/3.26, allocations: 1.463 MB / 1.741 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/3.263, allocations: 2.001 MB / 1.743 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/3.263, allocations: 5.844 kB / 1.743 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.005392/3.269, allocations: 2.576 MB / 1.745 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003177/3.269, allocations: 0.5634 MB / 1.746 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/3.269, allocations: 15.62 kB / 1.746 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/3.269, allocations: 84.14 kB / 1.746 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/3.271, allocations: 329.7 kB / 1.746 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004674/3.271, allocations: 0.6647 MB / 1.747 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/3.273, allocations: 257.2 kB / 1.747 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/3.274, allocations: 110.6 kB / 1.747 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/3.274, allocations: 3.281 kB / 1.747 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004256/3.278, allocations: 2.217 MB / 1.749 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/3.278, allocations: 17.56 kB / 1.749 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/3.278, allocations: 86.03 kB / 1.75 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/3.279, allocations: 318.6 kB / 1.75 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004591/3.28, allocations: 0.6558 MB / 1.75 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/3.282, allocations: 227.8 kB / 1.751 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/3.282, allocations: 107.4 kB / 1.751 GB, free: 169.7 MB / 0.9323 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.002731/3.285, allocations: 1.114 MB / 1.752 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008513/3.286, allocations: 333.8 kB / 1.752 GB, free: 169.3 MB / 0.9323 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.002833/3.289, allocations: 1.234 MB / 1.753 GB, free: 169.2 MB / 0.9323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.