Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 168.9 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 87.03 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.606e-05, allocations: 8 kB / 0.8518 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7789, allocations: 115.3 MB / 0.9645 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.25/7.029, allocations: 2.359 GB / 3.323 GB, free: 119.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/7.029, allocations: 97.38 kB / 3.323 GB, free: 119 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.269/8.298, allocations: 347.4 MB / 3.663 GB, free: 166.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.755e-06/8.298, allocations: 0 / 3.663 GB, free: 166.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002003/8.298, allocations: 27.94 kB / 3.663 GB, free: 166.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004653/8.303, allocations: 1.489 MB / 3.664 GB, free: 165.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/8.303, allocations: 8.031 kB / 3.664 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/8.305, allocations: 214.2 kB / 3.664 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004168/8.309, allocations: 1.599 MB / 3.666 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/8.309, allocations: 16 kB / 3.666 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/8.309, allocations: 43.95 kB / 3.666 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001238/8.31, allocations: 0.6936 MB / 3.667 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/8.311, allocations: 0.6441 MB / 3.667 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/8.311, allocations: 0 / 3.667 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/8.311, allocations: 0 / 3.667 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/8.311, allocations: 19.94 kB / 3.667 GB, free: 162 MB / 0.948 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.004915/8.316, allocations: 3.373 MB / 3.671 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/8.317, allocations: 0.7657 MB / 3.671 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/8.318, allocations: 306.1 kB / 3.672 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00376/8.322, allocations: 3.739 MB / 3.675 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/8.322, allocations: 352.4 kB / 3.676 GB, free: 152.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 2.865e-06/8.322, allocations: 8 kB / 3.676 GB, free: 152.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.03411/8.356, allocations: 6.161 MB / 3.682 GB, free: 146.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/8.356, allocations: 81.55 kB / 3.682 GB, free: 146.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/8.359, allocations: 1.384 MB / 3.683 GB, free: 145.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/8.359, allocations: 33.7 kB / 3.683 GB, free: 145.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/8.359, allocations: 0.4966 MB / 3.684 GB, free: 144.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/8.359, allocations: 177.4 kB / 3.684 GB, free: 144.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/8.359, allocations: 0 / 3.684 GB, free: 144.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/8.36, allocations: 326 kB / 3.684 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/8.36, allocations: 281.4 kB / 3.684 GB, free: 143.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/8.36, allocations: 0.5731 MB / 3.685 GB, free: 143.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06136/8.422, allocations: 10.86 MB / 3.696 GB, free: 132.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/8.422, allocations: 0 / 3.696 GB, free: 132.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.06308/8.485, allocations: 11.42 MB / 3.707 GB, free: 120.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000363/8.485, allocations: 0.9699 MB / 3.708 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/8.485, allocations: 4 kB / 3.708 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/8.486, allocations: 161.6 kB / 3.708 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/8.487, allocations: 127.8 kB / 3.708 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06185/8.549, allocations: 11.55 MB / 3.719 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/8.55, allocations: 75.58 kB / 3.719 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/8.55, allocations: 39.98 kB / 3.719 GB, free: 107.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/8.55, allocations: 4.719 kB / 3.719 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06248/8.613, allocations: 11.28 MB / 3.73 GB, free: 96.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/8.613, allocations: 4 kB / 3.73 GB, free: 96.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/8.613, allocations: 165.6 kB / 3.731 GB, free: 96.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/8.614, allocations: 123.8 kB / 3.731 GB, free: 96.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06118/8.675, allocations: 11.55 MB / 3.742 GB, free: 84.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/8.677, allocations: 67.61 kB / 3.742 GB, free: 84.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/8.677, allocations: 35.98 kB / 3.742 GB, free: 84.49 MB / 0.948 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 (70): * Single equations (assignments): 68 * 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.0003784/8.677, allocations: 128.8 kB / 3.742 GB, free: 84.36 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03377/8.711, allocations: 6.157 MB / 3.748 GB, free: 78.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/8.712, allocations: 106.7 kB / 3.748 GB, free: 78.08 MB / 0.948 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 67 equation(s) and 66 variable(s). Warning: Equation 52 (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.03182/8.744, allocations: 5.826 MB / 3.754 GB, free: 72.25 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.