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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.047/4.047, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.324e-05, allocations: 3.328 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.597, allocations: 430.3 MB / 1.055 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/1.597, allocations: 91.88 kB / 1.055 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.797/8.395, allocations: 1.229 GB / 2.284 GB, free: 84.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.575e-06/8.395, allocations: 0 / 2.284 GB, free: 84.24 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005974/8.395, allocations: 71.98 kB / 2.284 GB, free: 84.17 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.009999/8.405, allocations: 2.701 MB / 2.286 GB, free: 81.42 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/8.406, allocations: 12.03 kB / 2.286 GB, free: 81.41 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009178/8.406, allocations: 261.6 kB / 2.287 GB, free: 81.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009121/8.416, allocations: 0.9915 MB / 2.288 GB, free: 80.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/8.426, allocations: 2.892 MB / 2.29 GB, free: 77.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/8.426, allocations: 143.6 kB / 2.29 GB, free: 77.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007351/8.427, allocations: 199.9 kB / 2.291 GB, free: 76.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006483/8.434, allocations: 2.101 MB / 2.293 GB, free: 74.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.937e-05/8.434, allocations: 0 / 2.293 GB, free: 74.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/8.434, allocations: 76 kB / 2.293 GB, free: 74.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/8.434, allocations: 51.36 kB / 2.293 GB, free: 74.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/8.44, allocations: 1.657 MB / 2.294 GB, free: 72.89 MB / 0.8542 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.02788/8.468, allocations: 12.02 MB / 2.306 GB, free: 60.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009754/8.478, allocations: 1.639 MB / 2.308 GB, free: 58.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/8.48, allocations: 0.6409 MB / 2.308 GB, free: 57.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/8.481, allocations: 1.366 MB / 2.31 GB, free: 56.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/8.481, allocations: 51.55 kB / 2.31 GB, free: 56.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002783/8.484, allocations: 282.5 kB / 2.31 GB, free: 55.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 7.785e-06/8.484, allocations: 0 / 2.31 GB, free: 55.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.01169/8.496, allocations: 3.273 MB / 2.313 GB, free: 52.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/8.496, allocations: 175.2 kB / 2.313 GB, free: 52.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/8.5, allocations: 1.778 MB / 2.315 GB, free: 50.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004854/8.5, allocations: 53.7 kB / 2.315 GB, free: 50.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/8.502, allocations: 1.194 MB / 2.316 GB, free: 49.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/8.502, allocations: 378.5 kB / 2.317 GB, free: 48.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/8.503, allocations: 28 kB / 2.317 GB, free: 48.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001208/8.503, allocations: 357.9 kB / 2.317 GB, free: 48.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/8.504, allocations: 0.5546 MB / 2.318 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/8.506, allocations: 1.03 MB / 2.319 GB, free: 46.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/8.508, allocations: 0.6639 MB / 2.319 GB, free: 45.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/8.508, allocations: 4 kB / 2.319 GB, free: 45.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01254/8.521, allocations: 2.464 MB / 2.322 GB, free: 43.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008075/8.522, allocations: 3.739 MB / 2.325 GB, free: 39.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/8.522, allocations: 8 kB / 2.325 GB, free: 39.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00653/8.528, allocations: 0.9649 MB / 2.326 GB, free: 38.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/8.531, allocations: 327.5 kB / 2.327 GB, free: 38.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/8.547, allocations: 5.277 MB / 2.332 GB, free: 32.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/8.553, allocations: 399.4 kB / 2.332 GB, free: 32.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005819/8.553, allocations: 79.94 kB / 2.332 GB, free: 32.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/8.554, allocations: 8 kB / 2.332 GB, free: 32.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01136/8.565, allocations: 2.108 MB / 2.334 GB, free: 30.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/8.565, allocations: 11.94 kB / 2.334 GB, free: 30.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/8.569, allocations: 0.5976 MB / 2.335 GB, free: 29.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/8.573, allocations: 387.5 kB / 2.335 GB, free: 29.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/8.59, allocations: 6.222 MB / 2.341 GB, free: 22.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/8.595, allocations: 351.5 kB / 2.342 GB, free: 22.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005373/8.596, allocations: 75.95 kB / 2.342 GB, free: 22.23 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.0006019/8.596, allocations: 188.6 kB / 2.342 GB, free: 22.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008582/8.597, allocations: 233.1 kB / 2.342 GB, free: 21.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/8.603, allocations: 1.835 MB / 2.344 GB, free: 19.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/8.603, allocations: 16 kB / 2.344 GB, free: 19.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/8.603, allocations: 0 / 2.344 GB, free: 19.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003834/8.607, allocations: 1.685 MB / 2.346 GB, free: 18.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/8.618, allocations: 4.135 MB / 2.35 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/8.618, allocations: 3.938 kB / 2.35 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/8.621, allocations: 259.8 kB / 2.35 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/8.624, allocations: 487.7 kB / 2.35 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/8.624, allocations: 35.97 kB / 2.35 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/8.626, allocations: 1.235 MB / 2.352 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/8.626, allocations: 0 / 2.352 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/8.633, allocations: 2.535 MB / 2.354 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/8.635, allocations: 0.5017 MB / 2.355 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008935/8.636, allocations: 24 kB / 2.355 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004865/8.641, allocations: 311.6 kB / 2.355 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/8.641, allocations: 72.89 kB / 2.355 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/8.642, allocations: 47.97 kB / 2.355 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003517/8.645, allocations: 1.355 MB / 2.356 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.52e-07/8.645, allocations: 0 / 2.356 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008249/8.654, allocations: 1.277 MB / 2.358 GB, free: 5.773 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 (84): * Single equations (assignments): 76 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.009478/8.663, allocations: 4.176 MB / 2.362 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009008/8.672, allocations: 2.954 MB / 2.365 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/8.672, allocations: 4 kB / 2.365 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/8.675, allocations: 0.702 MB / 2.365 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009897/8.685, allocations: 1.11 MB / 2.366 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/8.706, allocations: 4.143 MB / 2.37 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/8.708, allocations: 1.661 MB / 2.372 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006019/8.714, allocations: 0.5796 MB / 2.373 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/8.717, allocations: 0.9913 MB / 2.374 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of SimCode: time 1.743e-06/8.717, allocations: 0 / 2.374 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9986/9.716, allocations: 90.51 MB / 2.462 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/9.716, allocations: 275.2 kB / 2.462 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/16.93, allocations: 0 / 2.462 GB, free: 104.7 MB / 0.8698 GB