Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_Validation_ElectricalFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.00173/0.00173, allocations: 183.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009562/0.0009565, allocations: 85.44 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005486, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2638, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.342, allocations: 427.8 MB / 1.318 GB, free: 4.969 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/1.342, allocations: 98.64 kB / 1.318 GB, free: 4.918 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.198/2.541, allocations: 286 MB / 1.597 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.836e-06/2.541, allocations: 0 / 1.597 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004198/2.541, allocations: 80 kB / 1.597 GB, free: 154.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.01156/2.553, allocations: 4.003 MB / 1.601 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/2.553, allocations: 8.031 kB / 1.601 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/2.554, allocations: 358.4 kB / 1.602 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/2.556, allocations: 0.4983 MB / 1.602 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006677/2.563, allocations: 2.831 MB / 1.605 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/2.563, allocations: 256.5 kB / 1.605 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005623/2.564, allocations: 272 kB / 1.605 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005139/2.569, allocations: 2.939 MB / 1.608 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/2.569, allocations: 11.55 kB / 1.608 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/2.569, allocations: 111.9 kB / 1.608 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/2.569, allocations: 64 kB / 1.608 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004112/2.574, allocations: 2.489 MB / 1.611 GB, free: 139.8 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.01741/2.591, allocations: 13.15 MB / 1.624 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/2.594, allocations: 1.95 MB / 1.626 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/2.595, allocations: 0.864 MB / 1.626 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/2.597, allocations: 1.127 MB / 1.628 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=169): time 4.007e-06/2.597, allocations: 0 / 1.628 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=169): time 0.006189/2.603, allocations: 2.864 MB / 1.63 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/2.603, allocations: 158.5 kB / 1.63 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007332/2.611, allocations: 3.491 MB / 1.634 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000728/2.612, allocations: 109.7 kB / 1.634 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/2.614, allocations: 1.721 MB / 1.636 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008323/2.614, allocations: 489.6 kB / 1.636 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/2.614, allocations: 44 kB / 1.636 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001592/2.615, allocations: 390.2 kB / 1.637 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/2.616, allocations: 0.8281 MB / 1.637 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/2.618, allocations: 1.471 MB / 1.639 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/2.619, allocations: 0.8866 MB / 1.64 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/2.619, allocations: 4 kB / 1.64 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004705/2.624, allocations: 2.611 MB / 1.642 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001691/2.626, allocations: 7.13 MB / 1.649 GB, free: 99.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/2.626, allocations: 16 kB / 1.649 GB, free: 99.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/2.626, allocations: 92.83 kB / 1.649 GB, free: 99.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/2.627, allocations: 335.3 kB / 1.65 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005019/2.628, allocations: 0.6538 MB / 1.65 GB, free: 98.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/2.63, allocations: 262.4 kB / 1.651 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/2.63, allocations: 112 kB / 1.651 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/2.631, allocations: 6.5 kB / 1.651 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003492/2.634, allocations: 2.25 MB / 1.653 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/2.634, allocations: 16 kB / 1.653 GB, free: 95.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/2.634, allocations: 85.66 kB / 1.653 GB, free: 95.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/2.635, allocations: 327.3 kB / 1.653 GB, free: 95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/2.636, allocations: 0.6615 MB / 1.654 GB, free: 94.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/2.638, allocations: 230.8 kB / 1.654 GB, free: 94.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/2.639, allocations: 108 kB / 1.654 GB, free: 93.98 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.002826/2.641, allocations: 1.115 MB / 1.655 GB, free: 92.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/2.643, allocations: 339.7 kB / 1.656 GB, free: 92.51 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.003214/2.646, allocations: 1.248 MB / 1.657 GB, free: 91.26 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.