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.445/1.445, allocations: 249.3 MB / 261.8 MB, free: 5.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 182.5 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.000863/0.000863, allocations: 95.7 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.305e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/1.82, allocations: 427.7 MB / 1.309 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.82, allocations: 94.11 kB / 1.31 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5033/2.323, allocations: 284.9 MB / 1.588 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.893e-06/2.323, allocations: 0 / 1.588 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002857/2.324, allocations: 87.98 kB / 1.588 GB, free: 5.859 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.005732/2.329, allocations: 3.327 MB / 1.591 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/2.329, allocations: 8.031 kB / 1.591 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/2.331, allocations: 0.5022 MB / 1.592 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5333/2.864, allocations: 2.799 MB / 1.594 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/2.864, allocations: 252.2 kB / 1.595 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/2.865, allocations: 274.4 kB / 1.595 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006071/2.871, allocations: 2.864 MB / 1.598 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/2.871, allocations: 10.03 kB / 1.598 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/2.872, allocations: 114 kB / 1.598 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.086e-05/2.872, allocations: 64.16 kB / 1.598 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/2.876, allocations: 2.382 MB / 1.6 GB, free: 180.7 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.02206/2.899, allocations: 13.14 MB / 1.613 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/2.902, allocations: 1.827 MB / 1.615 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/2.904, allocations: 0.8277 MB / 1.616 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/2.905, allocations: 0.8679 MB / 1.616 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/2.907, allocations: 1.074 MB / 1.617 GB, free: 175 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 4.068e-06/2.907, allocations: 2.438 kB / 1.617 GB, free: 175 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.005101/2.912, allocations: 1.905 MB / 1.619 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/2.912, allocations: 168.8 kB / 1.62 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009451/2.922, allocations: 3.447 MB / 1.623 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007201/2.922, allocations: 114.7 kB / 1.623 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/2.925, allocations: 1.725 MB / 1.625 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009503/2.926, allocations: 488.5 kB / 1.625 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/2.926, allocations: 41.75 kB / 1.625 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001602/2.926, allocations: 388.1 kB / 1.626 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/2.927, allocations: 0.7754 MB / 1.626 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/2.929, allocations: 1.417 MB / 1.628 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/2.931, allocations: 0.8393 MB / 1.629 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/2.931, allocations: 4.344 kB / 1.629 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005558/2.936, allocations: 2.516 MB / 1.631 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001501/2.938, allocations: 7.131 MB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/2.938, allocations: 15.88 kB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/2.938, allocations: 98.3 kB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/2.94, allocations: 330.8 kB / 1.638 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/2.94, allocations: 0.6589 MB / 1.639 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/2.943, allocations: 253.3 kB / 1.639 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/2.943, allocations: 109.1 kB / 1.639 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/2.943, allocations: 4.75 kB / 1.639 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004315/2.948, allocations: 2.176 MB / 1.641 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/2.948, allocations: 19.72 kB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/2.948, allocations: 93.14 kB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/2.949, allocations: 321.6 kB / 1.642 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004491/2.95, allocations: 0.6649 MB / 1.643 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/2.952, allocations: 233.5 kB / 1.643 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/2.953, allocations: 106.8 kB / 1.643 GB, free: 163.8 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.0007841/2.953, allocations: 352.2 kB / 1.643 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/2.954, allocations: 333.2 kB / 1.644 GB, free: 163.4 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). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/2.958, allocations: 1.191 MB / 1.645 GB, free: 163.4 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.