Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.448/2.448, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001465/0.001464, allocations: 172.9 kB / 360.6 MB, free: 7.273 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.067/2.067, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001144/0.001143, allocations: 94.53 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.414e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8288, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.007/7.835, allocations: 2.359 GB / 3.322 GB, free: 123.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/7.836, allocations: 97.94 kB / 3.322 GB, free: 123.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.784/9.62, allocations: 347.1 MB / 3.661 GB, free: 171.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/9.62, allocations: 0 / 3.661 GB, free: 171.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000135/9.62, allocations: 31.28 kB / 3.661 GB, free: 171.8 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.003941/9.624, allocations: 1.482 MB / 3.663 GB, free: 170.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/9.624, allocations: 8.031 kB / 3.663 GB, free: 170.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/9.626, allocations: 218.2 kB / 3.663 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/9.631, allocations: 1.6 MB / 3.665 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/9.631, allocations: 23.95 kB / 3.665 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/9.631, allocations: 36 kB / 3.665 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001729/9.633, allocations: 0.6897 MB / 3.665 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/9.634, allocations: 0.6478 MB / 3.666 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/9.634, allocations: 0 / 3.666 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/9.634, allocations: 0 / 3.666 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/9.634, allocations: 16 kB / 3.666 GB, free: 167 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.007277/9.642, allocations: 3.381 MB / 3.669 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/9.643, allocations: 0.754 MB / 3.67 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/9.644, allocations: 306.1 kB / 3.67 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005905/9.65, allocations: 3.75 MB / 3.674 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007461/9.651, allocations: 360.5 kB / 3.674 GB, free: 157.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 3.787e-06/9.651, allocations: 0 / 3.674 GB, free: 157.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.0661/9.717, allocations: 6.165 MB / 3.68 GB, free: 151.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/9.717, allocations: 85.55 kB / 3.68 GB, free: 151.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/9.72, allocations: 1.372 MB / 3.682 GB, free: 150.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/9.72, allocations: 29.7 kB / 3.682 GB, free: 150.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/9.721, allocations: 0.4966 MB / 3.682 GB, free: 149.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/9.721, allocations: 177.4 kB / 3.682 GB, free: 149.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/9.721, allocations: 0 / 3.682 GB, free: 149.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/9.721, allocations: 341.9 kB / 3.683 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/9.722, allocations: 273.5 kB / 3.683 GB, free: 148.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/9.723, allocations: 0.577 MB / 3.684 GB, free: 148.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1247/9.847, allocations: 10.86 MB / 3.694 GB, free: 137.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/9.848, allocations: 4 kB / 3.694 GB, free: 137.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.127/9.975, allocations: 11.42 MB / 3.705 GB, free: 125.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/9.975, allocations: 0.9659 MB / 3.706 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/9.975, allocations: 4 kB / 3.706 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008395/9.976, allocations: 165.5 kB / 3.706 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/9.977, allocations: 123.9 kB / 3.707 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1243/10.1, allocations: 11.55 MB / 3.718 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/10.1, allocations: 71.55 kB / 3.718 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/10.1, allocations: 43.98 kB / 3.718 GB, free: 112.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/10.1, allocations: 4 kB / 3.718 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1308/10.23, allocations: 11.28 MB / 3.729 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/10.23, allocations: 7.953 kB / 3.729 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007218/10.23, allocations: 157.9 kB / 3.729 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/10.24, allocations: 123.8 kB / 3.729 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1244/10.36, allocations: 11.55 MB / 3.741 GB, free: 89.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/10.36, allocations: 79.53 kB / 3.741 GB, free: 89.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/10.36, allocations: 35.98 kB / 3.741 GB, free: 89.47 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.0002955/10.36, allocations: 130.1 kB / 3.741 GB, free: 89.34 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07633/10.44, allocations: 6.169 MB / 3.747 GB, free: 83.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/10.44, allocations: 106.7 kB / 3.747 GB, free: 83.05 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.08588/10.53, allocations: 5.814 MB / 3.753 GB, free: 77.23 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.