Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001436/0.001436, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.3 MB / 0.7915 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 88.02 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.714e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3056, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.476, allocations: 447.8 MB / 1.656 GB, free: 2.566 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.476, allocations: 88.45 kB / 1.656 GB, free: 2.48 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 1.214/2.69, allocations: 297.2 MB / 1.946 GB, free: 181.4 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.954e-06/2.69, allocations: 0 / 1.946 GB, free: 181.4 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0005548/2.691, allocations: 91.92 kB / 1.947 GB, free: 181.4 MB / 1.135 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.00964/2.7, allocations: 3.413 MB / 1.95 GB, free: 177.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/2.701, allocations: 8.031 kB / 1.95 GB, free: 177.8 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001488/2.702, allocations: 358.5 kB / 1.95 GB, free: 177.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/2.704, allocations: 0.4905 MB / 1.951 GB, free: 177 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007182/2.712, allocations: 2.807 MB / 1.953 GB, free: 174.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/2.712, allocations: 251.3 kB / 1.954 GB, free: 173.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/2.713, allocations: 284 kB / 1.954 GB, free: 173.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008244/2.721, allocations: 2.905 MB / 1.957 GB, free: 170.5 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/2.722, allocations: 7.938 kB / 1.957 GB, free: 170.5 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/2.722, allocations: 112 kB / 1.957 GB, free: 170.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/2.722, allocations: 64 kB / 1.957 GB, free: 170.3 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/2.726, allocations: 2.392 MB / 1.959 GB, free: 167.9 MB / 1.135 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.01584/2.742, allocations: 13.23 MB / 1.972 GB, free: 154.3 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/2.745, allocations: 2.052 MB / 1.974 GB, free: 152.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/2.746, allocations: 0.9513 MB / 1.975 GB, free: 151.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/2.747, allocations: 0.8718 MB / 1.976 GB, free: 150.1 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/2.749, allocations: 1.2 MB / 1.977 GB, free: 148.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=181): time 3.867e-06/2.749, allocations: 0 / 1.977 GB, free: 148.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=181): time 0.00366/2.752, allocations: 2.009 MB / 1.979 GB, free: 146.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/2.752, allocations: 401.8 kB / 1.98 GB, free: 146.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/2.758, allocations: 3.4 MB / 1.983 GB, free: 143 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0005047/2.758, allocations: 118 kB / 1.983 GB, free: 142.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/2.76, allocations: 1.69 MB / 1.985 GB, free: 141.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/2.76, allocations: 0.5166 MB / 1.985 GB, free: 140.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/2.76, allocations: 44 kB / 1.985 GB, free: 140.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001271/2.76, allocations: 386.4 kB / 1.986 GB, free: 140.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/2.762, allocations: 0.7932 MB / 1.986 GB, free: 139.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/2.763, allocations: 1.419 MB / 1.988 GB, free: 137.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/2.764, allocations: 0.8531 MB / 1.989 GB, free: 136.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/2.764, allocations: 4 kB / 1.989 GB, free: 136.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003943/2.768, allocations: 2.537 MB / 1.991 GB, free: 134.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001269/2.77, allocations: 6.909 MB / 1.998 GB, free: 126.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/2.77, allocations: 16 kB / 1.998 GB, free: 126.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/2.77, allocations: 92.81 kB / 1.998 GB, free: 126.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/2.771, allocations: 343.3 kB / 1.998 GB, free: 126.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/2.772, allocations: 0.6576 MB / 1.999 GB, free: 125.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/2.774, allocations: 254.5 kB / 1.999 GB, free: 125.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/2.774, allocations: 112 kB / 1.999 GB, free: 125.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/2.774, allocations: 4 kB / 1.999 GB, free: 125.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003163/2.777, allocations: 2.203 MB / 2.001 GB, free: 123.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/2.777, allocations: 19.95 kB / 2.001 GB, free: 123.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/2.777, allocations: 92.81 kB / 2.001 GB, free: 123.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/2.779, allocations: 331.9 kB / 2.002 GB, free: 122.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003835/2.779, allocations: 0.6577 MB / 2.002 GB, free: 122.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/2.781, allocations: 242.7 kB / 2.003 GB, free: 121.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/2.781, allocations: 108 kB / 2.003 GB, free: 121.8 MB / 1.135 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.0008164/2.782, allocations: 351.4 kB / 2.003 GB, free: 121.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/2.784, allocations: 343.6 kB / 2.003 GB, free: 121.1 MB / 1.135 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). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/2.788, allocations: 1.204 MB / 2.005 GB, free: 119.8 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.