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.261/2.261, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001192/0.001192, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.584/1.584, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0009616/0.0009616, allocations: 103.3 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.869e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.286, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.844/6.13, allocations: 2.201 GB / 3.414 GB, free: 76.07 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/6.13, allocations: 97.88 kB / 3.414 GB, free: 76.02 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.453/7.583, allocations: 357.2 MB / 3.762 GB, free: 182.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.963e-06/7.583, allocations: 0 / 3.762 GB, free: 182.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001161/7.583, allocations: 24 kB / 3.762 GB, free: 182.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.003676/7.587, allocations: 1.486 MB / 3.764 GB, free: 181.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/7.587, allocations: 12.03 kB / 3.764 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/7.588, allocations: 218.2 kB / 3.764 GB, free: 181.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/7.59, allocations: 1.61 MB / 3.766 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/7.59, allocations: 45.31 kB / 3.766 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/7.591, allocations: 64 kB / 3.766 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/7.592, allocations: 0.7286 MB / 3.767 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/7.592, allocations: 4 kB / 3.767 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/7.592, allocations: 24 kB / 3.767 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/7.592, allocations: 19.98 kB / 3.767 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/7.593, allocations: 0.7313 MB / 3.767 GB, free: 177.8 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.004875/7.598, allocations: 3.525 MB / 3.771 GB, free: 174.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/7.599, allocations: 0.7899 MB / 3.771 GB, free: 173.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/7.599, allocations: 327.7 kB / 3.772 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003883/7.603, allocations: 3.791 MB / 3.776 GB, free: 168.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/7.604, allocations: 377.3 kB / 3.776 GB, free: 168.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.564e-06/7.604, allocations: 0 / 3.776 GB, free: 168.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001403/7.605, allocations: 0.7611 MB / 3.777 GB, free: 167.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/7.605, allocations: 85.53 kB / 3.777 GB, free: 167.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/7.607, allocations: 1.469 MB / 3.778 GB, free: 165.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/7.608, allocations: 41.7 kB / 3.778 GB, free: 165.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/7.608, allocations: 0.5009 MB / 3.779 GB, free: 165.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/7.608, allocations: 189.3 kB / 3.779 GB, free: 165.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/7.608, allocations: 12 kB / 3.779 GB, free: 165.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/7.608, allocations: 333.9 kB / 3.779 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/7.609, allocations: 293.5 kB / 3.779 GB, free: 164.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/7.609, allocations: 0.5903 MB / 3.78 GB, free: 163.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/7.61, allocations: 339.3 kB / 3.78 GB, free: 163.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/7.61, allocations: 0 / 3.78 GB, free: 163.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001536/7.611, allocations: 0.9366 MB / 3.781 GB, free: 162.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002403/7.611, allocations: 0.9706 MB / 3.782 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/7.611, allocations: 8 kB / 3.782 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15/9.761, allocations: 206.5 MB / 3.984 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/9.762, allocations: 129.8 kB / 3.984 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/9.763, allocations: 1.205 MB / 3.985 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/9.765, allocations: 91.8 kB / 3.985 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/9.765, allocations: 35.56 kB / 3.985 GB, free: 302.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/9.765, allocations: 5.531 kB / 3.985 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/9.767, allocations: 0.8107 MB / 3.986 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/9.767, allocations: 4.031 kB / 3.986 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209/10.98, allocations: 206.5 MB / 4.188 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008595/10.98, allocations: 136.5 kB / 4.188 GB, free: 158.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/10.98, allocations: 1.191 MB / 4.189 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/10.98, allocations: 89.56 kB / 4.189 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/10.98, allocations: 43.66 kB / 4.189 GB, free: 157.3 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.0004856/10.98, allocations: 142.6 kB / 4.189 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/10.98, allocations: 114.1 kB / 4.189 GB, free: 157.1 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). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/10.98, allocations: 0.5431 MB / 4.19 GB, free: 156.7 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.