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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.351/2.351, allocations: 390.5 MB / 398 MB, free: 10.92 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.001123/0.001123, allocations: 180.8 kB / 491.2 MB, free: 1.559 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001164/0.001164, allocations: 91.78 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.126e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.033/6.328, allocations: 2.201 GB / 3.414 GB, free: 73.82 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.328, allocations: 100.8 kB / 3.414 GB, free: 73.77 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.368/7.696, allocations: 352.6 MB / 3.758 GB, free: 185.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.432e-06/7.696, allocations: 0 / 3.758 GB, free: 185.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.964e-05/7.697, allocations: 35.98 kB / 3.758 GB, free: 185 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.002925/7.699, allocations: 1.486 MB / 3.76 GB, free: 183.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/7.7, allocations: 12.03 kB / 3.76 GB, free: 183.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/7.7, allocations: 222.3 kB / 3.76 GB, free: 183.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/7.703, allocations: 1.618 MB / 3.761 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/7.703, allocations: 20 kB / 3.761 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.748e-05/7.703, allocations: 36 kB / 3.761 GB, free: 181.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009665/7.704, allocations: 0.7014 MB / 3.762 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/7.705, allocations: 0.6479 MB / 3.763 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/7.705, allocations: 0 / 3.763 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/7.705, allocations: 4 kB / 3.763 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/7.705, allocations: 20 kB / 3.763 GB, free: 180.1 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.003831/7.709, allocations: 3.398 MB / 3.766 GB, free: 176.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/7.71, allocations: 0.7634 MB / 3.767 GB, free: 175.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/7.71, allocations: 327.8 kB / 3.767 GB, free: 175.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003281/7.713, allocations: 3.758 MB / 3.771 GB, free: 171.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/7.714, allocations: 360.4 kB / 3.771 GB, free: 170.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.365e-06/7.714, allocations: 0 / 3.771 GB, free: 170.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.03265/7.747, allocations: 6.036 MB / 3.777 GB, free: 164.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/7.747, allocations: 85.53 kB / 3.777 GB, free: 164.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/7.748, allocations: 1.388 MB / 3.779 GB, free: 163.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/7.749, allocations: 33.7 kB / 3.779 GB, free: 163.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/7.749, allocations: 0.5005 MB / 3.779 GB, free: 162.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/7.749, allocations: 177.4 kB / 3.779 GB, free: 162.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/7.749, allocations: 0 / 3.779 GB, free: 162.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/7.749, allocations: 334 kB / 3.78 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/7.75, allocations: 277.5 kB / 3.78 GB, free: 162 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/7.75, allocations: 0.5731 MB / 3.78 GB, free: 161.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06219/7.812, allocations: 10.87 MB / 3.791 GB, free: 150.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/7.812, allocations: 0 / 3.791 GB, free: 150.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.06369/7.876, allocations: 11.44 MB / 3.802 GB, free: 139 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/7.876, allocations: 0.9664 MB / 3.803 GB, free: 138 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/7.876, allocations: 8 kB / 3.803 GB, free: 138 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/7.877, allocations: 161.6 kB / 3.803 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/7.877, allocations: 127.8 kB / 3.803 GB, free: 137.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06167/7.939, allocations: 11.55 MB / 3.815 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/7.941, allocations: 71.48 kB / 3.815 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/7.941, allocations: 36.05 kB / 3.815 GB, free: 125.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/7.941, allocations: 7.938 kB / 3.815 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06304/8.004, allocations: 11.29 MB / 3.826 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/8.004, allocations: 8.062 kB / 3.826 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/8.004, allocations: 169.6 kB / 3.826 GB, free: 114.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/8.005, allocations: 127.8 kB / 3.826 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06195/8.067, allocations: 11.55 MB / 3.837 GB, free: 102.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/8.068, allocations: 63.55 kB / 3.837 GB, free: 102.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/8.068, allocations: 44 kB / 3.837 GB, free: 102.6 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.0002455/8.068, allocations: 120.8 kB / 3.838 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03282/8.101, allocations: 6.028 MB / 3.843 GB, free: 96.44 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/8.101, allocations: 106.7 kB / 3.844 GB, free: 96.34 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.03324/8.135, allocations: 5.834 MB / 3.849 GB, free: 90.5 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.