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="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",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.364/1.364, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00112/0.00112, allocations: 178.7 kB / 326.5 MB, free: 2.258 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.734/1.734, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001061/0.001061, allocations: 91.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 9.625 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2175, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.086, allocations: 427.8 MB / 1.318 GB, free: 5.043 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.086, allocations: 98.45 kB / 1.318 GB, free: 4.992 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.149/2.235, allocations: 286 MB / 1.597 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.076e-06/2.235, allocations: 0 / 1.597 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000482/2.235, allocations: 87.98 kB / 1.597 GB, free: 154.1 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.01167/2.247, allocations: 3.992 MB / 1.601 GB, free: 150 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/2.247, allocations: 8.031 kB / 1.601 GB, free: 150 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/2.25, allocations: 0.5022 MB / 1.602 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007553/2.257, allocations: 2.835 MB / 1.604 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/2.258, allocations: 256.5 kB / 1.605 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006194/2.258, allocations: 264 kB / 1.605 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006714/2.265, allocations: 2.943 MB / 1.608 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.77e-05/2.265, allocations: 7.938 kB / 1.608 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/2.265, allocations: 115.6 kB / 1.608 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/2.266, allocations: 64 kB / 1.608 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006562/2.272, allocations: 2.493 MB / 1.61 GB, free: 140.3 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.02288/2.295, allocations: 13.15 MB / 1.623 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/2.3, allocations: 1.946 MB / 1.625 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/2.302, allocations: 0.8756 MB / 1.626 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/2.304, allocations: 1.121 MB / 1.627 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=169): time 5.571e-06/2.304, allocations: 0 / 1.627 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=169): time 0.007677/2.312, allocations: 2.854 MB / 1.63 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/2.312, allocations: 170.5 kB / 1.63 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007433/2.32, allocations: 3.489 MB / 1.634 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004778/2.32, allocations: 109.7 kB / 1.634 GB, free: 116 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0019/2.322, allocations: 1.725 MB / 1.635 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/2.323, allocations: 485.6 kB / 1.636 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/2.323, allocations: 44 kB / 1.636 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001571/2.323, allocations: 390.2 kB / 1.636 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/2.325, allocations: 0.8242 MB / 1.637 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/2.328, allocations: 1.468 MB / 1.638 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/2.33, allocations: 0.8904 MB / 1.639 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/2.33, allocations: 4 kB / 1.639 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.006317/2.336, allocations: 2.611 MB / 1.642 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001197/2.338, allocations: 7.126 MB / 1.649 GB, free: 99.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/2.338, allocations: 16 kB / 1.649 GB, free: 99.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/2.338, allocations: 88.81 kB / 1.649 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/2.34, allocations: 331.3 kB / 1.649 GB, free: 99.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005358/2.34, allocations: 0.6732 MB / 1.65 GB, free: 98.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/2.343, allocations: 258.5 kB / 1.65 GB, free: 98.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/2.343, allocations: 104 kB / 1.65 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/2.343, allocations: 4 kB / 1.65 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003696/2.347, allocations: 2.254 MB / 1.652 GB, free: 95.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/2.347, allocations: 16 kB / 1.652 GB, free: 95.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/2.347, allocations: 88.83 kB / 1.653 GB, free: 95.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/2.348, allocations: 319.3 kB / 1.653 GB, free: 95.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003231/2.349, allocations: 0.6618 MB / 1.653 GB, free: 94.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/2.351, allocations: 230.7 kB / 1.654 GB, free: 94.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/2.351, allocations: 116 kB / 1.654 GB, free: 94.42 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.001931/2.353, allocations: 1.115 MB / 1.655 GB, free: 93.28 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/2.353, allocations: 335.7 kB / 1.655 GB, free: 92.95 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.002118/2.355, allocations: 1.244 MB / 1.656 GB, free: 91.7 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.