Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.00154/0.00154, allocations: 176.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.3 MB / 0.626 GB, free: 7.199 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.001029/0.001029, allocations: 88.73 kB / 0.74 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.377e-05, allocations: 8 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7668, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.153/6.92, allocations: 2.36 GB / 3.333 GB, free: 81.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/6.92, allocations: 101.5 kB / 3.333 GB, free: 81.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.357/8.278, allocations: 347.4 MB / 3.673 GB, free: 124.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/8.278, allocations: 0 / 3.673 GB, free: 124.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001024/8.278, allocations: 24 kB / 3.673 GB, free: 124.9 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003233/8.281, allocations: 1.481 MB / 3.674 GB, free: 123.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/8.281, allocations: 8.031 kB / 3.674 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/8.282, allocations: 222.2 kB / 3.674 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/8.285, allocations: 1.591 MB / 3.676 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/8.285, allocations: 24 kB / 3.676 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/8.285, allocations: 39.95 kB / 3.676 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/8.286, allocations: 0.6936 MB / 3.677 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/8.287, allocations: 0.6362 MB / 3.677 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/8.287, allocations: 3.984 kB / 3.677 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/8.287, allocations: 4 kB / 3.677 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/8.287, allocations: 16 kB / 3.677 GB, free: 120 MB / 0.948 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.004006/8.291, allocations: 3.368 MB / 3.68 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/8.292, allocations: 0.7681 MB / 3.681 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/8.292, allocations: 306.1 kB / 3.682 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003605/8.296, allocations: 3.745 MB / 3.685 GB, free: 111.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/8.296, allocations: 368.3 kB / 3.686 GB, free: 110.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 2.374e-06/8.296, allocations: 0 / 3.686 GB, free: 110.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.03419/8.331, allocations: 6.149 MB / 3.692 GB, free: 104.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/8.331, allocations: 89.53 kB / 3.692 GB, free: 104.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/8.333, allocations: 1.384 MB / 3.693 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/8.333, allocations: 29.7 kB / 3.693 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/8.333, allocations: 0.4966 MB / 3.693 GB, free: 102.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/8.333, allocations: 177.5 kB / 3.694 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/8.333, allocations: 0 / 3.694 GB, free: 102.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/8.333, allocations: 330 kB / 3.694 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/8.334, allocations: 273.5 kB / 3.694 GB, free: 101.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/8.334, allocations: 0.5773 MB / 3.695 GB, free: 101.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06011/8.394, allocations: 10.86 MB / 3.705 GB, free: 90.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/8.394, allocations: 7.938 kB / 3.705 GB, free: 90.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06108/8.455, allocations: 11.41 MB / 3.717 GB, free: 78.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/8.456, allocations: 0.966 MB / 3.717 GB, free: 77.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/8.456, allocations: 4 kB / 3.717 GB, free: 77.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/8.456, allocations: 169.6 kB / 3.718 GB, free: 77.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/8.457, allocations: 123.8 kB / 3.718 GB, free: 77.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06083/8.518, allocations: 11.55 MB / 3.729 GB, free: 65.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/8.519, allocations: 75.45 kB / 3.729 GB, free: 65.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/8.519, allocations: 35.98 kB / 3.729 GB, free: 65.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/8.519, allocations: 4 kB / 3.729 GB, free: 65.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06271/8.582, allocations: 11.29 MB / 3.74 GB, free: 54.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/8.582, allocations: 4 kB / 3.74 GB, free: 54.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/8.582, allocations: 161.7 kB / 3.74 GB, free: 54.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/8.583, allocations: 123.8 kB / 3.74 GB, free: 54.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06045/8.643, allocations: 11.55 MB / 3.752 GB, free: 42.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/8.645, allocations: 71.55 kB / 3.752 GB, free: 42.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/8.645, allocations: 35.98 kB / 3.752 GB, free: 42.49 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003952/8.646, allocations: 125.7 kB / 3.752 GB, free: 42.36 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03418/8.68, allocations: 6.153 MB / 3.758 GB, free: 36.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/8.681, allocations: 114.6 kB / 3.758 GB, free: 36.07 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 67 equation(s) and 66 variable(s). Warning: Equation 52 (size: 1) $cse3 = Buildings.Fluid.HeatExchangers.CoolingTowers.Merkel$tow.Medium.setState_phX(souWat.ports[1].p, souWat.ports[1].h_outflow, {}) 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.03223/8.713, allocations: 5.818 MB / 3.764 GB, free: 30.24 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.