Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 182.9 kB / 498.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.788/1.788, allocations: 223.2 MB / 0.7948 GB, free: 18.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 96.31 kB / 0.9346 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004767, allocations: 12.66 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4669, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.834, allocations: 447 MB / 1.659 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.834, allocations: 98.98 kB / 1.66 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.369/3.203, allocations: 298.3 MB / 1.951 GB, free: 340 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.346e-06/3.203, allocations: 0 / 1.951 GB, free: 340 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005829/3.204, allocations: 89.88 kB / 1.951 GB, free: 340 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01259/3.216, allocations: 4.072 MB / 1.955 GB, free: 337.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/3.216, allocations: 7.875 kB / 1.955 GB, free: 337.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/3.219, allocations: 0.5 MB / 1.955 GB, free: 337.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008784/3.228, allocations: 2.822 MB / 1.958 GB, free: 336.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005171/3.229, allocations: 259.1 kB / 1.958 GB, free: 336.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/3.23, allocations: 283.8 kB / 1.959 GB, free: 336.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/3.24, allocations: 2.982 MB / 1.962 GB, free: 335.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001498/3.241, allocations: 7.125 kB / 1.962 GB, free: 335.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/3.242, allocations: 117.6 kB / 1.962 GB, free: 335.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/3.242, allocations: 63.72 kB / 1.962 GB, free: 335.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00688/3.249, allocations: 2.506 MB / 1.964 GB, free: 334.8 MB / 1.167 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.025/3.274, allocations: 13.22 MB / 1.977 GB, free: 326.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/3.278, allocations: 2.194 MB / 1.979 GB, free: 325.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/3.28, allocations: 0.8711 MB / 1.98 GB, free: 324.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/3.282, allocations: 1.255 MB / 1.981 GB, free: 323.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=181): time 1.08e-05/3.282, allocations: 0 / 1.981 GB, free: 323.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=181): time 0.009424/3.292, allocations: 2.982 MB / 1.984 GB, free: 322.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/3.292, allocations: 411.7 kB / 1.985 GB, free: 322.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009942/3.302, allocations: 3.427 MB / 1.988 GB, free: 320.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008162/3.303, allocations: 124.2 kB / 1.988 GB, free: 320.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/3.305, allocations: 1.685 MB / 1.99 GB, free: 318.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008614/3.306, allocations: 0.5119 MB / 1.99 GB, free: 318.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/3.306, allocations: 43.19 kB / 1.99 GB, free: 318.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001262/3.306, allocations: 396.6 kB / 1.991 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/3.307, allocations: 0.8392 MB / 1.991 GB, free: 317.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/3.309, allocations: 1.48 MB / 1.993 GB, free: 316.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/3.31, allocations: 0.9011 MB / 1.994 GB, free: 315.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/3.311, allocations: 3.875 kB / 1.994 GB, free: 315.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00507/3.316, allocations: 2.637 MB / 1.996 GB, free: 314.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001759/3.317, allocations: 6.911 MB / 2.003 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/3.317, allocations: 15.62 kB / 2.003 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/3.318, allocations: 86.61 kB / 2.003 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/3.319, allocations: 344.8 kB / 2.004 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/3.32, allocations: 0.6609 MB / 2.004 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/3.322, allocations: 254.5 kB / 2.004 GB, free: 306 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/3.322, allocations: 116 kB / 2.005 GB, free: 305.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/3.322, allocations: 4 kB / 2.005 GB, free: 305.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003531/3.326, allocations: 2.285 MB / 2.007 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/3.326, allocations: 16 kB / 2.007 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/3.326, allocations: 84.83 kB / 2.007 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/3.327, allocations: 331.9 kB / 2.007 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/3.327, allocations: 0.6616 MB / 2.008 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/3.33, allocations: 238.7 kB / 2.008 GB, free: 302.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/3.33, allocations: 112 kB / 2.008 GB, free: 302.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 154 ($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,$PRE.eleFol.opeMod.transition3.t_start,eleFol.opeMod.transition3.t_start,$PRE.eleFol.opeMod.transition5.t_start,eleFol.opeMod.transition5.t_start,$PRE.eleFol.opeMod.transition9.t_start,eleFol.opeMod.transition9.t_start,$PRE.eleFol.opeMod.transition7.t_start,eleFol.opeMod.transition7.t_start,$PRE.eleFol.opeMod.transition10.t_start,eleFol.opeMod.transition10.t_start,$PRE.eleFol.opeMod.transition1.t_start,eleFol.opeMod.transition1.t_start,$PRE.eleFol.opeMod.transition2.t_start,eleFol.opeMod.transition2.t_start,$PRE.eleFol.opeMod.transition8.t_start,eleFol.opeMod.transition8.t_start,$PRE.eleFol.opeMod.transition6.t_start,eleFol.opeMod.transition6.t_start,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 279 * 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.002732/3.333, allocations: 1.133 MB / 2.009 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/3.334, allocations: 339.6 kB / 2.01 GB, free: 300.7 MB / 1.167 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 201 equation(s) and 200 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/3.337, allocations: 1.251 MB / 2.011 GB, free: 299.4 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.