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.172/2.172, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001133/0.001133, allocations: 179.9 kB / 0.4902 GB, free: 2.223 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.523/1.523, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.0009883/0.0009882, allocations: 106.9 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 14.16 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3699, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.395/5.765, allocations: 2.202 GB / 3.431 GB, free: 228.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/5.766, allocations: 105.2 kB / 3.431 GB, free: 228 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/7.218, allocations: 358.3 MB / 3.781 GB, free: 316.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.663e-06/7.218, allocations: 1.719 kB / 3.781 GB, free: 316.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.676e-05/7.218, allocations: 30.33 kB / 3.781 GB, free: 316.6 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.004237/7.222, allocations: 1.83 MB / 3.783 GB, free: 315.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/7.222, allocations: 14.22 kB / 3.783 GB, free: 315.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/7.223, allocations: 218.1 kB / 3.783 GB, free: 315.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/7.226, allocations: 1.629 MB / 3.785 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/7.226, allocations: 48.34 kB / 3.785 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/7.226, allocations: 68.66 kB / 3.785 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/7.228, allocations: 0.7679 MB / 3.786 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/7.228, allocations: 0 / 3.786 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/7.228, allocations: 33.8 kB / 3.786 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/7.228, allocations: 15.16 kB / 3.786 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/7.229, allocations: 0.8015 MB / 3.787 GB, free: 313.1 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.004263/7.233, allocations: 3.518 MB / 3.79 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/7.235, allocations: 0.8715 MB / 3.791 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003618/7.239, allocations: 3.769 MB / 3.795 GB, free: 306.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007053/7.239, allocations: 411.9 kB / 3.795 GB, free: 306 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.785e-06/7.239, allocations: 0 / 3.795 GB, free: 306 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.004757/7.244, allocations: 1.562 MB / 3.796 GB, free: 305.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/7.244, allocations: 84.14 kB / 3.797 GB, free: 305.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/7.246, allocations: 1.483 MB / 3.798 GB, free: 304.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/7.246, allocations: 40.95 kB / 3.798 GB, free: 304.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/7.246, allocations: 0.5009 MB / 3.798 GB, free: 303.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/7.247, allocations: 190.2 kB / 3.799 GB, free: 303.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/7.247, allocations: 14.03 kB / 3.799 GB, free: 303.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/7.247, allocations: 333.6 kB / 3.799 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/7.247, allocations: 322.2 kB / 3.799 GB, free: 303.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/7.248, allocations: 0.6273 MB / 3.8 GB, free: 302.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/7.249, allocations: 375.2 kB / 3.8 GB, free: 302.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/7.249, allocations: 6.125 kB / 3.8 GB, free: 302.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001906/7.251, allocations: 1.038 MB / 3.801 GB, free: 302.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002356/7.251, allocations: 0.9678 MB / 3.802 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/7.251, allocations: 3.594 kB / 3.802 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213/8.464, allocations: 206.6 MB / 4.004 GB, free: 97.96 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/8.465, allocations: 131.6 kB / 4.004 GB, free: 97.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/8.466, allocations: 1.284 MB / 4.005 GB, free: 96.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/8.467, allocations: 99.42 kB / 4.005 GB, free: 96.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/8.467, allocations: 35.98 kB / 4.005 GB, free: 96.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/8.467, allocations: 0 / 4.005 GB, free: 96.37 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001707/8.469, allocations: 0.9143 MB / 4.006 GB, free: 95.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/8.469, allocations: 7.984 kB / 4.006 GB, free: 95.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889/10.36, allocations: 206.6 MB / 4.208 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/10.36, allocations: 127.6 kB / 4.208 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/10.36, allocations: 1.284 MB / 4.209 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/10.36, allocations: 90.95 kB / 4.21 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/10.36, allocations: 35.44 kB / 4.21 GB, free: 311 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.0008682/10.36, allocations: 383.2 kB / 4.21 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/10.36, allocations: 117.8 kB / 4.21 GB, free: 310.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.001265/10.36, allocations: 0.5665 MB / 4.211 GB, free: 310.4 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.