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.441/2.441, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001146/0.001146, allocations: 181 kB / 498.1 MB, free: 5.723 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.643/1.643, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.001094/0.001094, allocations: 99.89 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003886, allocations: 10.81 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.537, allocations: 447 MB / 1.659 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/1.537, allocations: 101.3 kB / 1.66 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.233/2.771, allocations: 298.3 MB / 1.951 GB, free: 341.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/2.771, allocations: 0 / 1.951 GB, free: 341.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004201/2.771, allocations: 91.23 kB / 1.951 GB, free: 341.6 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.008854/2.78, allocations: 4.076 MB / 1.955 GB, free: 339.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/2.78, allocations: 10.16 kB / 1.955 GB, free: 339.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009845/2.781, allocations: 354 kB / 1.955 GB, free: 339.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/2.783, allocations: 0.5041 MB / 1.956 GB, free: 339.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006152/2.789, allocations: 2.82 MB / 1.959 GB, free: 338.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/2.79, allocations: 261.5 kB / 1.959 GB, free: 338.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008439/2.79, allocations: 279.3 kB / 1.959 GB, free: 338.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/2.797, allocations: 2.985 MB / 1.962 GB, free: 338.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/2.797, allocations: 7.656 kB / 1.962 GB, free: 338.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/2.797, allocations: 114.2 kB / 1.962 GB, free: 338.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/2.797, allocations: 63.88 kB / 1.962 GB, free: 338.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004132/2.801, allocations: 2.506 MB / 1.965 GB, free: 338 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.01797/2.819, allocations: 13.22 MB / 1.977 GB, free: 330.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/2.823, allocations: 2.196 MB / 1.98 GB, free: 329.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/2.824, allocations: 0.8701 MB / 1.98 GB, free: 328.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/2.826, allocations: 1.255 MB / 1.982 GB, free: 328.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=181): time 3.546e-06/2.826, allocations: 0 / 1.982 GB, free: 328.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=181): time 0.005354/2.831, allocations: 2.981 MB / 1.985 GB, free: 326.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/2.831, allocations: 405.4 kB / 1.985 GB, free: 326.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00526/2.837, allocations: 3.431 MB / 1.988 GB, free: 325.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000477/2.837, allocations: 124.2 kB / 1.988 GB, free: 325 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/2.839, allocations: 1.68 MB / 1.99 GB, free: 323.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006249/2.839, allocations: 0.514 MB / 1.991 GB, free: 323.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/2.839, allocations: 45.31 kB / 1.991 GB, free: 323.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001119/2.839, allocations: 391.2 kB / 1.991 GB, free: 323 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/2.841, allocations: 0.849 MB / 1.992 GB, free: 322.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/2.842, allocations: 1.47 MB / 1.993 GB, free: 321.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/2.844, allocations: 0.8992 MB / 1.994 GB, free: 321.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/2.844, allocations: 3.125 kB / 1.994 GB, free: 321.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004713/2.849, allocations: 2.647 MB / 1.997 GB, free: 320 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001124/2.85, allocations: 6.907 MB / 2.004 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/2.85, allocations: 14.97 kB / 2.004 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/2.85, allocations: 92.39 kB / 2.004 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/2.851, allocations: 345.4 kB / 2.004 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004068/2.852, allocations: 0.6551 MB / 2.005 GB, free: 312.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/2.853, allocations: 257.3 kB / 2.005 GB, free: 312 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/2.854, allocations: 106.6 kB / 2.005 GB, free: 311.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/2.854, allocations: 3.906 kB / 2.005 GB, free: 311.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00326/2.857, allocations: 2.283 MB / 2.007 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/2.857, allocations: 14.47 kB / 2.007 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/2.857, allocations: 93.27 kB / 2.007 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/2.858, allocations: 330.6 kB / 2.008 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003644/2.859, allocations: 0.6717 MB / 2.008 GB, free: 310.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/2.861, allocations: 240.3 kB / 2.008 GB, free: 310.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/2.861, allocations: 107.5 kB / 2.009 GB, free: 310.2 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.002541/2.864, allocations: 1.128 MB / 2.01 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009105/2.864, allocations: 349 kB / 2.01 GB, free: 309.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.002716/2.867, allocations: 1.245 MB / 2.011 GB, free: 308.8 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.