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.829/1.829, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.0009627/0.0009628, allocations: 182.9 kB / 373 MB, free: 10.17 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.517/1.517, allocations: 205.4 MB / 0.6317 GB, free: 9.93 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.0008428/0.0008428, allocations: 94.31 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.000446, allocations: 11.53 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.274, allocations: 434.8 MB / 1.405 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.275, allocations: 101.2 kB / 1.405 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.058/2.333, allocations: 289.1 MB / 1.688 GB, free: 129.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/2.333, allocations: 0 / 1.688 GB, free: 129.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003126/2.333, allocations: 91.92 kB / 1.688 GB, free: 129.1 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.008016/2.341, allocations: 3.924 MB / 1.692 GB, free: 125 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/2.341, allocations: 8.031 kB / 1.692 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/2.343, allocations: 0.4993 MB / 1.692 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/2.348, allocations: 2.942 MB / 1.695 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/2.348, allocations: 255.8 kB / 1.695 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/2.348, allocations: 272.3 kB / 1.695 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00452/2.353, allocations: 2.966 MB / 1.698 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/2.353, allocations: 3.938 kB / 1.698 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/2.353, allocations: 112 kB / 1.698 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/2.353, allocations: 64 kB / 1.699 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/2.357, allocations: 2.481 MB / 1.701 GB, free: 115.2 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.01571/2.373, allocations: 13.14 MB / 1.714 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/2.376, allocations: 1.945 MB / 1.716 GB, free: 99.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/2.377, allocations: 0.8871 MB / 1.717 GB, free: 98.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/2.378, allocations: 0.8717 MB / 1.717 GB, free: 97.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/2.38, allocations: 1.136 MB / 1.718 GB, free: 96.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 3.537e-06/2.38, allocations: 0 / 1.718 GB, free: 96.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.005158/2.385, allocations: 2.871 MB / 1.721 GB, free: 93.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/2.385, allocations: 162.5 kB / 1.721 GB, free: 93.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/2.391, allocations: 3.846 MB / 1.725 GB, free: 89.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004599/2.391, allocations: 109.7 kB / 1.725 GB, free: 89.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/2.393, allocations: 1.733 MB / 1.727 GB, free: 87.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/2.393, allocations: 481.7 kB / 1.727 GB, free: 87.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/2.393, allocations: 44 kB / 1.727 GB, free: 87.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/2.394, allocations: 378.2 kB / 1.728 GB, free: 86.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/2.395, allocations: 0.8241 MB / 1.729 GB, free: 86.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/2.397, allocations: 1.459 MB / 1.73 GB, free: 84.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/2.399, allocations: 2.001 MB / 1.732 GB, free: 82.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/2.399, allocations: 4 kB / 1.732 GB, free: 82.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004378/2.403, allocations: 2.58 MB / 1.735 GB, free: 79.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002405/2.404, allocations: 0.5572 MB / 1.735 GB, free: 78.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/2.404, allocations: 16 kB / 1.735 GB, free: 78.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/2.404, allocations: 88.81 kB / 1.735 GB, free: 78.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/2.405, allocations: 323.3 kB / 1.736 GB, free: 78.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003845/2.405, allocations: 0.6693 MB / 1.736 GB, free: 77.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/2.407, allocations: 250.6 kB / 1.736 GB, free: 77.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/2.408, allocations: 104 kB / 1.737 GB, free: 77.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/2.408, allocations: 9.406 kB / 1.737 GB, free: 77.34 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003126/2.411, allocations: 2.219 MB / 1.739 GB, free: 75.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/2.411, allocations: 16 kB / 1.739 GB, free: 75.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/2.411, allocations: 81.72 kB / 1.739 GB, free: 75.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/2.412, allocations: 323.3 kB / 1.739 GB, free: 74.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003447/2.412, allocations: 0.6615 MB / 1.74 GB, free: 74.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/2.415, allocations: 230.9 kB / 1.74 GB, free: 73.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/2.415, allocations: 108 kB / 1.74 GB, free: 73.69 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.00255/2.417, allocations: 1.11 MB / 1.741 GB, free: 72.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/2.418, allocations: 335.7 kB / 1.741 GB, free: 72.22 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.002621/2.421, allocations: 1.244 MB / 1.743 GB, free: 70.97 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.