Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadModel(Buildings): time 4.022/4.022, allocations: 433.3 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.612e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5625, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.582, allocations: 429.7 MB / 1.049 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004915/1.583, allocations: 94.02 kB / 1.049 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.739/7.322, allocations: 1.223 GB / 2.272 GB, free: 75.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/7.322, allocations: 0 / 2.272 GB, free: 75.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004422/7.322, allocations: 78.81 kB / 2.272 GB, free: 75.34 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.007643/7.33, allocations: 2.695 MB / 2.274 GB, free: 72.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/7.33, allocations: 8.031 kB / 2.274 GB, free: 72.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008475/7.339, allocations: 0.9954 MB / 2.275 GB, free: 71.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/7.353, allocations: 2.899 MB / 2.278 GB, free: 68.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/7.353, allocations: 56 kB / 2.278 GB, free: 68.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/7.354, allocations: 116 kB / 2.278 GB, free: 68.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008002/7.362, allocations: 1.557 MB / 2.28 GB, free: 66.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008619/7.371, allocations: 1.837 MB / 2.282 GB, free: 65.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/7.371, allocations: 7.844 kB / 2.282 GB, free: 65.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/7.371, allocations: 7.938 kB / 2.282 GB, free: 65.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/7.371, allocations: 48 kB / 2.282 GB, free: 65 MB / 0.8386 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.03334/7.405, allocations: 11.68 MB / 2.293 GB, free: 52.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007694/7.412, allocations: 1.618 MB / 2.295 GB, free: 51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/7.414, allocations: 0.645 MB / 2.295 GB, free: 50.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/7.415, allocations: 1.364 MB / 2.297 GB, free: 48.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/7.415, allocations: 47.86 kB / 2.297 GB, free: 48.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002177/7.417, allocations: 233.2 kB / 2.297 GB, free: 48.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 9.663e-06/7.417, allocations: 4 kB / 2.297 GB, free: 48.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109): time 0.01274/7.43, allocations: 3.402 MB / 2.3 GB, free: 44.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/7.43, allocations: 171.5 kB / 2.3 GB, free: 44.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/7.434, allocations: 1.542 MB / 2.302 GB, free: 43.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003917/7.434, allocations: 29.7 kB / 2.302 GB, free: 43.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/7.435, allocations: 1.201 MB / 2.303 GB, free: 41.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/7.436, allocations: 366.5 kB / 2.303 GB, free: 41.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/7.436, allocations: 0 / 2.303 GB, free: 41.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/7.436, allocations: 357.9 kB / 2.304 GB, free: 41.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/7.437, allocations: 0.539 MB / 2.304 GB, free: 40.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/7.439, allocations: 0.9945 MB / 2.305 GB, free: 39.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/7.441, allocations: 0.7197 MB / 2.306 GB, free: 38.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/7.441, allocations: 0 / 2.306 GB, free: 38.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.009596/7.451, allocations: 2.388 MB / 2.308 GB, free: 36.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007557/7.452, allocations: 3.708 MB / 2.312 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/7.452, allocations: 8 kB / 2.312 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003617/7.455, allocations: 0.7835 MB / 2.313 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/7.457, allocations: 363.5 kB / 2.313 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/7.468, allocations: 5.27 MB / 2.318 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/7.472, allocations: 375.3 kB / 2.319 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/7.473, allocations: 71.95 kB / 2.319 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/7.473, allocations: 4.547 kB / 2.319 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008106/7.481, allocations: 2.033 MB / 2.321 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/7.481, allocations: 8 kB / 2.321 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/7.484, allocations: 0.566 MB / 2.321 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/7.486, allocations: 402 kB / 2.322 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/7.499, allocations: 6.967 MB / 2.328 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/7.502, allocations: 319.4 kB / 2.329 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/7.503, allocations: 79.95 kB / 2.329 GB, free: 14.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004501/7.503, allocations: 132.7 kB / 2.329 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/7.504, allocations: 217.3 kB / 2.329 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/7.509, allocations: 1.747 MB / 2.331 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/7.509, allocations: 12 kB / 2.331 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.888e-06/7.509, allocations: 4 kB / 2.331 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003682/7.512, allocations: 1.632 MB / 2.332 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009734/7.522, allocations: 3.887 MB / 2.336 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/7.522, allocations: 7.031 kB / 2.336 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/7.524, allocations: 291.6 kB / 2.337 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/7.525, allocations: 317.5 kB / 2.337 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/7.525, allocations: 19.97 kB / 2.337 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/7.527, allocations: 1.535 MB / 2.338 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.962e-06/7.527, allocations: 0 / 2.338 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/7.533, allocations: 2.415 MB / 2.341 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/7.535, allocations: 0.4902 MB / 2.341 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/7.535, allocations: 0 / 2.341 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/7.538, allocations: 303.6 kB / 2.341 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/7.538, allocations: 81.14 kB / 2.342 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/7.539, allocations: 43.97 kB / 2.342 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002301/7.541, allocations: 1.149 MB / 2.343 GB, free: 52 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.039e-06/7.541, allocations: 0 / 2.343 GB, free: 52 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008922/7.55, allocations: 1.265 MB / 2.344 GB, free: 14.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002529/7.552, allocations: 1.138 MB / 2.345 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007185/7.56, allocations: 2.874 MB / 2.348 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/7.56, allocations: 128 / 2.348 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/7.562, allocations: 0.6675 MB / 2.349 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006213/7.568, allocations: 1.019 MB / 2.35 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/7.581, allocations: 3.584 MB / 2.353 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/7.583, allocations: 1.66 MB / 2.355 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004659/7.588, allocations: 0.5628 MB / 2.355 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/7.588, allocations: 135.4 kB / 2.355 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of SimCode: time 1.877e-06/7.588, allocations: 0 / 2.355 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of Templates: time 0.6828/8.271, allocations: 55.89 MB / 2.41 GB, free: 113.6 MB / 0.8698 GB