Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 176.8 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009817, allocations: 98.53 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.036e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.493/5.79, allocations: 2.2 GB / 3.406 GB, free: 122.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/5.79, allocations: 99.94 kB / 3.407 GB, free: 122.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.427/7.217, allocations: 352.6 MB / 3.751 GB, free: 232 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.242e-06/7.217, allocations: 0 / 3.751 GB, free: 232 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000232/7.218, allocations: 31.98 kB / 3.751 GB, free: 231.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.004489/7.222, allocations: 1.482 MB / 3.752 GB, free: 230.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/7.222, allocations: 8.031 kB / 3.752 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/7.223, allocations: 218.2 kB / 3.753 GB, free: 230.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/7.227, allocations: 1.61 MB / 3.754 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/7.227, allocations: 20 kB / 3.754 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/7.227, allocations: 40 kB / 3.754 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/7.229, allocations: 0.7053 MB / 3.755 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/7.23, allocations: 0.6479 MB / 3.756 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/7.23, allocations: 0 / 3.756 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/7.23, allocations: 4 kB / 3.756 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/7.23, allocations: 16 kB / 3.756 GB, free: 227.1 MB / 1.151 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.005217/7.235, allocations: 3.402 MB / 3.759 GB, free: 223.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/7.236, allocations: 0.7772 MB / 3.76 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/7.237, allocations: 315.8 kB / 3.76 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004044/7.241, allocations: 3.757 MB / 3.764 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005442/7.241, allocations: 368.4 kB / 3.764 GB, free: 217.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.775e-06/7.241, allocations: 0 / 3.764 GB, free: 217.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.03331/7.275, allocations: 6.036 MB / 3.77 GB, free: 211.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/7.275, allocations: 85.55 kB / 3.77 GB, free: 211.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/7.277, allocations: 1.38 MB / 3.771 GB, free: 210.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/7.277, allocations: 25.7 kB / 3.771 GB, free: 210.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/7.277, allocations: 0.5121 MB / 3.772 GB, free: 209.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/7.277, allocations: 181.4 kB / 3.772 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/7.277, allocations: 0 / 3.772 GB, free: 209.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/7.277, allocations: 330 kB / 3.772 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/7.278, allocations: 281.5 kB / 3.773 GB, free: 208.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/7.278, allocations: 0.5703 MB / 3.773 GB, free: 208.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06015/7.338, allocations: 10.87 MB / 3.784 GB, free: 197.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/7.339, allocations: 3.953 kB / 3.784 GB, free: 197.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0607/7.399, allocations: 11.42 MB / 3.795 GB, free: 185.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/7.399, allocations: 0.9702 MB / 3.796 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/7.399, allocations: 4 kB / 3.796 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/7.4, allocations: 161.6 kB / 3.796 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/7.4, allocations: 123.8 kB / 3.796 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06123/7.462, allocations: 11.56 MB / 3.807 GB, free: 173 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/7.463, allocations: 67.48 kB / 3.807 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/7.463, allocations: 39.98 kB / 3.808 GB, free: 172.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/7.463, allocations: 8.062 kB / 3.808 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06121/7.525, allocations: 11.29 MB / 3.819 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/7.525, allocations: 4.25 kB / 3.819 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/7.525, allocations: 165.6 kB / 3.819 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/7.526, allocations: 131.8 kB / 3.819 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06033/7.586, allocations: 11.55 MB / 3.83 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/7.588, allocations: 67.48 kB / 3.83 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/7.588, allocations: 43.92 kB / 3.83 GB, free: 149.6 MB / 1.151 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 (72): * Single equations (assignments): 70 * 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.000325/7.588, allocations: 128.8 kB / 3.83 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/7.588, allocations: 110.6 kB / 3.83 GB, free: 149.3 MB / 1.151 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 69 equation(s) and 68 variable(s). Warning: Equation 54 (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.03093/7.619, allocations: 5.823 MB / 3.836 GB, free: 143.5 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.