Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.528/2.528, allocations: 284.8 MB / 297.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 176.9 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 98.34 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.265e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7965, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/2.154, allocations: 434.4 MB / 1.394 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/2.154, allocations: 94.56 kB / 1.394 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.709/3.863, allocations: 290.8 MB / 1.678 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.994e-06/3.863, allocations: 0 / 1.678 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005221/3.863, allocations: 97.69 kB / 1.678 GB, free: 226.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 639 * Number of variables: 639 Notification: Performance of Generate backend data structure: time 0.00926/3.873, allocations: 3.3 MB / 1.682 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/3.873, allocations: 9.719 kB / 1.682 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/3.875, allocations: 0.4962 MB / 1.682 GB, free: 224.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008437/3.884, allocations: 2.795 MB / 1.685 GB, free: 224.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/3.884, allocations: 245.2 kB / 1.685 GB, free: 224.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000751/3.885, allocations: 277.4 kB / 1.685 GB, free: 224.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007502/3.892, allocations: 2.87 MB / 1.688 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.354e-05/3.892, allocations: 16.22 kB / 1.688 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/3.893, allocations: 107.1 kB / 1.688 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.093e-05/3.893, allocations: 68.91 kB / 1.688 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006747/3.9, allocations: 2.371 MB / 1.691 GB, free: 223.5 MB / 0.9323 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.0262/3.926, allocations: 13.15 MB / 1.703 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/3.931, allocations: 1.83 MB / 1.705 GB, free: 215.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/3.933, allocations: 0.8351 MB / 1.706 GB, free: 215.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/3.935, allocations: 0.8687 MB / 1.707 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00269/3.937, allocations: 1.08 MB / 1.708 GB, free: 214 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=167): time 5.751e-06/3.937, allocations: 0 / 1.708 GB, free: 214 MB / 0.9323 GB Notification: Performance of matching and sorting (n=167): time 0.006305/3.944, allocations: 1.918 MB / 1.71 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/3.944, allocations: 161.1 kB / 1.71 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008055/3.952, allocations: 3.451 MB / 1.713 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006433/3.953, allocations: 106.8 kB / 1.713 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002179/3.955, allocations: 1.718 MB / 1.715 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008893/3.956, allocations: 483 kB / 1.716 GB, free: 210 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/3.956, allocations: 43 kB / 1.716 GB, free: 210 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000146/3.956, allocations: 386.4 kB / 1.716 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/3.958, allocations: 0.7646 MB / 1.717 GB, free: 209.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/3.96, allocations: 1.404 MB / 1.718 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/3.962, allocations: 0.8268 MB / 1.719 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/3.962, allocations: 7.25 kB / 1.719 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.006266/3.969, allocations: 2.488 MB / 1.721 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001356/3.97, allocations: 6.924 MB / 1.728 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/3.97, allocations: 14.28 kB / 1.728 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/3.971, allocations: 92.69 kB / 1.728 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/3.973, allocations: 326.4 kB / 1.729 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005875/3.974, allocations: 0.6609 MB / 1.729 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/3.977, allocations: 259.8 kB / 1.729 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/3.977, allocations: 116 kB / 1.73 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/3.977, allocations: 3.625 kB / 1.73 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005007/3.982, allocations: 2.142 MB / 1.732 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/3.982, allocations: 14.38 kB / 1.732 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/3.983, allocations: 91.11 kB / 1.732 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/3.985, allocations: 318.7 kB / 1.732 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005112/3.985, allocations: 0.6657 MB / 1.733 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/3.988, allocations: 230 kB / 1.733 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/3.988, allocations: 109.3 kB / 1.733 GB, free: 197.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 136 ($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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 265 * 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.0007533/3.989, allocations: 325 kB / 1.733 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007308/3.99, allocations: 346.4 kB / 1.734 GB, free: 196.7 MB / 0.9323 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 196 equation(s) and 195 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/3.993, allocations: 1.191 MB / 1.735 GB, free: 196.3 MB / 0.9323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.