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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001298/0.001298, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.483/1.483, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008926/0.0008926, allocations: 92.58 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.045e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6357, allocations: 116.3 MB / 0.9732 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9566/1.592, allocations: 434.9 MB / 1.398 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.593, allocations: 93.88 kB / 1.398 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.08/2.673, allocations: 288.9 MB / 1.68 GB, free: 235.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.202e-06/2.673, allocations: 0 / 1.68 GB, free: 235.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005052/2.674, allocations: 80.78 kB / 1.68 GB, free: 235.5 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.008897/2.683, allocations: 3.302 MB / 1.683 GB, free: 233.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/2.683, allocations: 9.562 kB / 1.683 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/2.685, allocations: 0.4941 MB / 1.684 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006606/2.692, allocations: 2.801 MB / 1.687 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/2.692, allocations: 156.5 kB / 1.687 GB, free: 233 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008147/2.693, allocations: 173.1 kB / 1.687 GB, free: 233 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004955/2.698, allocations: 2.195 MB / 1.689 GB, free: 233 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/2.704, allocations: 2.51 MB / 1.692 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.051e-05/2.704, allocations: 6.594 kB / 1.692 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/2.704, allocations: 13.72 kB / 1.692 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/2.704, allocations: 68.77 kB / 1.692 GB, free: 232.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01814/2.722, allocations: 12.67 MB / 1.704 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/2.725, allocations: 1.739 MB / 1.706 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/2.726, allocations: 0.7918 MB / 1.706 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/2.727, allocations: 0.8699 MB / 1.707 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/2.729, allocations: 1.029 MB / 1.708 GB, free: 226.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 3.937e-06/2.729, allocations: 0 / 1.708 GB, free: 226.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.004201/2.733, allocations: 1.957 MB / 1.71 GB, free: 226.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/2.733, allocations: 160.3 kB / 1.71 GB, free: 226.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005933/2.739, allocations: 3.169 MB / 1.714 GB, free: 225.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/2.74, allocations: 73.28 kB / 1.714 GB, free: 225.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/2.741, allocations: 1.714 MB / 1.715 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/2.742, allocations: 460 kB / 1.716 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/2.742, allocations: 3 kB / 1.716 GB, free: 224.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001328/2.742, allocations: 389.6 kB / 1.716 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/2.743, allocations: 0.7282 MB / 1.717 GB, free: 223.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/2.745, allocations: 1.335 MB / 1.718 GB, free: 222.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/2.746, allocations: 0.9238 MB / 1.719 GB, free: 222 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/2.746, allocations: 7.062 kB / 1.719 GB, free: 222 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004572/2.751, allocations: 2.417 MB / 1.721 GB, free: 221.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001362/2.752, allocations: 6.882 MB / 1.728 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/2.752, allocations: 16.91 kB / 1.728 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/2.753, allocations: 84.39 kB / 1.728 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/2.754, allocations: 330.1 kB / 1.728 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004106/2.754, allocations: 0.6629 MB / 1.729 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/2.756, allocations: 196.7 kB / 1.729 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/2.756, allocations: 103 kB / 1.729 GB, free: 213.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/2.756, allocations: 4.594 kB / 1.729 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003525/2.76, allocations: 2.052 MB / 1.731 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/2.76, allocations: 16.12 kB / 1.731 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/2.76, allocations: 87.33 kB / 1.732 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/2.761, allocations: 315.8 kB / 1.732 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003941/2.762, allocations: 0.6646 MB / 1.732 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/2.764, allocations: 174.3 kB / 1.733 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/2.764, allocations: 108.5 kB / 1.733 GB, free: 211.8 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 () * 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.0005802/2.765, allocations: 262.5 kB / 1.733 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009032/2.766, allocations: 328.4 kB / 1.733 GB, free: 211.4 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). Warning: Equation 179 (size: 1) $cse11 = Modelica.StateGraph.Temporary.anyTrue({eleFol.opeMod.transition3.enableFire, eleFol.opeMod.transition5.enableFire, eleFol.opeMod.transition10.enableFire}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/2.77, allocations: 1.272 MB / 1.735 GB, free: 210.9 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.