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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001125/0.001124, allocations: 172.8 kB / 487.4 MB, free: 5.055 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.65/1.65, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009542, allocations: 91.91 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.924e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.947, allocations: 2.2 GB / 3.407 GB, free: 133.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/5.947, allocations: 99.94 kB / 3.407 GB, free: 133.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.351/7.298, allocations: 352.6 MB / 3.751 GB, free: 242.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/7.298, allocations: 0 / 3.751 GB, free: 242.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001583/7.298, allocations: 31.92 kB / 3.751 GB, free: 242.7 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.003791/7.302, allocations: 1.491 MB / 3.753 GB, free: 241.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/7.302, allocations: 12.02 kB / 3.753 GB, free: 241.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/7.303, allocations: 218.2 kB / 3.753 GB, free: 240.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/7.306, allocations: 1.607 MB / 3.754 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/7.306, allocations: 28 kB / 3.754 GB, free: 239.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/7.306, allocations: 43.98 kB / 3.754 GB, free: 239.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001284/7.308, allocations: 0.6975 MB / 3.755 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/7.309, allocations: 0.6519 MB / 3.756 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/7.309, allocations: 0 / 3.756 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/7.309, allocations: 4 kB / 3.756 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/7.309, allocations: 19.94 kB / 3.756 GB, free: 237.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.005026/7.314, allocations: 3.402 MB / 3.759 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/7.315, allocations: 0.7768 MB / 3.76 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/7.316, allocations: 314.5 kB / 3.76 GB, free: 233.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004086/7.32, allocations: 3.74 MB / 3.764 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/7.32, allocations: 372.4 kB / 3.764 GB, free: 228.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.056e-06/7.32, allocations: 0 / 3.764 GB, free: 228.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.03257/7.353, allocations: 6.04 MB / 3.77 GB, free: 222.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/7.353, allocations: 81.55 kB / 3.77 GB, free: 222.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/7.355, allocations: 1.38 MB / 3.771 GB, free: 221 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/7.355, allocations: 29.7 kB / 3.771 GB, free: 221 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/7.355, allocations: 0.5121 MB / 3.772 GB, free: 220.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/7.355, allocations: 177.4 kB / 3.772 GB, free: 220.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/7.355, allocations: 0 / 3.772 GB, free: 220.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.528e-05/7.355, allocations: 334 kB / 3.772 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/7.356, allocations: 277.5 kB / 3.773 GB, free: 219.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/7.356, allocations: 0.5731 MB / 3.773 GB, free: 219 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06157/7.418, allocations: 10.87 MB / 3.784 GB, free: 208.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/7.418, allocations: 3.953 kB / 3.784 GB, free: 208.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.06339/7.481, allocations: 11.43 MB / 3.795 GB, free: 196.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/7.482, allocations: 0.9722 MB / 3.796 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/7.482, allocations: 4 kB / 3.796 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/7.482, allocations: 165.6 kB / 3.796 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/7.483, allocations: 127.8 kB / 3.796 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06087/7.543, allocations: 11.55 MB / 3.808 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/7.545, allocations: 67.48 kB / 3.808 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/7.545, allocations: 39.98 kB / 3.808 GB, free: 183.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/7.545, allocations: 8.062 kB / 3.808 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06248/7.607, allocations: 11.29 MB / 3.819 GB, free: 172.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/7.607, allocations: 320 / 3.819 GB, free: 172.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/7.608, allocations: 161.6 kB / 3.819 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/7.608, allocations: 135.8 kB / 3.819 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06114/7.669, allocations: 11.55 MB / 3.83 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/7.671, allocations: 71.47 kB / 3.83 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/7.671, allocations: 31.98 kB / 3.83 GB, free: 160.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.000251/7.671, allocations: 128.9 kB / 3.83 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03241/7.704, allocations: 6.032 MB / 3.836 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/7.704, allocations: 106.7 kB / 3.836 GB, free: 154 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.03161/7.736, allocations: 5.826 MB / 3.842 GB, free: 148.2 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.