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.372/2.372, allocations: 390.5 MB / 398 MB, free: 10.93 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.001815/0.001816, allocations: 183.3 kB / 491.2 MB, free: 1.562 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.835/1.835, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001239/0.001239, allocations: 99.75 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.26e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.865/6.203, allocations: 2.201 GB / 3.414 GB, free: 98.78 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/6.203, allocations: 100.6 kB / 3.414 GB, free: 98.68 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.509/7.712, allocations: 352.7 MB / 3.758 GB, free: 205.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.345e-06/7.712, allocations: 0 / 3.758 GB, free: 205.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000182/7.712, allocations: 24 kB / 3.758 GB, free: 205.5 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.004413/7.717, allocations: 1.489 MB / 3.76 GB, free: 203.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/7.717, allocations: 12.03 kB / 3.76 GB, free: 203.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/7.718, allocations: 214.2 kB / 3.76 GB, free: 203.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/7.722, allocations: 1.61 MB / 3.761 GB, free: 202.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/7.722, allocations: 20 kB / 3.761 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/7.722, allocations: 40 kB / 3.761 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001268/7.723, allocations: 0.703 MB / 3.762 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/7.724, allocations: 0.644 MB / 3.763 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/7.724, allocations: 8 kB / 3.763 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/7.725, allocations: 7.922 kB / 3.763 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/7.725, allocations: 20 kB / 3.763 GB, free: 200.6 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.005162/7.73, allocations: 3.402 MB / 3.766 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/7.731, allocations: 0.7634 MB / 3.767 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/7.731, allocations: 320 kB / 3.767 GB, free: 196 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003989/7.735, allocations: 3.751 MB / 3.771 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/7.736, allocations: 364.5 kB / 3.771 GB, free: 191.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.416e-06/7.736, allocations: 0 / 3.771 GB, free: 191.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.03319/7.769, allocations: 6.036 MB / 3.777 GB, free: 185.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/7.769, allocations: 81.55 kB / 3.777 GB, free: 185.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/7.771, allocations: 1.388 MB / 3.778 GB, free: 183.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/7.772, allocations: 29.7 kB / 3.778 GB, free: 183.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/7.772, allocations: 0.5044 MB / 3.779 GB, free: 183.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/7.772, allocations: 177.4 kB / 3.779 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/7.772, allocations: 0 / 3.779 GB, free: 183.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/7.773, allocations: 334 kB / 3.779 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/7.773, allocations: 281.4 kB / 3.78 GB, free: 182.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/7.774, allocations: 0.5809 MB / 3.78 GB, free: 181.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06238/7.836, allocations: 10.86 MB / 3.791 GB, free: 170.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/7.836, allocations: 0 / 3.791 GB, free: 170.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.06293/7.899, allocations: 11.43 MB / 3.802 GB, free: 159.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/7.899, allocations: 0.9702 MB / 3.803 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/7.899, allocations: 4 kB / 3.803 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/7.9, allocations: 165.6 kB / 3.803 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/7.9, allocations: 127.8 kB / 3.803 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06078/7.961, allocations: 11.54 MB / 3.815 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/7.963, allocations: 79.38 kB / 3.815 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003865/7.963, allocations: 35.97 kB / 3.815 GB, free: 146.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/7.963, allocations: 8.062 kB / 3.815 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0619/8.025, allocations: 11.28 MB / 3.826 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/8.025, allocations: 4 kB / 3.826 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/8.026, allocations: 177.8 kB / 3.826 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/8.026, allocations: 119.9 kB / 3.826 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05979/8.086, allocations: 11.54 MB / 3.837 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/8.088, allocations: 71.55 kB / 3.837 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/8.088, allocations: 43.92 kB / 3.837 GB, free: 123.1 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.000394/8.089, allocations: 124.9 kB / 3.837 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/8.089, allocations: 106.7 kB / 3.838 GB, free: 122.9 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). Warning: Equation 54 (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.03212/8.121, allocations: 5.83 MB / 3.843 GB, free: 117 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.