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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, 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.001124/0.001123, allocations: 180.8 kB / 366.7 MB, free: 1.625 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.742/1.742, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.00089/0.0008903, allocations: 93.53 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.074e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7175, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.723/6.441, allocations: 2.36 GB / 3.333 GB, free: 82.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/6.441, allocations: 98.16 kB / 3.333 GB, free: 82.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.181/7.622, allocations: 347.4 MB / 3.672 GB, free: 125.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/7.622, allocations: 0 / 3.672 GB, free: 125.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001158/7.623, allocations: 31.98 kB / 3.672 GB, free: 125.1 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.003346/7.626, allocations: 1.473 MB / 3.674 GB, free: 123.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/7.626, allocations: 12.03 kB / 3.674 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/7.627, allocations: 214.2 kB / 3.674 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/7.629, allocations: 1.606 MB / 3.676 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/7.629, allocations: 16 kB / 3.676 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/7.629, allocations: 39.95 kB / 3.676 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009148/7.63, allocations: 0.6936 MB / 3.676 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/7.631, allocations: 0.644 MB / 3.677 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/7.631, allocations: 7.984 kB / 3.677 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/7.631, allocations: 0 / 3.677 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/7.631, allocations: 19.94 kB / 3.677 GB, free: 120.2 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.003677/7.635, allocations: 3.368 MB / 3.68 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/7.636, allocations: 0.756 MB / 3.681 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/7.636, allocations: 310.1 kB / 3.681 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003229/7.64, allocations: 3.742 MB / 3.685 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/7.64, allocations: 356.4 kB / 3.685 GB, free: 111 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/7.64, allocations: 0 / 3.685 GB, free: 111 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.03264/7.673, allocations: 6.165 MB / 3.691 GB, free: 104.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/7.673, allocations: 81.55 kB / 3.692 GB, free: 104.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/7.674, allocations: 1.384 MB / 3.693 GB, free: 103.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/7.675, allocations: 29.7 kB / 3.693 GB, free: 103.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/7.675, allocations: 0.5004 MB / 3.693 GB, free: 102.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/7.675, allocations: 177.5 kB / 3.694 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/7.675, allocations: 0 / 3.694 GB, free: 102.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/7.675, allocations: 326 kB / 3.694 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/7.675, allocations: 277.5 kB / 3.694 GB, free: 102 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/7.676, allocations: 0.5773 MB / 3.695 GB, free: 101.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06049/7.736, allocations: 10.87 MB / 3.705 GB, free: 90.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/7.736, allocations: 0 / 3.705 GB, free: 90.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0611/7.798, allocations: 11.41 MB / 3.716 GB, free: 79.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/7.798, allocations: 0.9738 MB / 3.717 GB, free: 78.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/7.798, allocations: 8 kB / 3.717 GB, free: 78.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/7.798, allocations: 161.6 kB / 3.718 GB, free: 77.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/7.799, allocations: 123.9 kB / 3.718 GB, free: 77.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05845/7.857, allocations: 11.55 MB / 3.729 GB, free: 66.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/7.859, allocations: 75.39 kB / 3.729 GB, free: 66.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/7.859, allocations: 40.03 kB / 3.729 GB, free: 66.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/7.859, allocations: 4 kB / 3.729 GB, free: 66.02 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06089/7.92, allocations: 11.28 MB / 3.74 GB, free: 54.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/7.92, allocations: 8.031 kB / 3.74 GB, free: 54.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/7.92, allocations: 161.6 kB / 3.74 GB, free: 54.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/7.921, allocations: 127.8 kB / 3.74 GB, free: 54.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05871/7.98, allocations: 11.54 MB / 3.752 GB, free: 42.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/7.981, allocations: 63.64 kB / 3.752 GB, free: 42.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/7.981, allocations: 40.05 kB / 3.752 GB, free: 42.71 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.0002913/7.981, allocations: 128.7 kB / 3.752 GB, free: 42.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/7.982, allocations: 110.6 kB / 3.752 GB, free: 42.47 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.03135/8.013, allocations: 5.818 MB / 3.758 GB, free: 36.64 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.