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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.887 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.001055/0.001055, allocations: 184.8 kB / 316.3 MB, free: 3.277 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.689/1.689, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008798/0.0008801, allocations: 86.42 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.107e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.572/1.806, allocations: 428 MB / 1.303 GB, free: 317.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.806, allocations: 90.7 kB / 1.303 GB, free: 317.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5082/2.314, allocations: 283 MB / 1.58 GB, free: 31.67 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.446e-06/2.314, allocations: 4 kB / 1.58 GB, free: 31.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003186/2.315, allocations: 91.92 kB / 1.58 GB, free: 31.57 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.01008/2.325, allocations: 3.322 MB / 1.583 GB, free: 28.15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.533e-05/2.325, allocations: 8.031 kB / 1.583 GB, free: 28.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/2.328, allocations: 0.5022 MB / 1.583 GB, free: 27.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005981/2.334, allocations: 2.804 MB / 1.586 GB, free: 24.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/2.334, allocations: 154.8 kB / 1.586 GB, free: 24.61 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/2.334, allocations: 167.9 kB / 1.586 GB, free: 24.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003741/2.338, allocations: 2.197 MB / 1.589 GB, free: 22.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/2.342, allocations: 2.509 MB / 1.591 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.312e-05/2.342, allocations: 7.938 kB / 1.591 GB, free: 19.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/2.342, allocations: 8 kB / 1.591 GB, free: 19.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/2.342, allocations: 68 kB / 1.591 GB, free: 19.46 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.01569/2.358, allocations: 12.69 MB / 1.604 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/2.361, allocations: 1.733 MB / 1.605 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008656/2.362, allocations: 0.7857 MB / 1.606 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/2.363, allocations: 0.8679 MB / 1.607 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/2.364, allocations: 1.023 MB / 1.608 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 3.146e-06/2.364, allocations: 0 / 1.608 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.6032/2.967, allocations: 1.94 MB / 1.61 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/2.967, allocations: 159.1 kB / 1.61 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007935/2.975, allocations: 3.179 MB / 1.613 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007225/2.976, allocations: 71.98 kB / 1.613 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002145/2.978, allocations: 1.72 MB / 1.615 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008372/2.979, allocations: 467.1 kB / 1.615 GB, free: 187 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/2.979, allocations: 0 / 1.615 GB, free: 187 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001651/2.979, allocations: 387.2 kB / 1.616 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/2.981, allocations: 0.7328 MB / 1.616 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/2.983, allocations: 1.358 MB / 1.618 GB, free: 186 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/2.985, allocations: 0.9407 MB / 1.619 GB, free: 186 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/2.985, allocations: 4.812 kB / 1.619 GB, free: 186 MB / 0.8698 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.006136/2.991, allocations: 2.443 MB / 1.621 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001533/2.993, allocations: 7.071 MB / 1.628 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/2.993, allocations: 16.16 kB / 1.628 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/2.993, allocations: 84.08 kB / 1.628 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/2.995, allocations: 329.8 kB / 1.628 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005523/2.995, allocations: 0.6718 MB / 1.629 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/2.998, allocations: 193.9 kB / 1.629 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/2.998, allocations: 109.3 kB / 1.629 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/2.998, allocations: 6.078 kB / 1.629 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004488/3.002, allocations: 2.078 MB / 1.631 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/3.002, allocations: 16.41 kB / 1.631 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/3.003, allocations: 79.7 kB / 1.631 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/3.004, allocations: 326.4 kB / 1.632 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004749/3.004, allocations: 0.6613 MB / 1.632 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/3.007, allocations: 172.5 kB / 1.632 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/3.007, allocations: 112.7 kB / 1.633 GB, free: 177.2 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.0007218/3.008, allocations: 267.8 kB / 1.633 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008777/3.008, allocations: 327.4 kB / 1.633 GB, free: 176.9 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). Warning: Equation 181 (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.003768/3.012, allocations: 1.275 MB / 1.634 GB, free: 176.8 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.