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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.126/4.126, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.034e-05, allocations: 6.406 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 98.74 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.512, allocations: 429.7 MB / 1.048 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.513, allocations: 92.64 kB / 1.049 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.705/8.218, allocations: 1.223 GB / 2.272 GB, free: 77.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.474e-06/8.218, allocations: 0 / 2.272 GB, free: 77.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006865/8.218, allocations: 76.8 kB / 2.272 GB, free: 77.81 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.03905/8.257, allocations: 2.701 MB / 2.274 GB, free: 75.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/8.258, allocations: 10.53 kB / 2.274 GB, free: 75.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0206/8.278, allocations: 0.9974 MB / 2.275 GB, free: 75.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/8.295, allocations: 2.894 MB / 2.278 GB, free: 73.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/8.295, allocations: 62.05 kB / 2.278 GB, free: 73.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/8.296, allocations: 119.5 kB / 2.278 GB, free: 73.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008756/8.305, allocations: 1.554 MB / 2.28 GB, free: 72.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009369/8.314, allocations: 1.831 MB / 2.282 GB, free: 70.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/8.314, allocations: 3.938 kB / 2.282 GB, free: 70.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/8.315, allocations: 4 kB / 2.282 GB, free: 70.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.195e-05/8.315, allocations: 47.72 kB / 2.282 GB, free: 70.63 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.03971/8.355, allocations: 11.68 MB / 2.293 GB, free: 58.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/8.368, allocations: 1.61 MB / 2.295 GB, free: 56.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/8.371, allocations: 0.6492 MB / 2.295 GB, free: 55.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002175/8.374, allocations: 1.371 MB / 2.297 GB, free: 54.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/8.374, allocations: 43.88 kB / 2.297 GB, free: 54.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003865/8.378, allocations: 238.1 kB / 2.297 GB, free: 54.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 2.38e-05/8.378, allocations: 0 / 2.297 GB, free: 54.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109): time 0.02362/8.401, allocations: 3.414 MB / 2.3 GB, free: 50.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/8.401, allocations: 167.5 kB / 2.3 GB, free: 50.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006392/8.408, allocations: 1.542 MB / 2.302 GB, free: 48.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006013/8.409, allocations: 29.7 kB / 2.302 GB, free: 48.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/8.411, allocations: 1.198 MB / 2.303 GB, free: 47.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009351/8.412, allocations: 362.5 kB / 2.303 GB, free: 47.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/8.412, allocations: 4 kB / 2.303 GB, free: 47.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001981/8.412, allocations: 365.8 kB / 2.304 GB, free: 46.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/8.415, allocations: 0.5312 MB / 2.304 GB, free: 46.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/8.418, allocations: 1.002 MB / 2.305 GB, free: 45.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/8.422, allocations: 0.7106 MB / 2.306 GB, free: 44.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/8.422, allocations: 0 / 2.306 GB, free: 44.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01991/8.442, allocations: 2.392 MB / 2.308 GB, free: 42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/8.443, allocations: 3.71 MB / 2.312 GB, free: 37.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-05/8.444, allocations: 8 kB / 2.312 GB, free: 37.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007225/8.451, allocations: 0.7672 MB / 2.313 GB, free: 37.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/8.455, allocations: 374.7 kB / 2.313 GB, free: 36.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/8.477, allocations: 5.276 MB / 2.318 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005977/8.483, allocations: 375.4 kB / 2.319 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005087/8.484, allocations: 71.95 kB / 2.319 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/8.484, allocations: 4 kB / 2.319 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/8.495, allocations: 2.023 MB / 2.321 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/8.495, allocations: 8 kB / 2.321 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/8.499, allocations: 0.5811 MB / 2.321 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/8.503, allocations: 395.4 kB / 2.322 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/8.519, allocations: 6.958 MB / 2.328 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/8.524, allocations: 315.6 kB / 2.329 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004345/8.524, allocations: 75.95 kB / 2.329 GB, free: 20.2 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.0005412/8.525, allocations: 140.4 kB / 2.329 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004671/8.53, allocations: 1.428 MB / 2.33 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008319/8.53, allocations: 213.3 kB / 2.33 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/8.536, allocations: 1.745 MB / 2.332 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/8.536, allocations: 12 kB / 2.332 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/8.536, allocations: 0 / 2.332 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004026/8.54, allocations: 1.638 MB / 2.334 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/8.551, allocations: 3.89 MB / 2.338 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/8.551, allocations: 3.375 kB / 2.338 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/8.554, allocations: 299.6 kB / 2.338 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/8.555, allocations: 318.5 kB / 2.338 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/8.556, allocations: 23.91 kB / 2.338 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/8.557, allocations: 1.528 MB / 2.34 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/8.557, allocations: 8.156 kB / 2.34 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006466/8.564, allocations: 2.417 MB / 2.342 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/8.566, allocations: 494.1 kB / 2.343 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007083/8.566, allocations: 10.62 kB / 2.343 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004382/8.571, allocations: 299.4 kB / 2.343 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/8.571, allocations: 73.2 kB / 2.343 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/8.571, allocations: 47.97 kB / 2.343 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002594/8.574, allocations: 1.149 MB / 2.344 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.01e-07/8.574, allocations: 4 kB / 2.344 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.009451/8.584, allocations: 1.257 MB / 2.345 GB, free: 2.984 MB / 0.8386 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.009291/8.593, allocations: 4.062 MB / 2.349 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008113/8.601, allocations: 2.863 MB / 2.352 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/8.601, allocations: 3.938 kB / 2.352 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/8.603, allocations: 0.6636 MB / 2.353 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00981/8.613, allocations: 1.018 MB / 2.354 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/8.634, allocations: 4.017 MB / 2.358 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/8.637, allocations: 1.66 MB / 2.359 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005785/8.642, allocations: 0.5612 MB / 2.36 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/8.645, allocations: 0.9991 MB / 2.361 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of SimCode: time 1.724e-06/8.645, allocations: 3.938 kB / 2.361 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9323/9.577, allocations: 76.85 MB / 2.436 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/9.578, allocations: 225.1 kB / 2.436 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/16.02, allocations: 0 / 2.436 GB, free: 111.8 MB / 0.8698 GB