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 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_Heating,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.179/4.179, allocations: 433.2 MB / 440.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.735e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6672, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.901, allocations: 429.3 MB / 1.048 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.901, allocations: 87.7 kB / 1.048 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.671/8.573, allocations: 1.223 GB / 2.271 GB, free: 86.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/8.573, allocations: 0 / 2.271 GB, free: 86.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000485/8.573, allocations: 73.56 kB / 2.271 GB, free: 86.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.00934/8.583, allocations: 2.707 MB / 2.274 GB, free: 84.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/8.583, allocations: 15.7 kB / 2.274 GB, free: 84.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009234/8.592, allocations: 0.9956 MB / 2.275 GB, free: 84.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/8.602, allocations: 2.897 MB / 2.278 GB, free: 83.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/8.602, allocations: 60.28 kB / 2.278 GB, free: 83.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005215/8.603, allocations: 119.6 kB / 2.278 GB, free: 83.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004607/8.607, allocations: 1.551 MB / 2.279 GB, free: 82.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/8.612, allocations: 1.83 MB / 2.281 GB, free: 81.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.86e-05/8.612, allocations: 3.281 kB / 2.281 GB, free: 81.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/8.612, allocations: 2.5 kB / 2.281 GB, free: 81.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/8.612, allocations: 48.66 kB / 2.281 GB, free: 81.14 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.02435/8.637, allocations: 11.68 MB / 2.293 GB, free: 70.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006041/8.643, allocations: 1.383 MB / 2.294 GB, free: 70.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/8.645, allocations: 0.6506 MB / 2.295 GB, free: 69.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/8.646, allocations: 1.371 MB / 2.296 GB, free: 68.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/8.646, allocations: 49.41 kB / 2.296 GB, free: 68.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002647/8.649, allocations: 231.8 kB / 2.296 GB, free: 68.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 6.231e-06/8.649, allocations: 4 kB / 2.296 GB, free: 68.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109): time 0.01382/8.663, allocations: 3.412 MB / 2.3 GB, free: 66.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/8.663, allocations: 170 kB / 2.3 GB, free: 65.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/8.666, allocations: 1.544 MB / 2.301 GB, free: 65.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004607/8.667, allocations: 25.7 kB / 2.301 GB, free: 65.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/8.668, allocations: 1.188 MB / 2.302 GB, free: 64.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/8.668, allocations: 375.7 kB / 2.303 GB, free: 63.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/8.669, allocations: 0 / 2.303 GB, free: 63.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001189/8.669, allocations: 356.5 kB / 2.303 GB, free: 63.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/8.67, allocations: 0.5444 MB / 2.304 GB, free: 63.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/8.672, allocations: 0.9927 MB / 2.305 GB, free: 62.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/8.674, allocations: 0.7116 MB / 2.305 GB, free: 61.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/8.674, allocations: 3.781 kB / 2.305 GB, free: 61.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01203/8.686, allocations: 2.389 MB / 2.308 GB, free: 59.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008881/8.687, allocations: 3.707 MB / 2.311 GB, free: 55.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/8.687, allocations: 11.95 kB / 2.311 GB, free: 55.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004953/8.692, allocations: 0.7827 MB / 2.312 GB, free: 54.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/8.695, allocations: 363.5 kB / 2.312 GB, free: 54.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/8.71, allocations: 5.271 MB / 2.317 GB, free: 49.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/8.715, allocations: 375.3 kB / 2.318 GB, free: 48.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004456/8.716, allocations: 71.95 kB / 2.318 GB, free: 48.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/8.716, allocations: 4 kB / 2.318 GB, free: 48.72 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01108/8.727, allocations: 2.028 MB / 2.32 GB, free: 46.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/8.727, allocations: 14.03 kB / 2.32 GB, free: 46.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/8.731, allocations: 0.5756 MB / 2.32 GB, free: 46.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/8.735, allocations: 399.4 kB / 2.321 GB, free: 45.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/8.751, allocations: 6.944 MB / 2.328 GB, free: 38.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/8.756, allocations: 323.4 kB / 2.328 GB, free: 38.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/8.757, allocations: 82.58 kB / 2.328 GB, free: 38.02 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.0005798/8.757, allocations: 136.8 kB / 2.328 GB, free: 37.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004771/8.762, allocations: 1.42 MB / 2.33 GB, free: 36.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/8.763, allocations: 216.8 kB / 2.33 GB, free: 36.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00584/8.769, allocations: 1.745 MB / 2.331 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/8.769, allocations: 15.98 kB / 2.331 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/8.769, allocations: 4 kB / 2.331 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003998/8.773, allocations: 1.621 MB / 2.333 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/8.784, allocations: 3.897 MB / 2.337 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/8.784, allocations: 4 kB / 2.337 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/8.786, allocations: 291.7 kB / 2.337 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/8.788, allocations: 317.5 kB / 2.337 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/8.788, allocations: 27.92 kB / 2.337 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/8.79, allocations: 1.525 MB / 2.339 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/8.79, allocations: 7.984 kB / 2.339 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/8.796, allocations: 2.414 MB / 2.341 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/8.798, allocations: 490 kB / 2.342 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000561/8.798, allocations: 5.094 kB / 2.342 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/8.803, allocations: 303.6 kB / 2.342 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/8.803, allocations: 73.2 kB / 2.342 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/8.803, allocations: 46.28 kB / 2.342 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002897/8.806, allocations: 1.153 MB / 2.343 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.01e-07/8.806, allocations: 0 / 2.343 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0101/8.816, allocations: 1.257 MB / 2.345 GB, free: 20.83 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.009471/8.826, allocations: 4.062 MB / 2.349 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007525/8.833, allocations: 2.867 MB / 2.351 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/8.833, allocations: 128 / 2.351 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/8.835, allocations: 0.6675 MB / 2.352 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00889/8.844, allocations: 1.019 MB / 2.353 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/8.863, allocations: 4.015 MB / 2.357 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/8.865, allocations: 1.66 MB / 2.359 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005468/8.87, allocations: 0.5605 MB / 2.359 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/8.873, allocations: 0.9952 MB / 2.36 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of SimCode: time 1.543e-06/8.873, allocations: 0 / 2.36 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9189/9.792, allocations: 76.86 MB / 2.435 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/9.792, allocations: 225.3 kB / 2.435 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.314/16.11, allocations: 0 / 2.435 GB, free: 111.2 MB / 0.8698 GB