Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 180.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.461/2.461, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009494/0.0009494, allocations: 106.5 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.000645, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2274, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.511, allocations: 427.6 MB / 1.317 GB, free: 7.969 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/1.511, allocations: 97.39 kB / 1.317 GB, free: 7.918 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.728/3.239, allocations: 283.1 MB / 1.594 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.036e-06/3.239, allocations: 0 / 1.594 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005242/3.24, allocations: 95.8 kB / 1.594 GB, free: 160.1 MB / 0.8855 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.01174/3.251, allocations: 3.984 MB / 1.598 GB, free: 156 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/3.252, allocations: 12.02 kB / 1.598 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/3.254, allocations: 0.4992 MB / 1.598 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008265/3.262, allocations: 2.813 MB / 1.601 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/3.263, allocations: 247.9 kB / 1.601 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006375/3.263, allocations: 276.3 kB / 1.601 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008124/3.272, allocations: 2.966 MB / 1.604 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.733e-05/3.272, allocations: 3.938 kB / 1.604 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/3.272, allocations: 112 kB / 1.604 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-05/3.272, allocations: 64 kB / 1.604 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008134/3.28, allocations: 2.489 MB / 1.607 GB, free: 146.3 MB / 0.8855 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.03062/3.311, allocations: 13.14 MB / 1.62 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/3.317, allocations: 1.936 MB / 1.622 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/3.32, allocations: 0.8869 MB / 1.622 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/3.322, allocations: 0.8601 MB / 1.623 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003064/3.325, allocations: 1.129 MB / 1.624 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=169): time 4.99e-06/3.325, allocations: 4 kB / 1.624 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=169): time 0.008406/3.333, allocations: 2.852 MB / 1.627 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/3.333, allocations: 162.5 kB / 1.627 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008329/3.342, allocations: 3.849 MB / 1.631 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006597/3.342, allocations: 105.7 kB / 1.631 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/3.345, allocations: 1.74 MB / 1.633 GB, free: 119 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/3.346, allocations: 493.5 kB / 1.633 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/3.346, allocations: 40 kB / 1.633 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001482/3.346, allocations: 390.2 kB / 1.634 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/3.349, allocations: 0.8358 MB / 1.635 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/3.352, allocations: 1.475 MB / 1.636 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/3.355, allocations: 0.8935 MB / 1.637 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/3.355, allocations: 4 kB / 1.637 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.007547/3.362, allocations: 2.607 MB / 1.639 GB, free: 112 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003305/3.363, allocations: 0.5803 MB / 1.64 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/3.363, allocations: 16 kB / 1.64 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/3.363, allocations: 80.83 kB / 1.64 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/3.366, allocations: 339.2 kB / 1.64 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005903/3.366, allocations: 0.6616 MB / 1.641 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/3.369, allocations: 254.5 kB / 1.641 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/3.37, allocations: 104 kB / 1.641 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/3.37, allocations: 4 kB / 1.641 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005872/3.376, allocations: 2.254 MB / 1.644 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/3.376, allocations: 16 kB / 1.644 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/3.376, allocations: 84.83 kB / 1.644 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/3.378, allocations: 323.3 kB / 1.644 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005226/3.379, allocations: 0.6657 MB / 1.645 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/3.381, allocations: 226.8 kB / 1.645 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/3.382, allocations: 116 kB / 1.645 GB, free: 106 MB / 0.8855 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 () * Number of clocked 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.002967/3.385, allocations: 1.111 MB / 1.646 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/3.386, allocations: 343.6 kB / 1.646 GB, free: 104.5 MB / 0.8855 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.004206/3.39, allocations: 1.236 MB / 1.648 GB, free: 103.3 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.