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: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 289.7 MB / 302.2 MB, free: 2.113 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.00108/0.00108, allocations: 180.7 kB / 371.6 MB, free: 3.414 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.65/1.65, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009504/0.0009504, allocations: 91.19 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.05e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2854, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.744/2.03, allocations: 435.5 MB / 1.405 GB, free: 260.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/2.03, allocations: 95.5 kB / 1.405 GB, free: 260.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5827/2.613, allocations: 290.9 MB / 1.689 GB, free: 55.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.153e-06/2.613, allocations: 0 / 1.689 GB, free: 55.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004563/2.613, allocations: 83.98 kB / 1.689 GB, free: 55.26 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.00774/2.621, allocations: 3.31 MB / 1.693 GB, free: 51.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/2.621, allocations: 8.031 kB / 1.693 GB, free: 51.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/2.622, allocations: 346.3 kB / 1.693 GB, free: 51.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/2.624, allocations: 0.4982 MB / 1.693 GB, free: 50.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/2.63, allocations: 2.792 MB / 1.696 GB, free: 48.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/2.63, allocations: 255.2 kB / 1.696 GB, free: 47.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/2.63, allocations: 268 kB / 1.697 GB, free: 47.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/2.635, allocations: 2.873 MB / 1.7 GB, free: 44.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/2.635, allocations: 11.88 kB / 1.7 GB, free: 44.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/2.635, allocations: 111.9 kB / 1.7 GB, free: 44.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/2.635, allocations: 67.98 kB / 1.7 GB, free: 44.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/2.638, allocations: 2.372 MB / 1.702 GB, free: 41.98 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.01362/2.652, allocations: 13.16 MB / 1.715 GB, free: 28.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/2.655, allocations: 1.825 MB / 1.717 GB, free: 26.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/2.656, allocations: 0.8326 MB / 1.717 GB, free: 25.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/2.657, allocations: 0.8717 MB / 1.718 GB, free: 24.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/2.658, allocations: 1.086 MB / 1.719 GB, free: 23.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 3.146e-06/2.658, allocations: 0 / 1.719 GB, free: 23.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.003254/2.661, allocations: 1.916 MB / 1.721 GB, free: 21.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/2.661, allocations: 158.5 kB / 1.721 GB, free: 21.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/2.667, allocations: 3.444 MB / 1.725 GB, free: 18.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004491/2.667, allocations: 105.7 kB / 1.725 GB, free: 18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/2.668, allocations: 1.725 MB / 1.727 GB, free: 16.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/2.669, allocations: 485.6 kB / 1.727 GB, free: 15.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/2.669, allocations: 40 kB / 1.727 GB, free: 15.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/2.669, allocations: 386.1 kB / 1.727 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/2.67, allocations: 0.7697 MB / 1.728 GB, free: 14.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/2.672, allocations: 1.391 MB / 1.73 GB, free: 12.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/2.673, allocations: 0.8382 MB / 1.73 GB, free: 12.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/2.673, allocations: 4 kB / 1.73 GB, free: 12.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004139/2.677, allocations: 2.482 MB / 1.733 GB, free: 9.582 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/2.678, allocations: 6.922 MB / 1.74 GB, free: 2.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/2.678, allocations: 20 kB / 1.74 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/2.678, allocations: 88.77 kB / 1.74 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/2.679, allocations: 327.3 kB / 1.74 GB, free: 1.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004331/2.68, allocations: 0.6577 MB / 1.741 GB, free: 1.066 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/2.682, allocations: 258.4 kB / 1.741 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/2.682, allocations: 116 kB / 1.741 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/2.682, allocations: 7.938 kB / 1.741 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6439/3.326, allocations: 2.14 MB / 1.743 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/3.326, allocations: 20.66 kB / 1.743 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/3.326, allocations: 90.23 kB / 1.743 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/3.327, allocations: 320.9 kB / 1.743 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004406/3.328, allocations: 0.6548 MB / 1.744 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/3.33, allocations: 228.4 kB / 1.744 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/3.331, allocations: 108.2 kB / 1.744 GB, free: 186.1 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.000692/3.331, allocations: 330.1 kB / 1.745 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/3.332, allocations: 337 kB / 1.745 GB, free: 186 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.002887/3.335, allocations: 1.187 MB / 1.746 GB, free: 185.9 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.