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.495/2.495, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001652/0.001652, allocations: 184 kB / 0.4901 GB, free: 2.262 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.58/1.58, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009725/0.0009727, allocations: 104.6 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 8 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.632, allocations: 447.8 MB / 1.667 GB, free: 10.64 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.632, allocations: 98.27 kB / 1.667 GB, free: 10.59 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/2.983, allocations: 298.3 MB / 1.958 GB, free: 336.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.417e-06/2.983, allocations: 3.938 kB / 1.958 GB, free: 336.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006804/2.983, allocations: 95.53 kB / 1.958 GB, free: 336.2 MB / 1.167 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.01383/2.997, allocations: 4.067 MB / 1.962 GB, free: 333.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/2.997, allocations: 8.734 kB / 1.962 GB, free: 333.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001857/2.999, allocations: 358.9 kB / 1.962 GB, free: 333.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/3.002, allocations: 0.5017 MB / 1.963 GB, free: 333.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008745/3.011, allocations: 2.831 MB / 1.966 GB, free: 331.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/3.011, allocations: 264 kB / 1.966 GB, free: 331.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/3.013, allocations: 280.6 kB / 1.966 GB, free: 331.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/3.021, allocations: 2.977 MB / 1.969 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/3.021, allocations: 6.625 kB / 1.969 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/3.021, allocations: 110.3 kB / 1.969 GB, free: 329.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/3.021, allocations: 65.44 kB / 1.969 GB, free: 329.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/3.026, allocations: 2.505 MB / 1.972 GB, free: 328.9 MB / 1.167 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.02055/3.046, allocations: 13.23 MB / 1.985 GB, free: 318.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/3.05, allocations: 2.184 MB / 1.987 GB, free: 317.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/3.052, allocations: 0.8763 MB / 1.988 GB, free: 316.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/3.054, allocations: 1.251 MB / 1.989 GB, free: 315.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=181): time 3.617e-06/3.054, allocations: 0 / 1.989 GB, free: 315.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=181): time 0.00643/3.06, allocations: 2.98 MB / 1.992 GB, free: 314.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/3.06, allocations: 411.1 kB / 1.992 GB, free: 313.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/3.068, allocations: 3.43 MB / 1.995 GB, free: 312.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009353/3.069, allocations: 118 kB / 1.996 GB, free: 312 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002287/3.071, allocations: 1.69 MB / 1.997 GB, free: 310.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/3.073, allocations: 0.5109 MB / 1.998 GB, free: 310 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/3.073, allocations: 44 kB / 1.998 GB, free: 310 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000198/3.073, allocations: 390.4 kB / 1.998 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/3.075, allocations: 0.8438 MB / 1.999 GB, free: 308.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/3.077, allocations: 1.479 MB / 2 GB, free: 307 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/3.078, allocations: 0.8981 MB / 2.001 GB, free: 306.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/3.078, allocations: 4 kB / 2.001 GB, free: 306.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005493/3.084, allocations: 2.646 MB / 2.004 GB, free: 303.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001513/3.085, allocations: 6.908 MB / 2.011 GB, free: 296 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/3.085, allocations: 16 kB / 2.011 GB, free: 296 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/3.086, allocations: 88.77 kB / 2.011 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/3.087, allocations: 339.3 kB / 2.011 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004548/3.087, allocations: 0.6654 MB / 2.012 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/3.09, allocations: 254.5 kB / 2.012 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/3.09, allocations: 112 kB / 2.012 GB, free: 294.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/3.09, allocations: 5.25 kB / 2.012 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003536/3.094, allocations: 2.285 MB / 2.014 GB, free: 292.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/3.094, allocations: 16 kB / 2.014 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/3.094, allocations: 84.83 kB / 2.014 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/3.095, allocations: 335.9 kB / 2.015 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003923/3.095, allocations: 0.6654 MB / 2.015 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/3.098, allocations: 234.8 kB / 2.016 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/3.098, allocations: 112 kB / 2.016 GB, free: 290.8 MB / 1.167 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 () * Number of clocked 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.002566/3.1, allocations: 1.127 MB / 2.017 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009236/3.101, allocations: 339.7 kB / 2.017 GB, free: 289.3 MB / 1.167 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.002741/3.104, allocations: 1.262 MB / 2.018 GB, free: 288.1 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.