Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.178/2.178, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.001479, allocations: 182.1 kB / 315.4 MB, free: 4 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.019/2.019, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 87.86 kB / 0.6704 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.621e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2116, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.191/8.402, allocations: 2.477 GB / 3.361 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/8.403, allocations: 101.4 kB / 3.361 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.759/10.16, allocations: 339.2 MB / 3.692 GB, free: 205 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.973e-06/10.16, allocations: 3.406 kB / 3.692 GB, free: 205 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001839/10.16, allocations: 26.25 kB / 3.692 GB, free: 205 MB / 0.8698 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.00443/10.17, allocations: 1.482 MB / 3.694 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/10.17, allocations: 18.81 kB / 3.694 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/10.17, allocations: 210.7 kB / 3.694 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004938/10.17, allocations: 1.597 MB / 3.695 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/10.17, allocations: 18.81 kB / 3.695 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/10.17, allocations: 35.25 kB / 3.695 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001777/10.17, allocations: 0.6976 MB / 3.696 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/10.18, allocations: 0.6402 MB / 3.697 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/10.18, allocations: 0 / 3.697 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/10.18, allocations: 3.953 kB / 3.697 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/10.18, allocations: 15.59 kB / 3.697 GB, free: 202.8 MB / 0.8698 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.008052/10.18, allocations: 3.374 MB / 3.7 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/10.19, allocations: 0.7474 MB / 3.701 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/10.19, allocations: 309.5 kB / 3.701 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006599/10.19, allocations: 3.747 MB / 3.705 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008008/10.2, allocations: 355.8 kB / 3.705 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 4.919e-06/10.2, allocations: 0 / 3.705 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.06657/10.26, allocations: 6.156 MB / 3.711 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/10.26, allocations: 93.41 kB / 3.711 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/10.27, allocations: 1.385 MB / 3.712 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/10.27, allocations: 29.64 kB / 3.713 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/10.27, allocations: 0.4986 MB / 3.713 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/10.27, allocations: 175.6 kB / 3.713 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/10.27, allocations: 0 / 3.713 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/10.27, allocations: 327.3 kB / 3.713 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/10.27, allocations: 280.5 kB / 3.714 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/10.27, allocations: 0.5753 MB / 3.714 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1255/10.39, allocations: 10.86 MB / 3.725 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/10.39, allocations: 4 kB / 3.725 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1269/10.52, allocations: 11.42 MB / 3.736 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002532/10.52, allocations: 0.9754 MB / 3.737 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/10.52, allocations: 4 kB / 3.737 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/10.52, allocations: 165.2 kB / 3.737 GB, free: 178 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/10.52, allocations: 119.9 kB / 3.737 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1237/10.65, allocations: 11.55 MB / 3.749 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/10.65, allocations: 75.45 kB / 3.749 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/10.65, allocations: 35.98 kB / 3.749 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/10.65, allocations: 4 kB / 3.749 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1256/10.77, allocations: 11.29 MB / 3.76 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/10.77, allocations: 4 kB / 3.76 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/10.78, allocations: 157.5 kB / 3.76 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/10.78, allocations: 123.8 kB / 3.76 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1247/10.9, allocations: 11.55 MB / 3.771 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/10.9, allocations: 75.66 kB / 3.771 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/10.9, allocations: 35.98 kB / 3.771 GB, free: 142.9 MB / 0.8698 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.0002903/10.9, allocations: 116.9 kB / 3.771 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06613/10.97, allocations: 6.157 MB / 3.777 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/10.97, allocations: 110.6 kB / 3.778 GB, free: 136.4 MB / 0.8698 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.06242/11.03, allocations: 5.818 MB / 3.783 GB, free: 130.6 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.