Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01041/0.01042, allocations: 87.8 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00125/0.001249, allocations: 169.5 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.082/2.082, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.357/2.357, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.0006412, allocations: 11.19 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2232, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.879/1.102, allocations: 153 MB / 0.8775 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03008/1.132, allocations: 11.2 MB / 0.8884 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/1.134, allocations: 26.03 kB / 0.8885 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002731/1.137, allocations: 471.1 kB / 0.8889 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.02674/1.164, allocations: 1.876 MB / 0.8907 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01424/1.178, allocations: 1.129 MB / 0.8918 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009122/1.187, allocations: 1.452 MB / 0.8933 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/1.189, allocations: 0.6033 MB / 0.8938 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/1.192, allocations: 0.6535 MB / 0.8945 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/1.193, allocations: 0.4954 MB / 0.895 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000295/1.193, allocations: 37.56 kB / 0.895 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007916/1.201, allocations: 1.6 MB / 0.8966 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008344/1.202, allocations: 268.5 kB / 0.8968 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008216/1.203, allocations: 241.7 kB / 0.8971 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005353/1.208, allocations: 1.859 MB / 0.8989 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.208, allocations: 6.062 kB / 0.8989 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.374e-06/1.208, allocations: 0 / 0.8989 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.184e-05/1.209, allocations: 1.375 kB / 0.8989 GB, free: 7.969 MB / 0.6667 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.00496/1.214, allocations: 1.578 MB / 0.9004 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.214, allocations: 8.781 kB / 0.9004 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004402/1.214, allocations: 103.5 kB / 0.9005 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/1.216, allocations: 230.2 kB / 0.9007 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/1.22, allocations: 1.794 MB / 0.9025 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/1.22, allocations: 46.62 kB / 0.9025 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/1.22, allocations: 59.09 kB / 0.9026 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/1.223, allocations: 0.7304 MB / 0.9033 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/1.223, allocations: 0 / 0.9033 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/1.223, allocations: 22.09 kB / 0.9033 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/1.223, allocations: 21.08 kB / 0.9034 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.225, allocations: 0.7121 MB / 0.904 GB, free: 6.125 MB / 0.6667 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.006662/1.232, allocations: 3.171 MB / 0.9071 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/1.234, allocations: 0.719 MB / 0.9078 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005861/1.24, allocations: 3.593 MB / 0.9114 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/1.241, allocations: 357.1 kB / 0.9117 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 4.589e-06/1.241, allocations: 4.75 kB / 0.9117 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.009025/1.25, allocations: 1.465 MB / 0.9131 GB, free: 388 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.25, allocations: 82.89 kB / 0.9132 GB, free: 292 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.254, allocations: 2.08 MB / 0.9152 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/1.255, allocations: 44.92 kB / 0.9153 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/1.255, allocations: 499.4 kB / 0.9158 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/1.256, allocations: 182.9 kB / 0.9159 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/1.256, allocations: 14 kB / 0.9159 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.256, allocations: 333.4 kB / 0.9163 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.257, allocations: 291.7 kB / 0.9165 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.258, allocations: 0.5703 MB / 0.9171 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.259, allocations: 337.4 kB / 0.9174 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.259, allocations: 3.938 kB / 0.9174 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003526/1.263, allocations: 0.9653 MB / 0.9184 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004833/1.263, allocations: 0.9779 MB / 0.9193 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.264, allocations: 2.375 kB / 0.9193 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538/3.802, allocations: 193.5 MB / 1.108 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/3.803, allocations: 133.5 kB / 1.108 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/3.805, allocations: 1.283 MB / 1.11 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/3.807, allocations: 111.8 kB / 1.11 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/3.807, allocations: 30.8 kB / 1.11 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/3.807, allocations: 4.719 kB / 1.11 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003089/3.811, allocations: 0.8458 MB / 1.111 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/3.811, allocations: 4 kB / 1.111 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.395/7.206, allocations: 193.5 MB / 1.3 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/7.207, allocations: 132.1 kB / 1.3 GB, free: 303.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/7.209, allocations: 1.285 MB / 1.301 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/7.211, allocations: 102.4 kB / 1.301 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/7.211, allocations: 33.92 kB / 1.301 GB, free: 302.4 MB / 0.9323 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 () * 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 (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.000965/7.212, allocations: 377 kB / 1.302 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/7.212, allocations: 111.7 kB / 1.302 GB, free: 302 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/7.215, allocations: 0.9323 MB / 1.303 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/7.215, allocations: 11.98 kB / 1.303 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/7.215, allocations: 0 / 1.303 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002368/7.218, allocations: 0.9591 MB / 1.303 GB, free: 300.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/7.225, allocations: 2.066 MB / 1.305 GB, free: 299 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/7.225, allocations: 1.688 kB / 1.305 GB, free: 299 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/7.226, allocations: 87.81 kB / 1.306 GB, free: 298.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187/8.413, allocations: 96.84 MB / 1.4 GB, free: 202 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/8.414, allocations: 20.81 kB / 1.4 GB, free: 202 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/8.415, allocations: 0.7451 MB / 1.401 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/8.415, allocations: 3.938 kB / 1.401 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/8.421, allocations: 1.476 MB / 1.402 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/8.422, allocations: 314.1 kB / 1.403 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/8.423, allocations: 12 kB / 1.403 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/8.424, allocations: 51.47 kB / 1.403 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/8.424, allocations: 44.34 kB / 1.403 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/8.424, allocations: 27.97 kB / 1.403 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002443/8.426, allocations: 1.54 MB / 1.404 GB, free: 198 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.81e-07/8.427, allocations: 0 / 1.404 GB, free: 198 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003186/8.43, allocations: 0.7276 MB / 1.405 GB, free: 197.3 MB / 0.9323 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009238/8.439, allocations: 3.083 MB / 1.408 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003846/8.443, allocations: 1.156 MB / 1.409 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/8.443, allocations: 4 kB / 1.409 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/8.444, allocations: 355.3 kB / 1.409 GB, free: 193 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/8.448, allocations: 469.2 kB / 1.41 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/8.455, allocations: 4.498 MB / 1.414 GB, free: 188 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/8.456, allocations: 1.108 MB / 1.415 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001791/8.458, allocations: 296.4 kB / 1.416 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/8.459, allocations: 435.3 kB / 1.416 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.342e-06/8.459, allocations: 0 / 1.416 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/8.627, allocations: 37 MB / 1.452 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/8.627, allocations: 282.9 kB / 1.452 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.317/12.94, allocations: 0 / 1.452 GB, free: 149.2 MB / 0.9323 GB