Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002066/0.002066, allocations: 169 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009557, allocations: 93.98 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.951e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2248, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.088/7.313, allocations: 2.477 GB / 3.362 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/7.313, allocations: 99.25 kB / 3.362 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.283/8.596, allocations: 339.5 MB / 3.694 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/8.596, allocations: 0 / 3.694 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.276e-05/8.597, allocations: 25.55 kB / 3.694 GB, free: 205.6 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.002994/8.6, allocations: 1.485 MB / 3.695 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/8.6, allocations: 10.42 kB / 3.695 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/8.6, allocations: 216.5 kB / 3.695 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/8.603, allocations: 1.589 MB / 3.697 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/8.603, allocations: 19.75 kB / 3.697 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/8.603, allocations: 36.53 kB / 3.697 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001036/8.604, allocations: 0.7012 MB / 3.698 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/8.605, allocations: 0.6399 MB / 3.698 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/8.605, allocations: 0 / 3.698 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/8.605, allocations: 0 / 3.698 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/8.605, allocations: 23.52 kB / 3.698 GB, free: 202.8 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.004111/8.609, allocations: 3.376 MB / 3.701 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/8.61, allocations: 0.7593 MB / 3.702 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/8.611, allocations: 304.7 kB / 3.702 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003595/8.614, allocations: 3.725 MB / 3.706 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/8.615, allocations: 366.6 kB / 3.706 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.765e-06/8.615, allocations: 3.375 kB / 3.706 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.0333/8.648, allocations: 6.162 MB / 3.713 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/8.648, allocations: 85.33 kB / 3.713 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/8.651, allocations: 1.384 MB / 3.714 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/8.651, allocations: 25.7 kB / 3.714 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/8.651, allocations: 0.5011 MB / 3.714 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/8.651, allocations: 176 kB / 3.715 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/8.651, allocations: 0 / 3.715 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/8.651, allocations: 333.9 kB / 3.715 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/8.652, allocations: 278.6 kB / 3.715 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/8.652, allocations: 0.5725 MB / 3.716 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05859/8.711, allocations: 10.86 MB / 3.726 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/8.711, allocations: 0 / 3.726 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06042/8.772, allocations: 11.42 MB / 3.738 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/8.772, allocations: 0.9698 MB / 3.738 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/8.772, allocations: 7.938 kB / 3.738 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005285/8.772, allocations: 153.3 kB / 3.739 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/8.773, allocations: 131.8 kB / 3.739 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06014/8.833, allocations: 11.55 MB / 3.75 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/8.835, allocations: 83.39 kB / 3.75 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/8.835, allocations: 35.97 kB / 3.75 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/8.835, allocations: 4 kB / 3.75 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06205/8.897, allocations: 11.28 MB / 3.761 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/8.897, allocations: 0 / 3.761 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/8.898, allocations: 157.4 kB / 3.761 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/8.898, allocations: 131.8 kB / 3.761 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05908/8.957, allocations: 11.54 MB / 3.773 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/8.959, allocations: 67.61 kB / 3.773 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/8.959, allocations: 43.7 kB / 3.773 GB, free: 137.4 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.000325/8.959, allocations: 120.8 kB / 3.773 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/8.959, allocations: 114.3 kB / 3.773 GB, free: 137.1 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.03103/8.99, allocations: 5.827 MB / 3.779 GB, free: 131.3 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.