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.448/2.448, allocations: 285 MB / 292.5 MB, free: 10.48 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.001437/0.001436, allocations: 180.8 kB / 360.7 MB, free: 7.238 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.913/1.913, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001117/0.001117, allocations: 95.22 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.901e-05, allocations: 0 / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8074, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/2.103, allocations: 433.7 MB / 1.387 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/2.104, allocations: 92.77 kB / 1.387 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.669/3.772, allocations: 288.9 MB / 1.669 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.084e-06/3.772, allocations: 0 / 1.669 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006055/3.773, allocations: 89.69 kB / 1.669 GB, free: 223.7 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.01116/3.784, allocations: 3.303 MB / 1.672 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/3.784, allocations: 9.062 kB / 1.672 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/3.787, allocations: 0.4959 MB / 1.673 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009543/3.797, allocations: 2.792 MB / 1.676 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/3.797, allocations: 155 kB / 1.676 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/3.798, allocations: 169.3 kB / 1.676 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/3.81, allocations: 2.196 MB / 1.678 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/3.821, allocations: 2.518 MB / 1.681 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.432e-05/3.821, allocations: 9.75 kB / 1.681 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004608/3.821, allocations: 8.312 kB / 1.681 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-05/3.822, allocations: 65.84 kB / 1.681 GB, free: 220.7 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.0269/3.848, allocations: 12.69 MB / 1.693 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/3.853, allocations: 1.748 MB / 1.695 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/3.855, allocations: 0.7923 MB / 1.696 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/3.857, allocations: 0.869 MB / 1.696 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/3.86, allocations: 1.022 MB / 1.697 GB, free: 215 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=167): time 5.29e-06/3.86, allocations: 0 / 1.697 GB, free: 215 MB / 0.9323 GB Notification: Performance of matching and sorting (n=167): time 0.007058/3.867, allocations: 1.956 MB / 1.699 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/3.867, allocations: 164.1 kB / 1.699 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008216/3.875, allocations: 3.171 MB / 1.703 GB, free: 213 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006415/3.876, allocations: 71.89 kB / 1.703 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/3.878, allocations: 1.714 MB / 1.704 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009413/3.879, allocations: 455.8 kB / 1.705 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/3.88, allocations: 3.938 kB / 1.705 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001551/3.88, allocations: 383.7 kB / 1.705 GB, free: 211 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/3.882, allocations: 0.7255 MB / 1.706 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/3.884, allocations: 1.334 MB / 1.707 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/3.887, allocations: 0.929 MB / 1.708 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/3.887, allocations: 6.188 kB / 1.708 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.009814/3.897, allocations: 2.418 MB / 1.71 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001766/3.899, allocations: 6.877 MB / 1.717 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-05/3.899, allocations: 14.56 kB / 1.717 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/3.9, allocations: 87.89 kB / 1.717 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/3.903, allocations: 322.7 kB / 1.718 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008111/3.903, allocations: 0.6651 MB / 1.718 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/3.908, allocations: 207.3 kB / 1.718 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007585/3.908, allocations: 109 kB / 1.718 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/3.909, allocations: 4.875 kB / 1.718 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008854/3.917, allocations: 2.052 MB / 1.72 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.53e-05/3.917, allocations: 16.12 kB / 1.721 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/3.918, allocations: 83.62 kB / 1.721 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/3.921, allocations: 323.2 kB / 1.721 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/3.921, allocations: 0.6644 MB / 1.722 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/3.925, allocations: 173.2 kB / 1.722 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/3.926, allocations: 100.2 kB / 1.722 GB, free: 198.9 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.0009534/3.927, allocations: 266.3 kB / 1.722 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/3.928, allocations: 325.7 kB / 1.722 GB, free: 198.5 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). Warning: Equation 179 (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.006873/3.935, allocations: 1.276 MB / 1.724 GB, free: 198.1 MB / 0.9323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.