Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.00113, allocations: 180.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008864, allocations: 91.02 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.255e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.002/7.223, allocations: 2.477 GB / 3.362 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/7.223, allocations: 105.6 kB / 3.362 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/8.562, allocations: 339.5 MB / 3.694 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.342e-06/8.562, allocations: 0 / 3.694 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001073/8.562, allocations: 25.75 kB / 3.694 GB, free: 205.4 MB / 0.8698 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.003205/8.566, allocations: 1.485 MB / 3.695 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/8.566, allocations: 12.06 kB / 3.695 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/8.567, allocations: 210.3 kB / 3.695 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/8.569, allocations: 1.605 MB / 3.697 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/8.569, allocations: 18.72 kB / 3.697 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/8.57, allocations: 37.28 kB / 3.697 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001085/8.571, allocations: 0.6952 MB / 3.698 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/8.572, allocations: 0.6459 MB / 3.698 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/8.572, allocations: 0 / 3.698 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/8.572, allocations: 0 / 3.698 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/8.572, allocations: 22.55 kB / 3.698 GB, free: 202.5 MB / 0.8698 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.004311/8.576, allocations: 3.366 MB / 3.702 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/8.577, allocations: 0.7595 MB / 3.702 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/8.577, allocations: 305.4 kB / 3.703 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003778/8.581, allocations: 3.742 MB / 3.706 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/8.582, allocations: 357.8 kB / 3.707 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.174e-06/8.582, allocations: 0 / 3.707 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.03334/8.615, allocations: 6.161 MB / 3.713 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/8.615, allocations: 85.47 kB / 3.713 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/8.617, allocations: 1.382 MB / 3.714 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/8.617, allocations: 28.64 kB / 3.714 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/8.618, allocations: 0.4954 MB / 3.715 GB, free: 192 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/8.618, allocations: 186.4 kB / 3.715 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/8.618, allocations: 0 / 3.715 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/8.618, allocations: 333.6 kB / 3.715 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/8.618, allocations: 273.7 kB / 3.715 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/8.619, allocations: 0.5694 MB / 3.716 GB, free: 191 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05885/8.678, allocations: 10.87 MB / 3.726 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/8.678, allocations: 0 / 3.726 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.05986/8.738, allocations: 11.42 MB / 3.738 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002478/8.738, allocations: 0.97 MB / 3.739 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/8.738, allocations: 4 kB / 3.739 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/8.739, allocations: 165 kB / 3.739 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/8.739, allocations: 123.8 kB / 3.739 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05872/8.798, allocations: 11.55 MB / 3.75 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/8.799, allocations: 75.52 kB / 3.75 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/8.799, allocations: 35.92 kB / 3.75 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/8.799, allocations: 4 kB / 3.75 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05988/8.859, allocations: 11.28 MB / 3.761 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/8.859, allocations: 4 kB / 3.761 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/8.86, allocations: 165.3 kB / 3.761 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/8.86, allocations: 123.8 kB / 3.762 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05783/8.918, allocations: 11.54 MB / 3.773 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/8.92, allocations: 75.55 kB / 3.773 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/8.92, allocations: 35.98 kB / 3.773 GB, free: 136.3 MB / 0.8698 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.0002872/8.92, allocations: 127.4 kB / 3.773 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03191/8.952, allocations: 6.146 MB / 3.779 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/8.952, allocations: 114.6 kB / 3.779 GB, free: 129.9 MB / 0.8698 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.03117/8.984, allocations: 5.829 MB / 3.785 GB, free: 124 MB / 0.8698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.