Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.63/2.63, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001082/0.001082, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001052/0.001052, allocations: 95.94 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.953e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3955, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.73, allocations: 447.8 MB / 1.656 GB, free: 2.621 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.73, allocations: 87.95 kB / 1.656 GB, free: 2.535 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 1.329/3.059, allocations: 297.2 MB / 1.946 GB, free: 181.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.186e-06/3.06, allocations: 4 kB / 1.946 GB, free: 181.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0006797/3.06, allocations: 95.86 kB / 1.946 GB, free: 181.4 MB / 1.135 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.01056/3.071, allocations: 3.409 MB / 1.95 GB, free: 177.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/3.071, allocations: 12.03 kB / 1.95 GB, free: 177.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/3.073, allocations: 0.4983 MB / 1.95 GB, free: 177.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/3.081, allocations: 2.795 MB / 1.953 GB, free: 174.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/3.081, allocations: 259.3 kB / 1.953 GB, free: 174.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/3.082, allocations: 279.9 kB / 1.954 GB, free: 174 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00924/3.092, allocations: 2.909 MB / 1.956 GB, free: 170.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.963e-05/3.092, allocations: 11.92 kB / 1.956 GB, free: 170.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007069/3.093, allocations: 112 kB / 1.956 GB, free: 170.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-05/3.093, allocations: 64 kB / 1.957 GB, free: 170.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006132/3.099, allocations: 2.392 MB / 1.959 GB, free: 168.3 MB / 1.135 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.02297/3.122, allocations: 13.22 MB / 1.972 GB, free: 154.7 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/3.128, allocations: 2.061 MB / 1.974 GB, free: 152.5 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/3.13, allocations: 0.9547 MB / 1.975 GB, free: 151.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/3.131, allocations: 0.8699 MB / 1.976 GB, free: 150.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/3.134, allocations: 1.204 MB / 1.977 GB, free: 149.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=181): time 1.414e-05/3.134, allocations: 0 / 1.977 GB, free: 149.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=181): time 0.005858/3.14, allocations: 2.005 MB / 1.979 GB, free: 147.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/3.14, allocations: 406.1 kB / 1.979 GB, free: 146.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007954/3.148, allocations: 3.4 MB / 1.982 GB, free: 143.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.000635/3.149, allocations: 117.7 kB / 1.983 GB, free: 143.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.002045/3.151, allocations: 1.682 MB / 1.984 GB, free: 141.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007702/3.152, allocations: 0.5128 MB / 1.985 GB, free: 141.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/3.152, allocations: 47.94 kB / 1.985 GB, free: 141 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001658/3.152, allocations: 394.4 kB / 1.985 GB, free: 140.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/3.153, allocations: 0.7894 MB / 1.986 GB, free: 139.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/3.155, allocations: 1.423 MB / 1.987 GB, free: 138.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/3.157, allocations: 0.8492 MB / 1.988 GB, free: 137.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/3.157, allocations: 4 kB / 1.988 GB, free: 137.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004607/3.161, allocations: 2.541 MB / 1.991 GB, free: 134.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001255/3.163, allocations: 6.9 MB / 1.997 GB, free: 127.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/3.163, allocations: 19.95 kB / 1.997 GB, free: 127.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/3.163, allocations: 96.81 kB / 1.997 GB, free: 127.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/3.164, allocations: 335.3 kB / 1.998 GB, free: 126.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004026/3.165, allocations: 0.6537 MB / 1.998 GB, free: 126.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/3.167, allocations: 258.5 kB / 1.999 GB, free: 125.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/3.167, allocations: 112 kB / 1.999 GB, free: 125.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/3.167, allocations: 4 kB / 1.999 GB, free: 125.8 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00324/3.17, allocations: 2.204 MB / 2.001 GB, free: 123.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/3.17, allocations: 20 kB / 2.001 GB, free: 123.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/3.171, allocations: 96.83 kB / 2.001 GB, free: 123.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/3.172, allocations: 331.3 kB / 2.001 GB, free: 123.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/3.172, allocations: 0.6538 MB / 2.002 GB, free: 122.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/3.174, allocations: 250.6 kB / 2.002 GB, free: 122.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/3.174, allocations: 108 kB / 2.002 GB, free: 122.1 MB / 1.135 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 () * 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.0006169/3.175, allocations: 351.3 kB / 2.003 GB, free: 121.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/3.176, allocations: 343.7 kB / 2.003 GB, free: 121.4 MB / 1.135 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.002813/3.179, allocations: 1.204 MB / 2.004 GB, free: 120.2 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.