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/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_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.164/4.164, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.472e-05, allocations: 3.031 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2402, allocations: 98.74 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.493, allocations: 430 MB / 1.055 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.493, allocations: 100.4 kB / 1.055 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.72/8.214, allocations: 1.228 GB / 2.283 GB, free: 86.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.947e-06/8.214, allocations: 3.984 kB / 2.283 GB, free: 86.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005561/8.214, allocations: 78.62 kB / 2.283 GB, free: 86.21 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.01004/8.224, allocations: 2.702 MB / 2.286 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/8.224, allocations: 11.31 kB / 2.286 GB, free: 84.3 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009375/8.225, allocations: 247.4 kB / 2.286 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008926/8.234, allocations: 1.003 MB / 2.287 GB, free: 83.68 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009758/8.244, allocations: 2.898 MB / 2.29 GB, free: 81.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/8.244, allocations: 147.8 kB / 2.29 GB, free: 81.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008221/8.245, allocations: 194.4 kB / 2.29 GB, free: 81.42 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/8.251, allocations: 2.1 MB / 2.292 GB, free: 79.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.51e-05/8.251, allocations: 3.938 kB / 2.292 GB, free: 79.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/8.252, allocations: 80 kB / 2.292 GB, free: 79.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.508e-05/8.252, allocations: 44 kB / 2.292 GB, free: 79.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004983/8.257, allocations: 1.646 MB / 2.294 GB, free: 77.47 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.02438/8.281, allocations: 12.03 MB / 2.306 GB, free: 64.63 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006198/8.287, allocations: 1.41 MB / 2.307 GB, free: 63.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/8.289, allocations: 0.6464 MB / 2.308 GB, free: 62.58 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/8.29, allocations: 1.366 MB / 2.309 GB, free: 60.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/8.291, allocations: 51.56 kB / 2.309 GB, free: 60.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002611/8.293, allocations: 278.5 kB / 2.309 GB, free: 60.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 4.839e-06/8.293, allocations: 4 kB / 2.309 GB, free: 60.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.01032/8.304, allocations: 3.28 MB / 2.313 GB, free: 57.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/8.304, allocations: 171.2 kB / 2.313 GB, free: 57.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/8.307, allocations: 1.774 MB / 2.314 GB, free: 55.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003841/8.308, allocations: 53.7 kB / 2.314 GB, free: 55.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/8.309, allocations: 1.192 MB / 2.316 GB, free: 53.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000452/8.309, allocations: 386.4 kB / 2.316 GB, free: 53.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/8.309, allocations: 24 kB / 2.316 GB, free: 53.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001127/8.31, allocations: 361.9 kB / 2.316 GB, free: 53.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/8.311, allocations: 0.5546 MB / 2.317 GB, free: 52.65 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/8.313, allocations: 1.032 MB / 2.318 GB, free: 51.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/8.315, allocations: 0.656 MB / 2.319 GB, free: 50.78 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/8.315, allocations: 0 / 2.319 GB, free: 50.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01148/8.326, allocations: 2.468 MB / 2.321 GB, free: 48.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008612/8.327, allocations: 3.743 MB / 2.325 GB, free: 44.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/8.327, allocations: 8 kB / 2.325 GB, free: 44.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006109/8.333, allocations: 0.968 MB / 2.326 GB, free: 43.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/8.336, allocations: 323.5 kB / 2.326 GB, free: 42.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/8.351, allocations: 5.271 MB / 2.331 GB, free: 37.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/8.357, allocations: 407.4 kB / 2.331 GB, free: 37.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000399/8.358, allocations: 75.95 kB / 2.332 GB, free: 37.03 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/8.358, allocations: 4 kB / 2.332 GB, free: 37.03 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/8.368, allocations: 2.103 MB / 2.334 GB, free: 34.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/8.368, allocations: 9.859 kB / 2.334 GB, free: 34.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/8.373, allocations: 0.6032 MB / 2.334 GB, free: 34.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/8.376, allocations: 387.4 kB / 2.335 GB, free: 33.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/8.392, allocations: 6.222 MB / 2.341 GB, free: 27.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005258/8.397, allocations: 351.5 kB / 2.341 GB, free: 27.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/8.398, allocations: 75.95 kB / 2.341 GB, free: 27.05 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.0005764/8.398, allocations: 188.9 kB / 2.341 GB, free: 26.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/8.399, allocations: 229.1 kB / 2.341 GB, free: 26.63 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005316/8.404, allocations: 1.849 MB / 2.343 GB, free: 24.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/8.404, allocations: 15.95 kB / 2.343 GB, free: 24.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/8.404, allocations: 0 / 2.343 GB, free: 24.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003407/8.408, allocations: 1.685 MB / 2.345 GB, free: 22.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/8.419, allocations: 4.126 MB / 2.349 GB, free: 18.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/8.419, allocations: 0 / 2.349 GB, free: 18.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/8.421, allocations: 263.7 kB / 2.349 GB, free: 18.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/8.423, allocations: 491.7 kB / 2.35 GB, free: 18.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/8.424, allocations: 31.97 kB / 2.35 GB, free: 18.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/8.426, allocations: 1.235 MB / 2.351 GB, free: 16.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/8.426, allocations: 4 kB / 2.351 GB, free: 16.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006244/8.432, allocations: 2.529 MB / 2.353 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/8.434, allocations: 0.4979 MB / 2.354 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006119/8.434, allocations: 27.28 kB / 2.354 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004116/8.439, allocations: 319.5 kB / 2.354 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/8.439, allocations: 68.89 kB / 2.354 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/8.439, allocations: 43.97 kB / 2.354 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003032/8.442, allocations: 1.358 MB / 2.356 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.282e-06/8.442, allocations: 0 / 2.356 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007098/8.449, allocations: 1.273 MB / 2.357 GB, free: 10.6 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.008666/8.458, allocations: 4.176 MB / 2.361 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007799/8.466, allocations: 2.958 MB / 2.364 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/8.466, allocations: 8 kB / 2.364 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/8.468, allocations: 0.7028 MB / 2.365 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009162/8.477, allocations: 1.104 MB / 2.366 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/8.497, allocations: 4.135 MB / 2.37 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/8.499, allocations: 1.661 MB / 2.371 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005002/8.504, allocations: 0.5914 MB / 2.372 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/8.506, allocations: 0.9951 MB / 2.373 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of SimCode: time 1.492e-06/8.506, allocations: 0 / 2.373 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.027/9.533, allocations: 90.5 MB / 2.461 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/9.534, allocations: 289.1 kB / 2.461 GB, free: 103 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/16.54, allocations: 3.094 kB / 2.461 GB, free: 103 MB / 0.8698 GB