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: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.9 MB, free: 10.75 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.1 kB / 327.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.5785 GB, free: 20.14 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.0009814/0.0009817, allocations: 97.53 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 12.22 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8893/1.094, allocations: 427.9 MB / 1.319 GB, free: 4.535 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.094, allocations: 98.58 kB / 1.319 GB, free: 4.484 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9059/2, allocations: 283.2 MB / 1.596 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.944e-06/2, allocations: 0 / 1.596 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004999/2.001, allocations: 91.92 kB / 1.596 GB, free: 156.6 MB / 0.8855 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.009944/2.011, allocations: 3.949 MB / 1.6 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/2.011, allocations: 8.031 kB / 1.6 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/2.013, allocations: 0.5109 MB / 1.6 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/2.02, allocations: 2.942 MB / 1.603 GB, free: 149 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/2.02, allocations: 247.9 kB / 1.603 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/2.021, allocations: 276.3 kB / 1.604 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004846/2.025, allocations: 2.963 MB / 1.606 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/2.026, allocations: 11.92 kB / 1.606 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/2.026, allocations: 104 kB / 1.607 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/2.026, allocations: 64 kB / 1.607 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/2.03, allocations: 2.505 MB / 1.609 GB, free: 142.6 MB / 0.8855 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.01399/2.044, allocations: 13.11 MB / 1.622 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/2.047, allocations: 1.938 MB / 1.624 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/2.048, allocations: 0.8833 MB / 1.625 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009233/2.049, allocations: 0.864 MB / 1.625 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/2.05, allocations: 1.137 MB / 1.627 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=169): time 3.105e-06/2.05, allocations: 0 / 1.627 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=169): time 0.004667/2.055, allocations: 2.856 MB / 1.629 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/2.055, allocations: 162.5 kB / 1.629 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/2.06, allocations: 3.85 MB / 1.633 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003923/2.061, allocations: 109.7 kB / 1.633 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/2.062, allocations: 1.737 MB / 1.635 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/2.062, allocations: 497.5 kB / 1.636 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/2.063, allocations: 40 kB / 1.636 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001054/2.063, allocations: 394.2 kB / 1.636 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/2.064, allocations: 0.8281 MB / 1.637 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/2.066, allocations: 1.483 MB / 1.638 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/2.068, allocations: 2.026 MB / 1.64 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/2.068, allocations: 4 kB / 1.64 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004087/2.072, allocations: 2.607 MB / 1.643 GB, free: 107 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/2.072, allocations: 0.5702 MB / 1.643 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/2.072, allocations: 16 kB / 1.643 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/2.073, allocations: 80.83 kB / 1.643 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/2.074, allocations: 343.2 kB / 1.644 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003515/2.074, allocations: 0.6577 MB / 1.644 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/2.076, allocations: 258.5 kB / 1.645 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/2.076, allocations: 108 kB / 1.645 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/2.076, allocations: 4 kB / 1.645 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003013/2.079, allocations: 2.25 MB / 1.647 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/2.079, allocations: 16 kB / 1.647 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/2.079, allocations: 84.83 kB / 1.647 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/2.08, allocations: 331.8 kB / 1.647 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003369/2.081, allocations: 0.6577 MB / 1.648 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/2.083, allocations: 226.8 kB / 1.648 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/2.083, allocations: 112 kB / 1.648 GB, free: 101 MB / 0.8855 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 () * Number of clocked 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.002247/2.085, allocations: 1.119 MB / 1.649 GB, free: 99.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008411/2.086, allocations: 343.6 kB / 1.65 GB, free: 99.54 MB / 0.8855 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.002593/2.088, allocations: 1.232 MB / 1.651 GB, free: 98.3 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.