Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.84/2.84, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001566/0.001565, allocations: 180.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001222/0.001222, allocations: 101.1 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005116, allocations: 10.94 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2229, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.571, allocations: 434.5 MB / 1.403 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/1.571, allocations: 99.39 kB / 1.403 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/3.249, allocations: 291.9 MB / 1.688 GB, free: 128.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.444e-06/3.249, allocations: 4 kB / 1.688 GB, free: 128.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005505/3.25, allocations: 83.98 kB / 1.688 GB, free: 128.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.01375/3.264, allocations: 3.963 MB / 1.692 GB, free: 124.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/3.264, allocations: 8.031 kB / 1.692 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001685/3.266, allocations: 358.2 kB / 1.692 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/3.269, allocations: 0.506 MB / 1.693 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009755/3.278, allocations: 2.815 MB / 1.695 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005698/3.279, allocations: 251.3 kB / 1.696 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/3.28, allocations: 272 kB / 1.696 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009623/3.29, allocations: 2.938 MB / 1.699 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/3.29, allocations: 11.94 kB / 1.699 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/3.291, allocations: 115.9 kB / 1.699 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.517e-05/3.291, allocations: 64 kB / 1.699 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00973/3.301, allocations: 2.481 MB / 1.701 GB, free: 114.3 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.02736/3.328, allocations: 13.15 MB / 1.714 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/3.334, allocations: 1.961 MB / 1.716 GB, free: 98.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/3.336, allocations: 0.8678 MB / 1.717 GB, free: 97.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002851/3.339, allocations: 1.14 MB / 1.718 GB, free: 96.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 4.278e-06/3.339, allocations: 4 kB / 1.718 GB, free: 96.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.008277/3.347, allocations: 2.862 MB / 1.721 GB, free: 93.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/3.347, allocations: 162.4 kB / 1.721 GB, free: 93.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007485/3.355, allocations: 3.48 MB / 1.724 GB, free: 90.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006778/3.355, allocations: 109.7 kB / 1.724 GB, free: 89.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/3.357, allocations: 1.725 MB / 1.726 GB, free: 88.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007326/3.358, allocations: 484.2 kB / 1.727 GB, free: 87.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/3.358, allocations: 48 kB / 1.727 GB, free: 87.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001456/3.358, allocations: 386.1 kB / 1.727 GB, free: 87.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/3.361, allocations: 0.8241 MB / 1.728 GB, free: 86.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/3.364, allocations: 1.45 MB / 1.729 GB, free: 84.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/3.366, allocations: 0.8648 MB / 1.73 GB, free: 83.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/3.366, allocations: 4 kB / 1.73 GB, free: 83.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.00689/3.373, allocations: 2.584 MB / 1.733 GB, free: 81.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/3.374, allocations: 6.933 MB / 1.739 GB, free: 73.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/3.374, allocations: 12 kB / 1.739 GB, free: 73.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/3.375, allocations: 92.75 kB / 1.739 GB, free: 73.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/3.377, allocations: 327.3 kB / 1.74 GB, free: 73.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005883/3.378, allocations: 0.6616 MB / 1.74 GB, free: 72.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/3.381, allocations: 250.5 kB / 1.741 GB, free: 72.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/3.381, allocations: 108 kB / 1.741 GB, free: 72.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/3.381, allocations: 6.031 kB / 1.741 GB, free: 72.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005662/3.387, allocations: 2.219 MB / 1.743 GB, free: 70.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/3.387, allocations: 16 kB / 1.743 GB, free: 70.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/3.387, allocations: 88.81 kB / 1.743 GB, free: 70.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/3.389, allocations: 319.3 kB / 1.743 GB, free: 69.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005203/3.39, allocations: 0.6733 MB / 1.744 GB, free: 69.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/3.393, allocations: 222.9 kB / 1.744 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/3.393, allocations: 108 kB / 1.744 GB, free: 68.77 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.002954/3.396, allocations: 1.114 MB / 1.745 GB, free: 67.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009461/3.397, allocations: 343.6 kB / 1.746 GB, free: 67.29 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.004015/3.401, allocations: 1.248 MB / 1.747 GB, free: 66.04 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.