Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 253.2 MB / 260.6 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001485, allocations: 180.1 kB / 319.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001171, allocations: 97.19 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.357e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.25/8.461, allocations: 2.477 GB / 3.365 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/8.461, allocations: 101.8 kB / 3.365 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/10.24, allocations: 339.2 MB / 3.697 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/10.24, allocations: 0 / 3.697 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001415/10.24, allocations: 31.59 kB / 3.697 GB, free: 205.4 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.004041/10.24, allocations: 1.482 MB / 3.698 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/10.24, allocations: 10 kB / 3.698 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/10.25, allocations: 213.1 kB / 3.698 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/10.25, allocations: 1.602 MB / 3.7 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/10.25, allocations: 19.34 kB / 3.7 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/10.25, allocations: 34.59 kB / 3.7 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/10.25, allocations: 0.6947 MB / 3.701 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/10.25, allocations: 0.6402 MB / 3.701 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/10.25, allocations: 3 kB / 3.701 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/10.25, allocations: 3.953 kB / 3.701 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/10.25, allocations: 17.44 kB / 3.701 GB, free: 203.2 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.007179/10.26, allocations: 3.365 MB / 3.705 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/10.26, allocations: 0.7626 MB / 3.705 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/10.26, allocations: 305.2 kB / 3.706 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005967/10.27, allocations: 3.742 MB / 3.709 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007467/10.27, allocations: 359 kB / 3.71 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 4.719e-06/10.27, allocations: 0 / 3.71 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.0657/10.34, allocations: 6.164 MB / 3.716 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/10.34, allocations: 80.95 kB / 3.716 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/10.34, allocations: 1.388 MB / 3.717 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/10.34, allocations: 25.7 kB / 3.717 GB, free: 193 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/10.34, allocations: 0.5052 MB / 3.718 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/10.34, allocations: 172.7 kB / 3.718 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/10.34, allocations: 0 / 3.718 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/10.34, allocations: 325.8 kB / 3.718 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/10.34, allocations: 276.6 kB / 3.718 GB, free: 192 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/10.34, allocations: 0.5682 MB / 3.719 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1239/10.47, allocations: 10.87 MB / 3.729 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/10.47, allocations: 0 / 3.729 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1251/10.59, allocations: 11.42 MB / 3.741 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002357/10.59, allocations: 0.9737 MB / 3.742 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/10.59, allocations: 4 kB / 3.742 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007645/10.59, allocations: 157.5 kB / 3.742 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/10.59, allocations: 131.8 kB / 3.742 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1229/10.72, allocations: 11.54 MB / 3.753 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/10.72, allocations: 79.45 kB / 3.753 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/10.72, allocations: 35.97 kB / 3.753 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/10.72, allocations: 8.625 kB / 3.753 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.125/10.84, allocations: 11.28 MB / 3.764 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/10.84, allocations: 0 / 3.764 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007068/10.84, allocations: 172.6 kB / 3.764 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009274/10.84, allocations: 127.9 kB / 3.765 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1229/10.97, allocations: 11.54 MB / 3.776 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/10.97, allocations: 67.64 kB / 3.776 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/10.97, allocations: 47.09 kB / 3.776 GB, free: 136.8 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.0002908/10.97, allocations: 118.7 kB / 3.776 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/10.97, allocations: 114.5 kB / 3.776 GB, free: 136.5 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.06305/11.03, allocations: 5.83 MB / 3.782 GB, free: 130.7 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.