Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001118, allocations: 177 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 0.6367 GB, free: 9.578 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 89.33 kB / 0.751 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 12 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.335, allocations: 116.3 MB / 0.9884 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.456/2.791, allocations: 435.6 MB / 1.414 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/2.792, allocations: 100.2 kB / 1.414 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.621/3.413, allocations: 291.9 MB / 1.699 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.934e-06/3.413, allocations: 0 / 1.699 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00058/3.413, allocations: 83.98 kB / 1.699 GB, free: 15.61 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 639 * Number of variables: 639 Notification: Performance of Generate backend data structure: time 0.01623/3.429, allocations: 3.971 MB / 1.703 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/3.43, allocations: 16.02 kB / 1.703 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/3.433, allocations: 0.4905 MB / 1.703 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/3.444, allocations: 2.819 MB / 1.706 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005145/3.445, allocations: 251.2 kB / 1.706 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/3.446, allocations: 283.8 kB / 1.707 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007978/3.454, allocations: 2.938 MB / 1.709 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/3.454, allocations: 15.88 kB / 1.71 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/3.455, allocations: 108 kB / 1.71 GB, free: 4.344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/3.455, allocations: 64 kB / 1.71 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006293/3.461, allocations: 2.485 MB / 1.712 GB, free: 1.781 MB / 0.9323 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.03128/3.493, allocations: 13.16 MB / 1.725 GB, free: 4.234 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00707/3.5, allocations: 1.957 MB / 1.727 GB, free: 2.258 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/3.502, allocations: 0.8678 MB / 1.728 GB, free: 1.262 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003569/3.505, allocations: 1.132 MB / 1.729 GB, free: 112 kB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 5.21e-06/3.505, allocations: 0 / 1.729 GB, free: 112 kB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.6461/4.152, allocations: 2.864 MB / 1.732 GB, free: 180.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/4.152, allocations: 159 kB / 1.732 GB, free: 180.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007737/4.159, allocations: 3.48 MB / 1.735 GB, free: 180 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007753/4.16, allocations: 113.6 kB / 1.735 GB, free: 180 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/4.163, allocations: 1.718 MB / 1.737 GB, free: 179.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/4.164, allocations: 486 kB / 1.737 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/4.164, allocations: 45.19 kB / 1.737 GB, free: 179.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001657/4.164, allocations: 382 kB / 1.738 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/4.166, allocations: 0.8229 MB / 1.739 GB, free: 179.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/4.167, allocations: 1.448 MB / 1.74 GB, free: 178.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/4.169, allocations: 0.8766 MB / 1.741 GB, free: 178.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/4.169, allocations: 5.094 kB / 1.741 GB, free: 178.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.00612/4.175, allocations: 2.573 MB / 1.743 GB, free: 178.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00163/4.177, allocations: 6.928 MB / 1.75 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/4.177, allocations: 19.17 kB / 1.75 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/4.178, allocations: 85.97 kB / 1.75 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/4.179, allocations: 328.5 kB / 1.751 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005367/4.179, allocations: 0.6609 MB / 1.751 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/4.182, allocations: 254.6 kB / 1.751 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/4.182, allocations: 109.8 kB / 1.752 GB, free: 170.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/4.182, allocations: 3.656 kB / 1.752 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004101/4.186, allocations: 2.219 MB / 1.754 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/4.186, allocations: 14.78 kB / 1.754 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/4.187, allocations: 94.95 kB / 1.754 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/4.188, allocations: 314.3 kB / 1.754 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004265/4.188, allocations: 0.6627 MB / 1.755 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/4.191, allocations: 230.9 kB / 1.755 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/4.191, allocations: 106.8 kB / 1.755 GB, free: 169.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 136 ($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,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 (266): * Single equations (assignments): 265 * 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.003204/4.194, allocations: 1.111 MB / 1.756 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/4.195, allocations: 335.1 kB / 1.757 GB, free: 169.3 MB / 0.948 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 196 equation(s) and 195 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/4.199, allocations: 1.242 MB / 1.758 GB, free: 169.3 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.