Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009363/0.009363, allocations: 110.5 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001156/0.001155, allocations: 182.1 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.827/1.827, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.322/2.322, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 15.98 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5536, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9778/1.531, allocations: 430 MB / 1.103 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.532, allocations: 95.97 kB / 1.103 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.77/7.302, allocations: 1.232 GB / 2.336 GB, free: 83.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.112e-06/7.302, allocations: 0 / 2.336 GB, free: 83.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004436/7.302, allocations: 75.69 kB / 2.336 GB, free: 83.15 MB / 0.8542 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.009329/7.311, allocations: 3.186 MB / 2.339 GB, free: 81.74 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/7.312, allocations: 10.56 kB / 2.339 GB, free: 81.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006282/7.318, allocations: 0.9989 MB / 2.34 GB, free: 81.58 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008563/7.326, allocations: 2.929 MB / 2.343 GB, free: 81.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/7.327, allocations: 145.5 kB / 2.343 GB, free: 81.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007659/7.327, allocations: 194 kB / 2.343 GB, free: 81.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007651/7.335, allocations: 2.445 MB / 2.345 GB, free: 80.76 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.459e-05/7.335, allocations: 3.562 kB / 2.345 GB, free: 80.76 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/7.336, allocations: 80.38 kB / 2.345 GB, free: 80.76 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-05/7.336, allocations: 47.16 kB / 2.346 GB, free: 80.76 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008618/7.344, allocations: 2.327 MB / 2.348 GB, free: 80.74 MB / 0.8542 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.02204/7.366, allocations: 12.03 MB / 2.36 GB, free: 74.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008691/7.375, allocations: 2.103 MB / 2.362 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/7.376, allocations: 1.372 MB / 2.363 GB, free: 73.22 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/7.376, allocations: 45.75 kB / 2.363 GB, free: 73.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002188/7.379, allocations: 280.6 kB / 2.363 GB, free: 73.12 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 6.276e-06/7.379, allocations: 0 / 2.363 GB, free: 73.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.03548/7.414, allocations: 7.85 MB / 2.371 GB, free: 72.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/7.414, allocations: 168.6 kB / 2.371 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/7.418, allocations: 1.855 MB / 2.373 GB, free: 71.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003668/7.419, allocations: 52.89 kB / 2.373 GB, free: 71.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/7.42, allocations: 1.188 MB / 2.374 GB, free: 71.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/7.421, allocations: 381.2 kB / 2.374 GB, free: 71.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/7.421, allocations: 27.25 kB / 2.375 GB, free: 71.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001111/7.421, allocations: 357.6 kB / 2.375 GB, free: 70.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/7.424, allocations: 0.8896 MB / 2.376 GB, free: 70.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/7.428, allocations: 1.366 MB / 2.377 GB, free: 70.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/7.431, allocations: 0.9788 MB / 2.378 GB, free: 70.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/7.432, allocations: 5.438 kB / 2.378 GB, free: 70.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01008/7.442, allocations: 2.871 MB / 2.381 GB, free: 69.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007325/7.442, allocations: 3.736 MB / 2.384 GB, free: 66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/7.442, allocations: 13.88 kB / 2.384 GB, free: 66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/7.448, allocations: 1.2 MB / 2.386 GB, free: 65.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/7.45, allocations: 331 kB / 2.386 GB, free: 65.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/7.467, allocations: 6.219 MB / 2.392 GB, free: 63.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/7.471, allocations: 385.6 kB / 2.392 GB, free: 63.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/7.472, allocations: 78.5 kB / 2.392 GB, free: 63.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/7.472, allocations: 3.375 kB / 2.392 GB, free: 63.92 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007651/7.479, allocations: 2.315 MB / 2.395 GB, free: 63.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/7.479, allocations: 9.625 kB / 2.395 GB, free: 63.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/7.483, allocations: 0.6562 MB / 2.395 GB, free: 63.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/7.486, allocations: 396.8 kB / 2.396 GB, free: 63.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/7.503, allocations: 6.874 MB / 2.402 GB, free: 61.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/7.507, allocations: 340.8 kB / 2.403 GB, free: 60.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/7.508, allocations: 73.17 kB / 2.403 GB, free: 60.97 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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 {2 16,3 35} Notification: Performance of prepare postOptimizeDAE: time 0.001998/7.51, allocations: 0.6119 MB / 2.403 GB, free: 60.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007065/7.51, allocations: 226.8 kB / 2.404 GB, free: 60.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008496/7.519, allocations: 2.472 MB / 2.406 GB, free: 60.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/7.519, allocations: 15.03 kB / 2.406 GB, free: 60.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.766e-06/7.519, allocations: 0 / 2.406 GB, free: 60.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007398/7.526, allocations: 2.308 MB / 2.408 GB, free: 59.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/7.541, allocations: 4.758 MB / 2.413 GB, free: 59.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/7.541, allocations: 4.031 kB / 2.413 GB, free: 59.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/7.543, allocations: 258.8 kB / 2.413 GB, free: 59.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/7.546, allocations: 0.6436 MB / 2.414 GB, free: 59.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/7.546, allocations: 34.66 kB / 2.414 GB, free: 59.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/7.549, allocations: 1.456 MB / 2.415 GB, free: 58.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.023e-06/7.549, allocations: 3.188 kB / 2.415 GB, free: 58.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/7.561, allocations: 3.483 MB / 2.419 GB, free: 56.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/7.562, allocations: 0.504 MB / 2.419 GB, free: 56.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007593/7.563, allocations: 22.28 kB / 2.419 GB, free: 56.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/7.567, allocations: 316.8 kB / 2.42 GB, free: 56.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/7.567, allocations: 68.03 kB / 2.42 GB, free: 56.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/7.567, allocations: 45.38 kB / 2.42 GB, free: 56.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003591/7.571, allocations: 1.43 MB / 2.421 GB, free: 55.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.044e-06/7.571, allocations: 6.719 kB / 2.421 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007355/7.578, allocations: 1.27 MB / 2.422 GB, free: 55.68 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.002413/7.581, allocations: 1.148 MB / 2.423 GB, free: 55.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01217/7.593, allocations: 3.795 MB / 2.427 GB, free: 53.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/7.593, allocations: 0 / 2.427 GB, free: 53.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/7.597, allocations: 0.9826 MB / 2.428 GB, free: 53.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006862/7.604, allocations: 1.106 MB / 2.429 GB, free: 53.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/7.619, allocations: 5.655 MB / 2.435 GB, free: 50.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/7.621, allocations: 1.66 MB / 2.436 GB, free: 49.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003524/7.624, allocations: 463.9 kB / 2.437 GB, free: 49.44 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/7.625, allocations: 179.6 kB / 2.437 GB, free: 49.42 MB / 0.8542 GB Notification: Performance of SimCode: time 2.108e-06/7.625, allocations: 4 kB / 2.437 GB, free: 49.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.1262/7.751, allocations: 60.91 MB / 2.496 GB, free: 1.809 MB / 0.8542 GB