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 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_Heating,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",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.01142/0.01142, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001844/0.001844, allocations: 186.3 kB / 15.95 MB, free: 5.898 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 2.049/2.049, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.335/2.335, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004917, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6789, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.879, allocations: 430 MB / 1.103 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.88, allocations: 98.38 kB / 1.103 GB, free: 19.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.797/8.677, allocations: 1.232 GB / 2.336 GB, free: 83.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.317e-06/8.677, allocations: 1.938 kB / 2.336 GB, free: 83.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000657/8.678, allocations: 81.81 kB / 2.336 GB, free: 83.12 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.01574/8.694, allocations: 3.191 MB / 2.339 GB, free: 81.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/8.694, allocations: 9.812 kB / 2.339 GB, free: 81.71 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/8.695, allocations: 259.1 kB / 2.339 GB, free: 81.66 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/8.708, allocations: 0.9996 MB / 2.34 GB, free: 81.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/8.722, allocations: 2.922 MB / 2.343 GB, free: 80.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/8.722, allocations: 148.3 kB / 2.343 GB, free: 80.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007203/8.723, allocations: 199.1 kB / 2.343 GB, free: 80.97 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009192/8.732, allocations: 2.438 MB / 2.346 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/8.732, allocations: 7.031 kB / 2.346 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/8.732, allocations: 75.81 kB / 2.346 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-05/8.733, allocations: 47.38 kB / 2.346 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/8.743, allocations: 2.335 MB / 2.348 GB, free: 80.66 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.02696/8.77, allocations: 12.03 MB / 2.36 GB, free: 74.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/8.783, allocations: 2.103 MB / 2.362 GB, free: 74.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/8.785, allocations: 1.37 MB / 2.363 GB, free: 73.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/8.785, allocations: 44.72 kB / 2.363 GB, free: 73.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002946/8.788, allocations: 276.5 kB / 2.364 GB, free: 73.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 9.898e-06/8.788, allocations: 0 / 2.364 GB, free: 73.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.05271/8.84, allocations: 7.849 MB / 2.371 GB, free: 72.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/8.84, allocations: 170.6 kB / 2.371 GB, free: 71.97 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/8.846, allocations: 1.852 MB / 2.373 GB, free: 71.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004693/8.846, allocations: 51.02 kB / 2.373 GB, free: 71.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/8.848, allocations: 1.189 MB / 2.374 GB, free: 71.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/8.848, allocations: 379.6 kB / 2.375 GB, free: 71.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/8.848, allocations: 30.97 kB / 2.375 GB, free: 71.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001346/8.849, allocations: 361.2 kB / 2.375 GB, free: 70.78 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/8.853, allocations: 0.8873 MB / 2.376 GB, free: 70.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004975/8.858, allocations: 1.356 MB / 2.377 GB, free: 70.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/8.863, allocations: 0.9824 MB / 2.378 GB, free: 70.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/8.863, allocations: 13.25 kB / 2.378 GB, free: 70.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01342/8.876, allocations: 2.871 MB / 2.381 GB, free: 69.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008796/8.877, allocations: 3.739 MB / 2.385 GB, free: 65.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.775e-05/8.877, allocations: 9.625 kB / 2.385 GB, free: 65.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008183/8.886, allocations: 1.202 MB / 2.386 GB, free: 65.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/8.889, allocations: 322.3 kB / 2.386 GB, free: 65.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/8.912, allocations: 6.231 MB / 2.392 GB, free: 63.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005855/8.918, allocations: 391.8 kB / 2.393 GB, free: 63.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005327/8.918, allocations: 76.25 kB / 2.393 GB, free: 63.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/8.918, allocations: 5.812 kB / 2.393 GB, free: 63.84 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0107/8.929, allocations: 2.309 MB / 2.395 GB, free: 63.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/8.929, allocations: 7.312 kB / 2.395 GB, free: 63.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/8.934, allocations: 0.6644 MB / 2.396 GB, free: 63.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/8.937, allocations: 387.5 kB / 2.396 GB, free: 63.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/8.96, allocations: 6.879 MB / 2.403 GB, free: 60.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/8.965, allocations: 341.7 kB / 2.403 GB, free: 60.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/8.966, allocations: 71.64 kB / 2.403 GB, free: 60.89 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.002079/8.968, allocations: 0.6173 MB / 2.404 GB, free: 60.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008283/8.969, allocations: 227.4 kB / 2.404 GB, free: 60.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/8.98, allocations: 2.46 MB / 2.406 GB, free: 60.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/8.98, allocations: 20.25 kB / 2.406 GB, free: 60.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/8.98, allocations: 0 / 2.406 GB, free: 60.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009059/8.989, allocations: 2.308 MB / 2.409 GB, free: 59.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/9.006, allocations: 4.754 MB / 2.413 GB, free: 58.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/9.006, allocations: 0 / 2.413 GB, free: 58.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/9.008, allocations: 265 kB / 2.414 GB, free: 58.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003629/9.012, allocations: 0.6426 MB / 2.414 GB, free: 58.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/9.012, allocations: 39.91 kB / 2.414 GB, free: 58.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/9.016, allocations: 1.458 MB / 2.416 GB, free: 57.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/9.016, allocations: 3.25 kB / 2.416 GB, free: 57.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/9.031, allocations: 3.485 MB / 2.419 GB, free: 55.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/9.033, allocations: 0.4996 MB / 2.42 GB, free: 55.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008469/9.034, allocations: 19.22 kB / 2.42 GB, free: 55.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004573/9.038, allocations: 315.1 kB / 2.42 GB, free: 55.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/9.039, allocations: 69.42 kB / 2.42 GB, free: 55.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/9.039, allocations: 49.97 kB / 2.42 GB, free: 55.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003964/9.043, allocations: 1.426 MB / 2.421 GB, free: 54.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.21e-07/9.043, allocations: 0 / 2.421 GB, free: 54.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008039/9.051, allocations: 1.285 MB / 2.423 GB, free: 54.7 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.01772/9.069, allocations: 5.124 MB / 2.428 GB, free: 52.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01609/9.085, allocations: 3.775 MB / 2.431 GB, free: 50.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/9.085, allocations: 0 / 2.431 GB, free: 50.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004554/9.09, allocations: 0.9855 MB / 2.432 GB, free: 50.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009615/9.099, allocations: 1.114 MB / 2.433 GB, free: 50.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/9.128, allocations: 13.67 MB / 2.447 GB, free: 39.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/9.13, allocations: 1.657 MB / 2.448 GB, free: 38.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004319/9.135, allocations: 460.5 kB / 2.449 GB, free: 38.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003075/9.138, allocations: 1.047 MB / 2.45 GB, free: 37.84 MB / 0.8542 GB Notification: Performance of SimCode: time 1.493e-06/9.138, allocations: 0 / 2.45 GB, free: 37.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9352/10.07, allocations: 84.53 MB / 2.532 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/10.07, allocations: 315.2 kB / 2.533 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/16.36, allocations: 0 / 2.533 GB, free: 101.5 MB / 0.8698 GB