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_Cooling.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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01097/0.01097, allocations: 107.3 kB / 15.05 MB, free: 6 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.00122/0.00122, allocations: 184.7 kB / 15.95 MB, free: 5.941 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.926/1.926, allocations: 194.5 MB / 211.3 MB, free: 11.06 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.263/2.263, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007036/0.0007033, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7012, allocations: 98.7 MB / 0.6834 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.389/2.09, allocations: 430.3 MB / 1.104 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/2.09, allocations: 101.5 kB / 1.104 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.748/8.839, allocations: 1.232 GB / 2.336 GB, free: 82.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.526e-06/8.839, allocations: 0 / 2.336 GB, free: 82.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005761/8.839, allocations: 85.62 kB / 2.336 GB, free: 82.85 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.0146/8.854, allocations: 3.188 MB / 2.339 GB, free: 81.44 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/8.854, allocations: 11.31 kB / 2.339 GB, free: 81.44 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001173/8.855, allocations: 257.8 kB / 2.34 GB, free: 81.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009475/8.865, allocations: 1.005 MB / 2.341 GB, free: 81.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/8.876, allocations: 2.925 MB / 2.344 GB, free: 80.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/8.876, allocations: 146.6 kB / 2.344 GB, free: 80.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008912/8.877, allocations: 200.4 kB / 2.344 GB, free: 80.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009153/8.886, allocations: 2.446 MB / 2.346 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.849e-05/8.886, allocations: 3.188 kB / 2.346 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/8.887, allocations: 75.47 kB / 2.346 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/8.887, allocations: 50.22 kB / 2.346 GB, free: 80.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/8.899, allocations: 2.329 MB / 2.349 GB, free: 80.39 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.02772/8.927, allocations: 12.02 MB / 2.36 GB, free: 74.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/8.942, allocations: 2.339 MB / 2.363 GB, free: 74.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/8.944, allocations: 1.366 MB / 2.364 GB, free: 72.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/8.944, allocations: 51.78 kB / 2.364 GB, free: 72.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00301/8.947, allocations: 270.8 kB / 2.364 GB, free: 72.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 8.406e-06/8.947, allocations: 3.594 kB / 2.364 GB, free: 72.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.05281/9, allocations: 7.849 MB / 2.372 GB, free: 71.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/9, allocations: 168.5 kB / 2.372 GB, free: 71.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00613/9.006, allocations: 1.853 MB / 2.374 GB, free: 71.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005439/9.007, allocations: 58.38 kB / 2.374 GB, free: 71.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/9.009, allocations: 1.183 MB / 2.375 GB, free: 71.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/9.01, allocations: 381.4 kB / 2.376 GB, free: 70.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/9.01, allocations: 25.91 kB / 2.376 GB, free: 70.78 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001684/9.01, allocations: 363.6 kB / 2.376 GB, free: 70.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/9.015, allocations: 0.8863 MB / 2.377 GB, free: 70.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/9.02, allocations: 1.366 MB / 2.378 GB, free: 69.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/9.025, allocations: 0.9876 MB / 2.379 GB, free: 69.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/9.025, allocations: 3.781 kB / 2.379 GB, free: 69.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01422/9.039, allocations: 2.865 MB / 2.382 GB, free: 69.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/9.041, allocations: 3.738 MB / 2.386 GB, free: 65.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/9.041, allocations: 10.41 kB / 2.386 GB, free: 65.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/9.051, allocations: 1.199 MB / 2.387 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/9.055, allocations: 333.2 kB / 2.387 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/9.087, allocations: 6.229 MB / 2.393 GB, free: 63.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007693/9.095, allocations: 394.8 kB / 2.394 GB, free: 63.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000619/9.095, allocations: 71.38 kB / 2.394 GB, free: 63.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/9.095, allocations: 3.281 kB / 2.394 GB, free: 63.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01424/9.11, allocations: 2.313 MB / 2.396 GB, free: 63.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/9.11, allocations: 7.062 kB / 2.396 GB, free: 63.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/9.116, allocations: 0.6691 MB / 2.396 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/9.12, allocations: 400.6 kB / 2.397 GB, free: 63.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/9.142, allocations: 6.857 MB / 2.404 GB, free: 60.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005295/9.148, allocations: 338.8 kB / 2.404 GB, free: 60.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004699/9.148, allocations: 74.27 kB / 2.404 GB, free: 60.58 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.002194/9.15, allocations: 0.6145 MB / 2.405 GB, free: 60.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000844/9.151, allocations: 235.1 kB / 2.405 GB, free: 60.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/9.163, allocations: 2.459 MB / 2.407 GB, free: 60.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/9.163, allocations: 10.72 kB / 2.407 GB, free: 60.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/9.163, allocations: 4 kB / 2.407 GB, free: 60.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01249/9.175, allocations: 2.316 MB / 2.409 GB, free: 59.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03838/9.214, allocations: 4.747 MB / 2.414 GB, free: 58.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/9.214, allocations: 0 / 2.414 GB, free: 58.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/9.226, allocations: 262.7 kB / 2.414 GB, free: 58.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004847/9.23, allocations: 0.642 MB / 2.415 GB, free: 57.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/9.231, allocations: 35.83 kB / 2.415 GB, free: 57.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/9.244, allocations: 1.471 MB / 2.416 GB, free: 56.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/9.244, allocations: 0 / 2.416 GB, free: 56.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/9.264, allocations: 3.476 MB / 2.42 GB, free: 55.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/9.266, allocations: 0.5063 MB / 2.42 GB, free: 55.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/9.266, allocations: 25.34 kB / 2.42 GB, free: 55.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003756/9.27, allocations: 304.5 kB / 2.421 GB, free: 55.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/9.27, allocations: 74.86 kB / 2.421 GB, free: 55.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/9.27, allocations: 44.45 kB / 2.421 GB, free: 55.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003374/9.274, allocations: 1.43 MB / 2.422 GB, free: 54.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.41e-07/9.274, allocations: 0 / 2.422 GB, free: 54.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007488/9.281, allocations: 1.277 MB / 2.423 GB, free: 54.39 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.01644/9.298, allocations: 5.137 MB / 2.428 GB, free: 52.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01461/9.312, allocations: 3.779 MB / 2.432 GB, free: 50.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/9.312, allocations: 0 / 2.432 GB, free: 50.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/9.316, allocations: 0.9843 MB / 2.433 GB, free: 50.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008818/9.325, allocations: 1.108 MB / 2.434 GB, free: 50.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/9.351, allocations: 13.67 MB / 2.448 GB, free: 39.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/9.353, allocations: 1.657 MB / 2.449 GB, free: 38.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003773/9.356, allocations: 463.7 kB / 2.45 GB, free: 37.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002327/9.359, allocations: 1.033 MB / 2.451 GB, free: 37.01 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/9.359, allocations: 3.938 kB / 2.451 GB, free: 37 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.051/10.41, allocations: 84.54 MB / 2.533 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/10.41, allocations: 311.3 kB / 2.533 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/16.97, allocations: 0.9062 kB / 2.533 GB, free: 101.9 MB / 0.8698 GB