Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001661/0.001661, allocations: 180.9 kB / 361.4 MB, free: 6.82 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.605/1.605, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008886/0.0008888, allocations: 96.98 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.649e-05, allocations: 4 kB / 0.8518 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6863, allocations: 115.3 MB / 0.9644 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.502, allocations: 2.359 GB / 3.323 GB, free: 119.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/6.502, allocations: 102.3 kB / 3.323 GB, free: 119.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.307/7.809, allocations: 347.4 MB / 3.663 GB, free: 166.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.966e-06/7.809, allocations: 4 kB / 3.663 GB, free: 166.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001281/7.809, allocations: 26.81 kB / 3.663 GB, free: 166.5 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.003544/7.813, allocations: 1.478 MB / 3.664 GB, free: 164.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/7.813, allocations: 12.03 kB / 3.664 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/7.814, allocations: 214.2 kB / 3.664 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/7.816, allocations: 1.601 MB / 3.666 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/7.816, allocations: 23.98 kB / 3.666 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/7.816, allocations: 39.95 kB / 3.666 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009832/7.817, allocations: 0.6897 MB / 3.667 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/7.818, allocations: 0.644 MB / 3.667 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/7.818, allocations: 0 / 3.667 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/7.818, allocations: 4 kB / 3.667 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/7.819, allocations: 12 kB / 3.667 GB, free: 161.6 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.004526/7.823, allocations: 3.382 MB / 3.671 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/7.824, allocations: 0.7594 MB / 3.671 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/7.825, allocations: 302.1 kB / 3.672 GB, free: 157.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004188/7.829, allocations: 3.739 MB / 3.675 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/7.829, allocations: 356.4 kB / 3.676 GB, free: 152.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 5.179e-06/7.829, allocations: 3.984 kB / 3.676 GB, free: 152.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.0329/7.862, allocations: 6.161 MB / 3.682 GB, free: 146.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/7.862, allocations: 85.55 kB / 3.682 GB, free: 146.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/7.864, allocations: 1.38 MB / 3.683 GB, free: 144.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/7.865, allocations: 29.7 kB / 3.683 GB, free: 144.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/7.865, allocations: 0.4927 MB / 3.684 GB, free: 144.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/7.865, allocations: 185.4 kB / 3.684 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/7.865, allocations: 3.938 kB / 3.684 GB, free: 144.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/7.865, allocations: 334 kB / 3.684 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/7.866, allocations: 273.5 kB / 3.684 GB, free: 143.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/7.866, allocations: 0.577 MB / 3.685 GB, free: 142.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0605/7.927, allocations: 10.86 MB / 3.695 GB, free: 132 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/7.927, allocations: 0 / 3.695 GB, free: 132 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06303/7.99, allocations: 11.42 MB / 3.707 GB, free: 120.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002849/7.99, allocations: 0.9739 MB / 3.708 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/7.99, allocations: 0 / 3.708 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/7.991, allocations: 165.6 kB / 3.708 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/7.991, allocations: 123.8 kB / 3.708 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06132/8.052, allocations: 11.55 MB / 3.719 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/8.054, allocations: 75.55 kB / 3.719 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/8.054, allocations: 35.98 kB / 3.719 GB, free: 107.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/8.054, allocations: 11.88 kB / 3.719 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06138/8.116, allocations: 11.29 MB / 3.73 GB, free: 96.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/8.116, allocations: 0 / 3.73 GB, free: 96.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/8.116, allocations: 165.9 kB / 3.73 GB, free: 96.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/8.117, allocations: 123.8 kB / 3.731 GB, free: 95.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06018/8.177, allocations: 11.55 MB / 3.742 GB, free: 84.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/8.178, allocations: 67.61 kB / 3.742 GB, free: 84.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/8.178, allocations: 39.98 kB / 3.742 GB, free: 84.18 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.0002746/8.179, allocations: 124.8 kB / 3.742 GB, free: 84.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/8.179, allocations: 110.6 kB / 3.742 GB, free: 83.94 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.03191/8.211, allocations: 5.824 MB / 3.748 GB, free: 78.11 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.