Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 253.2 MB / 260.6 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001976/0.001976, allocations: 177.6 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 85.02 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.944e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2375, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.919/2.156, allocations: 427.8 MB / 1.306 GB, free: 257 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/2.157, allocations: 89.83 kB / 1.307 GB, free: 257 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9625/3.119, allocations: 283 MB / 1.583 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/3.119, allocations: 0 / 1.583 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006518/3.12, allocations: 87.98 kB / 1.583 GB, free: 13.52 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.01041/3.13, allocations: 3.331 MB / 1.586 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/3.13, allocations: 8.031 kB / 1.586 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/3.133, allocations: 0.4983 MB / 1.587 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009528/3.143, allocations: 2.804 MB / 1.589 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/3.143, allocations: 158.7 kB / 1.59 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/3.144, allocations: 167.9 kB / 1.59 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007481/3.152, allocations: 2.197 MB / 1.592 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008721/3.16, allocations: 2.505 MB / 1.594 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/3.161, allocations: 7.938 kB / 1.594 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/3.161, allocations: 7.984 kB / 1.594 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/3.161, allocations: 67.94 kB / 1.594 GB, free: 1.406 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.7336/3.895, allocations: 12.67 MB / 1.607 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/3.9, allocations: 1.743 MB / 1.608 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/3.903, allocations: 0.781 MB / 1.609 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002009/3.905, allocations: 0.8674 MB / 1.61 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003135/3.908, allocations: 1.029 MB / 1.611 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 6.462e-06/3.908, allocations: 3.891 kB / 1.611 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.007291/3.915, allocations: 1.945 MB / 1.613 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/3.915, allocations: 161.9 kB / 1.613 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009266/3.925, allocations: 3.173 MB / 1.616 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007177/3.926, allocations: 72.25 kB / 1.616 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002639/3.928, allocations: 1.724 MB / 1.618 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/3.929, allocations: 466.5 kB / 1.618 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/3.929, allocations: 0 / 1.618 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001862/3.93, allocations: 391.3 kB / 1.619 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/3.932, allocations: 0.7343 MB / 1.62 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/3.934, allocations: 1.357 MB / 1.621 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/3.938, allocations: 0.9346 MB / 1.622 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-05/3.938, allocations: 5.438 kB / 1.622 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.009379/3.948, allocations: 2.448 MB / 1.624 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001658/3.949, allocations: 7.073 MB / 1.631 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.612e-05/3.95, allocations: 16.94 kB / 1.631 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/3.95, allocations: 82.72 kB / 1.631 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/3.953, allocations: 328.8 kB / 1.631 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007585/3.954, allocations: 0.6688 MB / 1.632 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/3.957, allocations: 189.5 kB / 1.632 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006609/3.958, allocations: 116.9 kB / 1.632 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/3.958, allocations: 4.375 kB / 1.632 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007667/3.966, allocations: 2.066 MB / 1.634 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.47e-05/3.966, allocations: 23.09 kB / 1.634 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/3.966, allocations: 86.52 kB / 1.635 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/3.969, allocations: 325 kB / 1.635 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/3.969, allocations: 0.6644 MB / 1.636 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/3.973, allocations: 169.7 kB / 1.636 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/3.973, allocations: 111.9 kB / 1.636 GB, free: 169.3 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.0009473/3.974, allocations: 273 kB / 1.636 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/3.976, allocations: 323.8 kB / 1.636 GB, free: 169 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). Warning: Equation 181 (size: 1) $cse11 = Modelica.StateGraph.Temporary.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.005965/3.982, allocations: 1.278 MB / 1.638 GB, free: 168.9 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.