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.592/1.592, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001176/0.001176, allocations: 176.8 kB / 361.4 MB, free: 6.809 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.586/1.586, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0008979/0.0008978, allocations: 92.92 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.995e-05, allocations: 0 / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.718, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.82, allocations: 433.9 MB / 1.388 GB, free: 134 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.82, allocations: 91.42 kB / 1.388 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.251/3.071, allocations: 288.9 MB / 1.67 GB, free: 225.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.114e-06/3.071, allocations: 1.156 kB / 1.67 GB, free: 225.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007787/3.072, allocations: 86.97 kB / 1.67 GB, free: 225.4 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.01148/3.083, allocations: 3.304 MB / 1.674 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/3.083, allocations: 7.594 kB / 1.674 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/3.086, allocations: 0.5012 MB / 1.674 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00909/3.095, allocations: 2.798 MB / 1.677 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/3.096, allocations: 152.8 kB / 1.677 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/3.097, allocations: 160.8 kB / 1.677 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006856/3.104, allocations: 2.194 MB / 1.679 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00661/3.11, allocations: 2.507 MB / 1.682 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.039e-05/3.111, allocations: 10.06 kB / 1.682 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/3.111, allocations: 18.38 kB / 1.682 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/3.111, allocations: 61.66 kB / 1.682 GB, free: 222.4 MB / 0.9323 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.0182/3.129, allocations: 12.69 MB / 1.694 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/3.132, allocations: 1.743 MB / 1.696 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/3.133, allocations: 0.7913 MB / 1.697 GB, free: 217.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/3.134, allocations: 0.8649 MB / 1.698 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/3.136, allocations: 1.031 MB / 1.699 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=167): time 3.627e-06/3.136, allocations: 0 / 1.699 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=167): time 0.004866/3.141, allocations: 1.957 MB / 1.701 GB, free: 215.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/3.141, allocations: 166 kB / 1.701 GB, free: 215.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/3.146, allocations: 3.162 MB / 1.704 GB, free: 213.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/3.147, allocations: 76.66 kB / 1.704 GB, free: 213.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/3.148, allocations: 1.707 MB / 1.706 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/3.149, allocations: 458.6 kB / 1.706 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/3.149, allocations: 0 / 1.706 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001317/3.149, allocations: 396.1 kB / 1.706 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/3.15, allocations: 0.7207 MB / 1.707 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/3.152, allocations: 1.337 MB / 1.708 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/3.154, allocations: 0.9344 MB / 1.709 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/3.154, allocations: 3.75 kB / 1.709 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004737/3.158, allocations: 2.411 MB / 1.712 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001526/3.16, allocations: 6.875 MB / 1.718 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/3.16, allocations: 19.56 kB / 1.718 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/3.16, allocations: 84.16 kB / 1.718 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/3.161, allocations: 324.6 kB / 1.719 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004834/3.162, allocations: 0.6727 MB / 1.719 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/3.164, allocations: 192.2 kB / 1.72 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/3.164, allocations: 108.9 kB / 1.72 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/3.164, allocations: 7.797 kB / 1.72 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003666/3.168, allocations: 2.053 MB / 1.722 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/3.168, allocations: 13.03 kB / 1.722 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/3.168, allocations: 84.34 kB / 1.722 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/3.169, allocations: 317.4 kB / 1.722 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003813/3.17, allocations: 0.6649 MB / 1.723 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/3.172, allocations: 178.5 kB / 1.723 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/3.172, allocations: 112 kB / 1.723 GB, free: 199.8 MB / 0.9323 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 () * 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.000685/3.173, allocations: 261.9 kB / 1.723 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004082/3.177, allocations: 1.946 MB / 1.725 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/3.178, allocations: 322.8 kB / 1.725 GB, free: 198.6 MB / 0.9323 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). Warning: Equation 179 (size: 1) $cse11 = Modelica.StateGraph.Temporary.anyTrue({eleFol.opeMod.transition3.enableFire, eleFol.opeMod.transition5.enableFire, eleFol.opeMod.transition10.enableFire}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/3.181, allocations: 1.279 MB / 1.727 GB, free: 198.2 MB / 0.9323 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.