Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.381/2.381, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001536/0.001536, allocations: 176.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009444/0.0009443, allocations: 87.91 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.509e-05/4.511e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.704/6.002, allocations: 2.202 GB / 3.421 GB, free: 62.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/6.002, allocations: 95.94 kB / 3.421 GB, free: 62.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.553/7.555, allocations: 357.2 MB / 3.77 GB, free: 181.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.684e-06/7.555, allocations: 0 / 3.77 GB, free: 181.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001719/7.555, allocations: 24 kB / 3.77 GB, free: 181.1 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.004395/7.56, allocations: 1.501 MB / 3.771 GB, free: 179.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/7.56, allocations: 8.031 kB / 3.771 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/7.561, allocations: 214.3 kB / 3.771 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/7.565, allocations: 1.606 MB / 3.773 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/7.565, allocations: 53.31 kB / 3.773 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/7.565, allocations: 63.94 kB / 3.773 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/7.567, allocations: 0.7248 MB / 3.774 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/7.567, allocations: 3.938 kB / 3.774 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/7.567, allocations: 31.98 kB / 3.774 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/7.567, allocations: 16 kB / 3.774 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/7.568, allocations: 0.7352 MB / 3.774 GB, free: 176 MB / 1.167 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.005776/7.574, allocations: 3.522 MB / 3.778 GB, free: 172.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/7.575, allocations: 0.7946 MB / 3.779 GB, free: 171.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/7.575, allocations: 331.4 kB / 3.779 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004052/7.58, allocations: 3.782 MB / 3.783 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/7.58, allocations: 385.3 kB / 3.783 GB, free: 166.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.244e-06/7.58, allocations: 0 / 3.783 GB, free: 166.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.001342/7.581, allocations: 0.765 MB / 3.784 GB, free: 165.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/7.581, allocations: 81.55 kB / 3.784 GB, free: 165.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/7.583, allocations: 1.465 MB / 3.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/7.583, allocations: 45.64 kB / 3.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/7.584, allocations: 0.5047 MB / 3.786 GB, free: 163.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/7.584, allocations: 193.3 kB / 3.786 GB, free: 163.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/7.584, allocations: 12 kB / 3.786 GB, free: 163.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/7.584, allocations: 333.9 kB / 3.786 GB, free: 163.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/7.584, allocations: 289.5 kB / 3.787 GB, free: 162.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/7.585, allocations: 0.5864 MB / 3.787 GB, free: 162.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/7.585, allocations: 347.3 kB / 3.788 GB, free: 161.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.585, allocations: 0 / 3.788 GB, free: 161.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001415/7.587, allocations: 0.9287 MB / 3.788 GB, free: 160.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/7.587, allocations: 0.9821 MB / 3.789 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/7.587, allocations: 4 kB / 3.789 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023/9.61, allocations: 206.5 MB / 3.991 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/9.611, allocations: 130 kB / 3.991 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/9.612, allocations: 1.205 MB / 3.992 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/9.613, allocations: 85.73 kB / 3.992 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/9.613, allocations: 40.5 kB / 3.992 GB, free: 308.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/9.613, allocations: 3.969 kB / 3.992 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001561/9.615, allocations: 0.8121 MB / 3.993 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/9.615, allocations: 3.812 kB / 3.993 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137/10.75, allocations: 206.5 MB / 4.195 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/10.75, allocations: 134.9 kB / 4.195 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008713/10.75, allocations: 1.2 MB / 4.196 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/10.76, allocations: 85.39 kB / 4.196 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/10.76, allocations: 38.17 kB / 4.196 GB, free: 168.9 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 () * 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.0003667/10.76, allocations: 139.7 kB / 4.196 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/10.76, allocations: 122 kB / 4.197 GB, free: 168.7 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.001425/10.76, allocations: 0.5428 MB / 4.197 GB, free: 168.4 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.