Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.243/2.243, allocations: 248.5 MB / 261.1 MB, free: 5.93 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.001517/0.001516, allocations: 180.4 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.00114/0.00114, allocations: 101.4 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.321e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1982, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.919/2.117, allocations: 427.6 MB / 1.308 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/2.118, allocations: 91.72 kB / 1.308 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9174/3.035, allocations: 284.9 MB / 1.587 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.913e-06/3.035, allocations: 0 / 1.587 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005697/3.036, allocations: 87.92 kB / 1.587 GB, free: 6.863 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.00981/3.045, allocations: 3.331 MB / 1.59 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/3.045, allocations: 8.031 kB / 1.59 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001229/3.047, allocations: 358.3 kB / 1.59 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/3.049, allocations: 0.4944 MB / 1.591 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6735/3.723, allocations: 2.803 MB / 1.593 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/3.723, allocations: 251.8 kB / 1.594 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/3.724, allocations: 272.6 kB / 1.594 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/3.735, allocations: 2.874 MB / 1.597 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/3.735, allocations: 6.406 kB / 1.597 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005851/3.736, allocations: 109 kB / 1.597 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/3.736, allocations: 66.14 kB / 1.597 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009043/3.745, allocations: 2.384 MB / 1.599 GB, free: 180.5 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.03153/3.776, allocations: 13.15 MB / 1.612 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005663/3.782, allocations: 1.812 MB / 1.614 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00247/3.785, allocations: 0.8286 MB / 1.615 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/3.787, allocations: 0.8702 MB / 1.616 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003402/3.79, allocations: 1.074 MB / 1.617 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 7.684e-06/3.79, allocations: 2.938 kB / 1.617 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.007446/3.798, allocations: 1.898 MB / 1.618 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/3.798, allocations: 161.6 kB / 1.619 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/3.809, allocations: 3.451 MB / 1.622 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000757/3.809, allocations: 106.3 kB / 1.622 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/3.812, allocations: 1.733 MB / 1.624 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/3.813, allocations: 487.7 kB / 1.624 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/3.814, allocations: 43.94 kB / 1.624 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001944/3.814, allocations: 387.7 kB / 1.625 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/3.816, allocations: 0.7769 MB / 1.625 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/3.82, allocations: 1.419 MB / 1.627 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/3.823, allocations: 0.8392 MB / 1.628 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-05/3.823, allocations: 5.062 kB / 1.628 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.008504/3.831, allocations: 2.511 MB / 1.63 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001643/3.833, allocations: 7.132 MB / 1.637 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.87e-05/3.833, allocations: 18.53 kB / 1.637 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/3.834, allocations: 90.78 kB / 1.637 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/3.836, allocations: 331.4 kB / 1.637 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007569/3.837, allocations: 0.6689 MB / 1.638 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/3.841, allocations: 257.4 kB / 1.638 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007578/3.842, allocations: 110.1 kB / 1.638 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/3.842, allocations: 3.5 kB / 1.638 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007055/3.849, allocations: 2.175 MB / 1.641 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/3.849, allocations: 19.16 kB / 1.641 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/3.849, allocations: 93.91 kB / 1.641 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/3.852, allocations: 327.2 kB / 1.641 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000678/3.853, allocations: 0.6542 MB / 1.642 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/3.856, allocations: 230.5 kB / 1.642 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007364/3.857, allocations: 107.9 kB / 1.642 GB, free: 163.6 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.001032/3.858, allocations: 343.6 kB / 1.642 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/3.859, allocations: 340.6 kB / 1.643 GB, free: 163.3 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.004832/3.864, allocations: 1.192 MB / 1.644 GB, free: 163.2 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.