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.265/2.265, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001152/0.001152, allocations: 181.8 kB / 498.1 MB, free: 5.746 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.625/1.625, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 92.31 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3392, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.733/6.072, allocations: 2.201 GB / 3.424 GB, free: 229.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/6.073, allocations: 111.5 kB / 3.424 GB, free: 229 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.4/7.473, allocations: 358.3 MB / 3.774 GB, free: 335 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.355e-06/7.473, allocations: 0 / 3.774 GB, free: 335 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001775/7.473, allocations: 31.86 kB / 3.774 GB, free: 335 MB / 1.167 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.005118/7.478, allocations: 1.83 MB / 3.776 GB, free: 333.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/7.478, allocations: 11.12 kB / 3.776 GB, free: 333.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/7.479, allocations: 221.4 kB / 3.776 GB, free: 333.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/7.483, allocations: 1.623 MB / 3.778 GB, free: 332.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/7.483, allocations: 52.5 kB / 3.778 GB, free: 332.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/7.483, allocations: 69.06 kB / 3.778 GB, free: 332.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/7.485, allocations: 0.7641 MB / 3.779 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/7.485, allocations: 0 / 3.779 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/7.485, allocations: 31.45 kB / 3.779 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/7.485, allocations: 21.44 kB / 3.779 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/7.486, allocations: 0.8078 MB / 3.779 GB, free: 331.7 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004961/7.491, allocations: 3.512 MB / 3.783 GB, free: 329.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/7.493, allocations: 0.8691 MB / 3.784 GB, free: 328.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003794/7.497, allocations: 3.767 MB / 3.787 GB, free: 324.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006625/7.497, allocations: 428 kB / 3.788 GB, free: 324.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.594e-06/7.497, allocations: 0 / 3.788 GB, free: 324.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.004599/7.502, allocations: 1.544 MB / 3.789 GB, free: 323.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/7.502, allocations: 85.33 kB / 3.789 GB, free: 323.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/7.504, allocations: 1.481 MB / 3.791 GB, free: 323 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/7.504, allocations: 41.58 kB / 3.791 GB, free: 323 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/7.504, allocations: 0.5076 MB / 3.791 GB, free: 322.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/7.505, allocations: 190.4 kB / 3.792 GB, free: 322.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/7.505, allocations: 11.53 kB / 3.792 GB, free: 322.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.066e-05/7.505, allocations: 333.8 kB / 3.792 GB, free: 322 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/7.505, allocations: 329.2 kB / 3.792 GB, free: 321.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/7.506, allocations: 0.619 MB / 3.793 GB, free: 321.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/7.507, allocations: 375.2 kB / 3.793 GB, free: 321.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/7.507, allocations: 0 / 3.793 GB, free: 321.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001849/7.508, allocations: 1.044 MB / 3.794 GB, free: 320.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/7.509, allocations: 0.9635 MB / 3.795 GB, free: 319.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/7.509, allocations: 5.688 kB / 3.795 GB, free: 319.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137/8.645, allocations: 206.6 MB / 3.997 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/8.646, allocations: 131.5 kB / 3.997 GB, free: 114.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/8.647, allocations: 1.294 MB / 3.998 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/8.648, allocations: 95.39 kB / 3.998 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/8.648, allocations: 39.98 kB / 3.998 GB, free: 112.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/8.648, allocations: 4 kB / 3.998 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/8.65, allocations: 0.9057 MB / 3.999 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/8.65, allocations: 0 / 3.999 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87/10.52, allocations: 206.6 MB / 4.201 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/10.52, allocations: 131.7 kB / 4.201 GB, free: 330.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/10.52, allocations: 1.29 MB / 4.202 GB, free: 329.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/10.52, allocations: 91.8 kB / 4.202 GB, free: 329.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/10.52, allocations: 39.05 kB / 4.202 GB, free: 329.5 MB / 1.167 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 () * Number of clocked 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.0007966/10.52, allocations: 381.1 kB / 4.203 GB, free: 329.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/10.52, allocations: 113.2 kB / 4.203 GB, free: 329.2 MB / 1.167 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). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/10.53, allocations: 0.5681 MB / 4.203 GB, free: 328.9 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.