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.256/2.256, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.00106/0.00106, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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.547/1.547, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008457/0.0008457, allocations: 94.86 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.157e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3134, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.586, allocations: 447 MB / 1.649 GB, free: 15.91 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.586, allocations: 88.7 kB / 1.649 GB, free: 15.87 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.401/2.986, allocations: 297.2 MB / 1.939 GB, free: 264.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/2.986, allocations: 0 / 1.939 GB, free: 264.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000375/2.987, allocations: 87.92 kB / 1.939 GB, free: 264.8 MB / 1.151 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.008122/2.995, allocations: 3.414 MB / 1.943 GB, free: 261.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/2.995, allocations: 8.031 kB / 1.943 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/2.997, allocations: 0.5061 MB / 1.943 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/3.003, allocations: 2.807 MB / 1.946 GB, free: 257.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/3.003, allocations: 256.5 kB / 1.946 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004577/3.004, allocations: 280 kB / 1.946 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/3.009, allocations: 2.9 MB / 1.949 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.376e-05/3.009, allocations: 7.938 kB / 1.949 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/3.009, allocations: 112 kB / 1.949 GB, free: 254.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/3.009, allocations: 64 kB / 1.949 GB, free: 254 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/3.013, allocations: 2.388 MB / 1.952 GB, free: 251.6 MB / 1.151 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.01719/3.03, allocations: 13.24 MB / 1.965 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/3.033, allocations: 2.055 MB / 1.967 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/3.034, allocations: 0.947 MB / 1.968 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/3.036, allocations: 0.8834 MB / 1.968 GB, free: 233.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/3.037, allocations: 1.193 MB / 1.97 GB, free: 232.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=181): time 3.957e-06/3.037, allocations: 0 / 1.97 GB, free: 232.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=181): time 0.003701/3.041, allocations: 2.009 MB / 1.972 GB, free: 230.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/3.041, allocations: 409.8 kB / 1.972 GB, free: 230.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005749/3.047, allocations: 3.396 MB / 1.975 GB, free: 226.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006252/3.048, allocations: 126 kB / 1.975 GB, free: 226.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/3.049, allocations: 1.69 MB / 1.977 GB, free: 224.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/3.05, allocations: 0.5012 MB / 1.978 GB, free: 224.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/3.05, allocations: 44 kB / 1.978 GB, free: 224.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001304/3.05, allocations: 390.4 kB / 1.978 GB, free: 224 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/3.051, allocations: 0.7855 MB / 1.979 GB, free: 223.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/3.053, allocations: 1.419 MB / 1.98 GB, free: 221.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/3.054, allocations: 0.8608 MB / 1.981 GB, free: 220.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/3.054, allocations: 8 kB / 1.981 GB, free: 220.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00451/3.059, allocations: 2.533 MB / 1.983 GB, free: 218.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/3.06, allocations: 6.912 MB / 1.99 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/3.06, allocations: 16 kB / 1.99 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/3.06, allocations: 88.81 kB / 1.99 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/3.062, allocations: 335.3 kB / 1.991 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004369/3.062, allocations: 0.6538 MB / 1.991 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/3.064, allocations: 266.4 kB / 1.992 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/3.065, allocations: 112 kB / 1.992 GB, free: 209.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/3.065, allocations: 4 kB / 1.992 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003161/3.068, allocations: 2.207 MB / 1.994 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/3.068, allocations: 16 kB / 1.994 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/3.068, allocations: 84.83 kB / 1.994 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/3.069, allocations: 332 kB / 1.994 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003962/3.07, allocations: 0.6655 MB / 1.995 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/3.072, allocations: 230.8 kB / 1.995 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/3.072, allocations: 112 kB / 1.995 GB, free: 205.5 MB / 1.151 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.000705/3.073, allocations: 364.3 kB / 1.996 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008385/3.074, allocations: 335.8 kB / 1.996 GB, free: 204.8 MB / 1.151 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.00278/3.077, allocations: 1.204 MB / 1.997 GB, free: 203.6 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.