Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001012, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.235e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2245, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.706, allocations: 427.7 MB / 1.31 GB, free: 311.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.706, allocations: 92.45 kB / 1.31 GB, free: 311.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5268/2.233, allocations: 284.9 MB / 1.588 GB, free: 23.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/2.233, allocations: 0 / 1.588 GB, free: 23.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003062/2.233, allocations: 87.98 kB / 1.588 GB, free: 23.61 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.005899/2.239, allocations: 3.323 MB / 1.591 GB, free: 20.19 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/2.239, allocations: 8.031 kB / 1.591 GB, free: 20.18 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005501/2.24, allocations: 358.4 kB / 1.592 GB, free: 19.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/2.241, allocations: 0.4983 MB / 1.592 GB, free: 19.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004988/2.246, allocations: 2.804 MB / 1.595 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/2.246, allocations: 255.3 kB / 1.595 GB, free: 16.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003723/2.247, allocations: 275.9 kB / 1.595 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/2.251, allocations: 2.862 MB / 1.598 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/2.251, allocations: 3.938 kB / 1.598 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/2.251, allocations: 116 kB / 1.598 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/2.251, allocations: 68 kB / 1.598 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/2.255, allocations: 2.376 MB / 1.601 GB, free: 10.29 MB / 0.8698 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.5109/2.766, allocations: 13.15 MB / 1.613 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/2.769, allocations: 1.824 MB / 1.615 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/2.771, allocations: 0.8265 MB / 1.616 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/2.772, allocations: 0.87 MB / 1.617 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/2.773, allocations: 1.076 MB / 1.618 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 3.827e-06/2.773, allocations: 0 / 1.618 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.003776/2.777, allocations: 1.907 MB / 1.62 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/2.777, allocations: 157.2 kB / 1.62 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006831/2.784, allocations: 3.454 MB / 1.623 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006704/2.785, allocations: 105.7 kB / 1.623 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/2.787, allocations: 1.734 MB / 1.625 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007457/2.788, allocations: 488.3 kB / 1.626 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/2.788, allocations: 42.19 kB / 1.626 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/2.788, allocations: 390.3 kB / 1.626 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/2.789, allocations: 0.7745 MB / 1.627 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/2.791, allocations: 1.413 MB / 1.628 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/2.792, allocations: 0.8441 MB / 1.629 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/2.792, allocations: 7.875 kB / 1.629 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005175/2.798, allocations: 2.512 MB / 1.631 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/2.799, allocations: 7.131 MB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/2.799, allocations: 16.19 kB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/2.8, allocations: 93.36 kB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/2.801, allocations: 328.5 kB / 1.639 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004627/2.801, allocations: 0.6629 MB / 1.639 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/2.804, allocations: 253.7 kB / 1.64 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/2.804, allocations: 111.2 kB / 1.64 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/2.804, allocations: 7.438 kB / 1.64 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003948/2.808, allocations: 2.172 MB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/2.808, allocations: 19.98 kB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/2.808, allocations: 94.33 kB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/2.81, allocations: 326.3 kB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004216/2.81, allocations: 0.6578 MB / 1.643 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/2.812, allocations: 233.2 kB / 1.643 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/2.812, allocations: 107.4 kB / 1.643 GB, free: 163.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 142 ($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,$PRE.eleFol.opeMod.warUpCtr.timer.yAcc,eleFol.opeMod.warUpCtr.timer.yAcc,$PRE.eleFol.opeMod.timer.yAcc,eleFol.opeMod.timer.yAcc,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.valDat.nextTimeEvent,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,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,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.u2,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.u1,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.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.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,$PRE.eleFol.opeMod.warUpCtr.timer.reset_internal,eleFol.opeMod.warUpCtr.timer.reset_internal,$PRE.eleFol.opeMod.timer.reset_internal,eleFol.opeMod.timer.reset_internal,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 (272): * Single equations (assignments): 271 * 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.0006948/2.813, allocations: 351.2 kB / 1.644 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/2.814, allocations: 339.4 kB / 1.644 GB, free: 163.4 MB / 0.8698 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 198 equation(s) and 197 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/2.817, allocations: 1.186 MB / 1.645 GB, free: 163.4 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.