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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009588/0.0009589, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007701/0.007701, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003263, allocations: 12.28 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6095, allocations: 142.4 MB / 0.9552 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1744/0.7839, allocations: 176.6 MB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.801, allocations: 13.32 MB / 1.141 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.8024, allocations: 27.81 kB / 1.141 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.8039, allocations: 433.6 kB / 1.141 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.8093, allocations: 2.019 MB / 1.143 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.8118, allocations: 0.9843 MB / 1.144 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003324/0.8152, allocations: 2.988 MB / 1.147 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.8163, allocations: 0.6837 MB / 1.148 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.8177, allocations: 0.7271 MB / 1.148 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.8188, allocations: 0.6842 MB / 1.149 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.8191, allocations: 44 kB / 1.149 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.823, allocations: 2.267 MB / 1.151 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.8234, allocations: 286.8 kB / 1.151 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.8243, allocations: 0.592 MB / 1.152 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00413/0.8284, allocations: 2.711 MB / 1.155 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8284, allocations: 0 / 1.155 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8284, allocations: 0 / 1.155 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.636e-05/0.8285, allocations: 0 / 1.155 GB, free: 2.383 MB / 0.9044 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.003041/0.8315, allocations: 1.601 MB / 1.156 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8316, allocations: 12.02 kB / 1.156 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.8318, allocations: 106.5 kB / 1.156 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009459/0.8327, allocations: 238.2 kB / 1.157 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.8353, allocations: 1.856 MB / 1.158 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.8353, allocations: 45.31 kB / 1.158 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.8354, allocations: 67.94 kB / 1.159 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.8368, allocations: 0.7636 MB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.8368, allocations: 8 kB / 1.159 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.8369, allocations: 24 kB / 1.159 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.8369, allocations: 16 kB / 1.159 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.8383, allocations: 0.7546 MB / 1.16 GB, free: 12.75 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004055/0.8424, allocations: 3.273 MB / 1.163 GB, free: 9.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.8438, allocations: 0.7696 MB / 1.164 GB, free: 8.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.8445, allocations: 339.6 kB / 1.164 GB, free: 8.215 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005235/0.8498, allocations: 3.663 MB / 1.168 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000983/0.8508, allocations: 389.3 kB / 1.168 GB, free: 3.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.896e-06/0.8508, allocations: 0 / 1.168 GB, free: 3.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=52): time 0.006837/0.8577, allocations: 1.518 MB / 1.17 GB, free: 2.051 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.8577, allocations: 85.55 kB / 1.17 GB, free: 1.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/0.8616, allocations: 2.075 MB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.843e-05/0.8617, allocations: 37.7 kB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.8623, allocations: 0.5046 MB / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.8625, allocations: 185.5 kB / 1.173 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8627, allocations: 57.69 kB / 1.173 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8628, allocations: 334 kB / 1.173 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/0.8637, allocations: 317.2 kB / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.8649, allocations: 0.5951 MB / 1.174 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.8668, allocations: 0.7113 MB / 1.175 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8668, allocations: 0 / 1.175 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002869/0.8697, allocations: 1.007 MB / 1.176 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.8698, allocations: 168.5 kB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.8698, allocations: 0 / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538/2.408, allocations: 193.5 MB / 1.365 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/2.409, allocations: 131.4 kB / 1.365 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/2.41, allocations: 1.283 MB / 1.366 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008778/2.411, allocations: 105.7 kB / 1.366 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/2.411, allocations: 28.73 kB / 1.366 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/2.411, allocations: 11.19 kB / 1.366 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/2.412, allocations: 0.8804 MB / 1.367 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/2.412, allocations: 4.188 kB / 1.367 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087/3.499, allocations: 193.5 MB / 1.556 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/3.5, allocations: 127.7 kB / 1.556 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/3.501, allocations: 1.291 MB / 1.557 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/3.502, allocations: 88.62 kB / 1.557 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/3.502, allocations: 31.98 kB / 1.558 GB, free: 5.508 MB / 1.014 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000623/3.503, allocations: 383.6 kB / 1.558 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/3.503, allocations: 114 kB / 1.558 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/3.505, allocations: 0.9554 MB / 1.559 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/3.505, allocations: 8 kB / 1.559 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/3.505, allocations: 0 / 1.559 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/3.507, allocations: 0.9968 MB / 1.56 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/3.511, allocations: 2.149 MB / 1.562 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/3.511, allocations: 5.125 kB / 1.562 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/3.512, allocations: 80 kB / 1.562 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5738/4.086, allocations: 96.83 MB / 1.657 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/4.086, allocations: 23.73 kB / 1.657 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/4.087, allocations: 0.7473 MB / 1.657 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/4.087, allocations: 0 / 1.657 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004027/4.091, allocations: 1.516 MB / 1.659 GB, free: 13.56 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/4.092, allocations: 311 kB / 1.659 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/4.092, allocations: 12 kB / 1.659 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/4.093, allocations: 56.03 kB / 1.659 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/4.093, allocations: 44.31 kB / 1.659 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/4.093, allocations: 23.98 kB / 1.659 GB, free: 13.11 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001826/4.095, allocations: 1.544 MB / 1.661 GB, free: 11.56 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.043e-06/4.095, allocations: 0 / 1.661 GB, free: 11.56 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002053/4.097, allocations: 0.726 MB / 1.662 GB, free: 10.91 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006359/4.103, allocations: 2.904 MB / 1.664 GB, free: 8.281 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00264/4.106, allocations: 1.202 MB / 1.666 GB, free: 7.086 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/4.106, allocations: 0.625 kB / 1.666 GB, free: 7.086 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007752/4.107, allocations: 374.8 kB / 1.666 GB, free: 6.723 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/4.109, allocations: 479.3 kB / 1.666 GB, free: 6.258 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.42/4.529, allocations: 12.24 MB / 1.678 GB, free: 411 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/4.53, allocations: 1.094 MB / 1.679 GB, free: 410.3 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001049/4.531, allocations: 281.6 kB / 1.68 GB, free: 410.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/4.532, allocations: 440.2 kB / 1.68 GB, free: 410 MB / 1.123 GB Notification: Performance of SimCode: time 9.62e-07/4.532, allocations: 2.078 kB / 1.68 GB, free: 410 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.18/6.712, allocations: 36.59 MB / 1.716 GB, free: 387.6 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/6.712, allocations: 308.6 kB / 1.716 GB, free: 387.2 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.55/10.26, allocations: 0 / 1.716 GB, free: 387.2 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)