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 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.224/2.224, allocations: 251 MB / 265.9 MB, free: 11.67 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.001518/0.001518, allocations: 170.8 kB / 325.5 MB, free: 2.887 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.621/2.621, allocations: 205.4 MB / 0.5764 GB, free: 21.14 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.002356/0.002355, allocations: 94.2 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.000468, allocations: 12.16 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.533, allocations: 427.6 MB / 1.316 GB, free: 8.625 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/1.533, allocations: 94.52 kB / 1.316 GB, free: 8.574 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.6/3.133, allocations: 286 MB / 1.596 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.587e-06/3.133, allocations: 0 / 1.596 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006071/3.134, allocations: 83.98 kB / 1.596 GB, free: 157.6 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.01321/3.147, allocations: 3.992 MB / 1.6 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/3.147, allocations: 8.031 kB / 1.6 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001687/3.149, allocations: 362.3 kB / 1.6 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/3.152, allocations: 0.5022 MB / 1.601 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009514/3.162, allocations: 2.824 MB / 1.603 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/3.162, allocations: 255.3 kB / 1.604 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/3.163, allocations: 275.8 kB / 1.604 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/3.173, allocations: 2.943 MB / 1.607 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/3.173, allocations: 7.938 kB / 1.607 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/3.174, allocations: 112 kB / 1.607 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-05/3.174, allocations: 75.92 kB / 1.607 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009009/3.183, allocations: 2.481 MB / 1.609 GB, free: 143.4 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.02868/3.212, allocations: 13.15 MB / 1.622 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006526/3.218, allocations: 1.946 MB / 1.624 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/3.22, allocations: 0.864 MB / 1.625 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003468/3.224, allocations: 1.136 MB / 1.626 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=169): time 5.731e-06/3.224, allocations: 0 / 1.626 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=169): time 0.009327/3.233, allocations: 2.85 MB / 1.629 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/3.233, allocations: 158.5 kB / 1.629 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009236/3.243, allocations: 3.489 MB / 1.632 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007694/3.243, allocations: 109.7 kB / 1.632 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002579/3.246, allocations: 1.729 MB / 1.634 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009944/3.247, allocations: 489.6 kB / 1.635 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/3.247, allocations: 40 kB / 1.635 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001567/3.247, allocations: 394.2 kB / 1.635 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/3.25, allocations: 0.8242 MB / 1.636 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/3.253, allocations: 1.475 MB / 1.637 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/3.257, allocations: 0.8788 MB / 1.638 GB, free: 113 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/3.257, allocations: 8 kB / 1.638 GB, free: 113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.008502/3.265, allocations: 2.607 MB / 1.641 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001571/3.267, allocations: 7.126 MB / 1.648 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/3.267, allocations: 16 kB / 1.648 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/3.267, allocations: 92.77 kB / 1.648 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/3.27, allocations: 335.2 kB / 1.648 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006712/3.271, allocations: 0.6693 MB / 1.649 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/3.274, allocations: 258.5 kB / 1.649 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006698/3.275, allocations: 112 kB / 1.649 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/3.275, allocations: 4 kB / 1.649 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006487/3.281, allocations: 2.25 MB / 1.651 GB, free: 98.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/3.282, allocations: 16 kB / 1.651 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/3.282, allocations: 84.81 kB / 1.651 GB, free: 98.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/3.284, allocations: 328 kB / 1.652 GB, free: 98.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006172/3.285, allocations: 0.6577 MB / 1.652 GB, free: 97.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/3.288, allocations: 234.8 kB / 1.653 GB, free: 97.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000627/3.289, allocations: 104 kB / 1.653 GB, free: 97.53 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.003387/3.292, allocations: 1.115 MB / 1.654 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/3.294, allocations: 335.7 kB / 1.654 GB, free: 96.06 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.00466/3.298, allocations: 1.248 MB / 1.655 GB, free: 94.81 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.