Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 180.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009521, allocations: 101.1 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.928e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.279, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.532, allocations: 446.3 MB / 1.642 GB, free: 8.289 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.532, allocations: 91.25 kB / 1.642 GB, free: 8.242 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.295/2.827, allocations: 295.2 MB / 1.93 GB, free: 277 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.677e-06/2.827, allocations: 0 / 1.93 GB, free: 277 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006132/2.828, allocations: 95.78 kB / 1.93 GB, free: 276.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.009636/2.837, allocations: 3.415 MB / 1.934 GB, free: 273.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/2.838, allocations: 8.031 kB / 1.934 GB, free: 273.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/2.84, allocations: 0.4982 MB / 1.934 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007843/2.848, allocations: 2.805 MB / 1.937 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/2.849, allocations: 156 kB / 1.937 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/2.85, allocations: 172 kB / 1.937 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006356/2.856, allocations: 2.201 MB / 1.939 GB, free: 267.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007747/2.864, allocations: 2.551 MB / 1.942 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/2.864, allocations: 11.94 kB / 1.942 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006381/2.865, allocations: 11.98 kB / 1.942 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/2.865, allocations: 64 kB / 1.942 GB, free: 264.8 MB / 1.151 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.02092/2.886, allocations: 12.74 MB / 1.954 GB, free: 251.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/2.889, allocations: 1.955 MB / 1.956 GB, free: 249.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/2.89, allocations: 0.9098 MB / 1.957 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/2.891, allocations: 0.8716 MB / 1.958 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/2.893, allocations: 1.144 MB / 1.959 GB, free: 246.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=181): time 4.058e-06/2.893, allocations: 0 / 1.959 GB, free: 246.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=181): time 0.004211/2.897, allocations: 2.037 MB / 1.961 GB, free: 244.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/2.897, allocations: 410 kB / 1.962 GB, free: 244.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/2.902, allocations: 3.126 MB / 1.965 GB, free: 241 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004378/2.903, allocations: 81.69 kB / 1.965 GB, free: 240.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/2.904, allocations: 1.673 MB / 1.966 GB, free: 239.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/2.905, allocations: 0.4892 MB / 1.967 GB, free: 238.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/2.905, allocations: 0 / 1.967 GB, free: 238.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001207/2.905, allocations: 394.4 kB / 1.967 GB, free: 238.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/2.906, allocations: 0.7464 MB / 1.968 GB, free: 237.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/2.907, allocations: 1.36 MB / 1.969 GB, free: 236 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/2.909, allocations: 0.9524 MB / 1.97 GB, free: 235 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/2.909, allocations: 4 kB / 1.97 GB, free: 235 MB / 1.151 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0047/2.914, allocations: 2.459 MB / 1.973 GB, free: 232.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001242/2.915, allocations: 6.858 MB / 1.979 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/2.915, allocations: 16 kB / 1.979 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/2.916, allocations: 84.78 kB / 1.979 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/2.917, allocations: 335.3 kB / 1.98 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004559/2.917, allocations: 0.6654 MB / 1.98 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/2.919, allocations: 198.8 kB / 1.981 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/2.92, allocations: 112 kB / 1.981 GB, free: 223.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/2.92, allocations: 4 kB / 1.981 GB, free: 223.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003671/2.923, allocations: 2.098 MB / 1.983 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/2.923, allocations: 16 kB / 1.983 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/2.923, allocations: 81.61 kB / 1.983 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/2.925, allocations: 335.3 kB / 1.983 GB, free: 221.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/2.925, allocations: 0.6654 MB / 1.984 GB, free: 220.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/2.927, allocations: 174.9 kB / 1.984 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/2.927, allocations: 112 kB / 1.984 GB, free: 220.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 154 ($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,$PRE.eleFol.opeMod.transition3.t_start,eleFol.opeMod.transition3.t_start,$PRE.eleFol.opeMod.transition5.t_start,eleFol.opeMod.transition5.t_start,$PRE.eleFol.opeMod.transition9.t_start,eleFol.opeMod.transition9.t_start,$PRE.eleFol.opeMod.transition7.t_start,eleFol.opeMod.transition7.t_start,$PRE.eleFol.opeMod.transition10.t_start,eleFol.opeMod.transition10.t_start,$PRE.eleFol.opeMod.transition1.t_start,eleFol.opeMod.transition1.t_start,$PRE.eleFol.opeMod.transition2.t_start,eleFol.opeMod.transition2.t_start,$PRE.eleFol.opeMod.transition8.t_start,eleFol.opeMod.transition8.t_start,$PRE.eleFol.opeMod.transition6.t_start,eleFol.opeMod.transition6.t_start,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 (280): * Single equations (assignments): 279 * 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.0006164/2.928, allocations: 281.1 kB / 1.984 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00386/2.932, allocations: 2.025 MB / 1.986 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/2.932, allocations: 335.9 kB / 1.987 GB, free: 217.5 MB / 1.151 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 201 equation(s) and 200 variable(s). Warning: Equation 184 (size: 1) $cse11 = Modelica.Math.BooleanVectors.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.003274/2.936, allocations: 1.286 MB / 1.988 GB, free: 216.2 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.