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.318/2.318, allocations: 390.5 MB / 398 MB, free: 10.94 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.001321/0.001321, allocations: 176.9 kB / 491.2 MB, free: 1.551 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.555/1.555, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009247/0.0009248, allocations: 91.03 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 1.875 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3108, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.701, allocations: 447.1 MB / 1.649 GB, free: 15.84 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.701, allocations: 94.48 kB / 1.649 GB, free: 15.79 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.72/3.421, allocations: 295.2 MB / 1.937 GB, free: 265.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/3.421, allocations: 3.938 kB / 1.937 GB, free: 265.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002819/3.422, allocations: 87.28 kB / 1.938 GB, free: 265.2 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.005757/3.427, allocations: 3.412 MB / 1.941 GB, free: 261.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/3.427, allocations: 12.03 kB / 1.941 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/3.429, allocations: 0.506 MB / 1.941 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004476/3.433, allocations: 2.793 MB / 1.944 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/3.433, allocations: 154.8 kB / 1.944 GB, free: 258.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/3.434, allocations: 183.7 kB / 1.944 GB, free: 258.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003453/3.437, allocations: 2.205 MB / 1.947 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/3.441, allocations: 2.539 MB / 1.949 GB, free: 253.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/3.441, allocations: 7.938 kB / 1.949 GB, free: 253.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/3.441, allocations: 11.98 kB / 1.949 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.058e-05/3.441, allocations: 68 kB / 1.949 GB, free: 253.1 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.01425/3.455, allocations: 12.75 MB / 1.962 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/3.458, allocations: 1.961 MB / 1.963 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/3.459, allocations: 0.8981 MB / 1.964 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/3.46, allocations: 0.8685 MB / 1.965 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/3.462, allocations: 1.145 MB / 1.966 GB, free: 234.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=181): time 3.277e-06/3.462, allocations: 4 kB / 1.966 GB, free: 234.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=181): time 0.003803/3.466, allocations: 2.037 MB / 1.968 GB, free: 232.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/3.466, allocations: 405 kB / 1.969 GB, free: 232.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/3.47, allocations: 3.122 MB / 1.972 GB, free: 229.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/3.47, allocations: 85.69 kB / 1.972 GB, free: 229.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/3.471, allocations: 1.679 MB / 1.973 GB, free: 227.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/3.472, allocations: 0.4892 MB / 1.974 GB, free: 227 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/3.472, allocations: 0 / 1.974 GB, free: 227 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001103/3.472, allocations: 386.4 kB / 1.974 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/3.473, allocations: 0.7464 MB / 1.975 GB, free: 225.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/3.474, allocations: 1.356 MB / 1.976 GB, free: 224.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/3.476, allocations: 0.9563 MB / 1.977 GB, free: 223.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/3.476, allocations: 4 kB / 1.977 GB, free: 223.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0042/3.48, allocations: 2.471 MB / 1.98 GB, free: 220.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001415/3.482, allocations: 6.855 MB / 1.986 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/3.482, allocations: 16 kB / 1.986 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/3.482, allocations: 84.83 kB / 1.987 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/3.483, allocations: 343.2 kB / 1.987 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000392/3.484, allocations: 0.6693 MB / 1.988 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/3.485, allocations: 194.7 kB / 1.988 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/3.486, allocations: 112 kB / 1.988 GB, free: 212 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/3.486, allocations: 4 kB / 1.988 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003321/3.489, allocations: 2.094 MB / 1.99 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/3.489, allocations: 19.95 kB / 1.99 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/3.489, allocations: 80.83 kB / 1.99 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/3.49, allocations: 332 kB / 1.99 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003523/3.49, allocations: 0.6615 MB / 1.991 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/3.492, allocations: 178.9 kB / 1.991 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/3.492, allocations: 115.9 kB / 1.991 GB, free: 208.5 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.0005113/3.493, allocations: 283.4 kB / 1.991 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003481/3.496, allocations: 2.025 MB / 1.993 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/3.497, allocations: 324.2 kB / 1.994 GB, free: 205.8 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.003171/3.5, allocations: 1.303 MB / 1.995 GB, free: 204.5 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.