Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.2 MB / 303.2 MB, free: 8.043 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.001034/0.001034, allocations: 175.9 kB / 371.8 MB, free: 10.14 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.687/1.687, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009066/0.0009065, allocations: 84.55 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005484, allocations: 10.91 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3402, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.593, allocations: 434.7 MB / 1.404 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/1.593, allocations: 94.02 kB / 1.404 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/2.851, allocations: 291.9 MB / 1.689 GB, free: 126.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.868e-06/2.851, allocations: 0 / 1.689 GB, free: 126.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006524/2.852, allocations: 91.92 kB / 1.689 GB, free: 126.5 MB / 0.948 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.01348/2.865, allocations: 3.965 MB / 1.693 GB, free: 122.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/2.865, allocations: 12.03 kB / 1.693 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001626/2.867, allocations: 346.3 kB / 1.693 GB, free: 122 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/2.869, allocations: 0.506 MB / 1.694 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007682/2.877, allocations: 2.831 MB / 1.697 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/2.878, allocations: 247.2 kB / 1.697 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/2.879, allocations: 272 kB / 1.697 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007612/2.886, allocations: 2.953 MB / 1.7 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.266e-05/2.886, allocations: 3.938 kB / 1.7 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005481/2.887, allocations: 111.9 kB / 1.7 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/2.887, allocations: 68 kB / 1.7 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005488/2.892, allocations: 2.477 MB / 1.703 GB, free: 112.3 MB / 0.948 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.02106/2.914, allocations: 13.16 MB / 1.715 GB, free: 98.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/2.918, allocations: 1.951 MB / 1.717 GB, free: 96.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/2.919, allocations: 0.8718 MB / 1.718 GB, free: 95.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002572/2.922, allocations: 1.128 MB / 1.719 GB, free: 94.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=167): time 5.31e-06/2.922, allocations: 3.938 kB / 1.719 GB, free: 94.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=167): time 0.006794/2.928, allocations: 2.865 MB / 1.722 GB, free: 91.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/2.928, allocations: 162.5 kB / 1.722 GB, free: 91.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007449/2.936, allocations: 3.483 MB / 1.726 GB, free: 88.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000738/2.937, allocations: 105.7 kB / 1.726 GB, free: 87.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002305/2.939, allocations: 1.725 MB / 1.727 GB, free: 86.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008852/2.94, allocations: 484.3 kB / 1.728 GB, free: 85.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/2.94, allocations: 44 kB / 1.728 GB, free: 85.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002081/2.941, allocations: 390.1 kB / 1.728 GB, free: 85.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/2.942, allocations: 0.8202 MB / 1.729 GB, free: 84.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/2.944, allocations: 1.454 MB / 1.731 GB, free: 82.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/2.946, allocations: 0.8648 MB / 1.731 GB, free: 81.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/2.946, allocations: 7.938 kB / 1.731 GB, free: 81.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.005827/2.952, allocations: 2.58 MB / 1.734 GB, free: 79.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001783/2.954, allocations: 6.934 MB / 1.741 GB, free: 71.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/2.954, allocations: 16 kB / 1.741 GB, free: 71.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/2.954, allocations: 88.75 kB / 1.741 GB, free: 71.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/2.956, allocations: 339.3 kB / 1.741 GB, free: 71.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/2.956, allocations: 0.6499 MB / 1.742 GB, free: 70.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/2.958, allocations: 258.5 kB / 1.742 GB, free: 70.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/2.959, allocations: 104 kB / 1.742 GB, free: 70.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/2.959, allocations: 4 kB / 1.742 GB, free: 70.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003828/2.962, allocations: 2.227 MB / 1.744 GB, free: 68.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/2.963, allocations: 12 kB / 1.744 GB, free: 68.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/2.963, allocations: 84.83 kB / 1.744 GB, free: 68.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/2.964, allocations: 319.8 kB / 1.745 GB, free: 67.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003867/2.964, allocations: 0.6694 MB / 1.745 GB, free: 67.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/2.967, allocations: 226.9 kB / 1.746 GB, free: 66.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/2.967, allocations: 112 kB / 1.746 GB, free: 66.76 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.003196/2.97, allocations: 1.102 MB / 1.747 GB, free: 65.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/2.972, allocations: 343.6 kB / 1.747 GB, free: 65.29 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.003662/2.975, allocations: 1.236 MB / 1.748 GB, free: 64.05 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.