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: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004298/0.004303, allocations: 232.4 kB / 15.82 MB, free: 6.297 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.001207/0.001207, allocations: 178.2 kB / 16.71 MB, free: 5.453 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 4.15/4.15, allocations: 389 MB / 406.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.255/4.255, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0005, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 98.71 MB / 1.105 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.849/2.042, allocations: 430 MB / 1.525 GB, free: 219.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/2.042, allocations: 106.5 kB / 1.525 GB, free: 219.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.515/8.557, allocations: 1.224 GB / 2.748 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.765e-06/8.557, allocations: 0 / 2.748 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005628/8.558, allocations: 77.17 kB / 2.748 GB, free: 88.27 MB / 0.8698 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.01397/8.572, allocations: 3.185 MB / 2.751 GB, free: 87.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/8.572, allocations: 11.84 kB / 2.751 GB, free: 87.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009617/8.581, allocations: 1.003 MB / 2.752 GB, free: 87.03 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/8.592, allocations: 2.835 MB / 2.755 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/8.592, allocations: 153.6 kB / 2.755 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005875/8.593, allocations: 194.2 kB / 2.756 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008951/8.602, allocations: 2.449 MB / 2.758 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/8.602, allocations: 5.062 kB / 2.758 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/8.602, allocations: 78.03 kB / 2.758 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.786e-05/8.602, allocations: 53.7 kB / 2.758 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/8.613, allocations: 2.327 MB / 2.76 GB, free: 86.3 MB / 0.8698 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.02694/8.64, allocations: 11.99 MB / 2.772 GB, free: 80.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/8.652, allocations: 2.11 MB / 2.774 GB, free: 80.38 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004093/8.656, allocations: 0.926 MB / 2.775 GB, free: 80.37 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/8.658, allocations: 1.363 MB / 2.776 GB, free: 78.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/8.658, allocations: 48.94 kB / 2.776 GB, free: 78.83 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003149/8.661, allocations: 275.6 kB / 2.777 GB, free: 78.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=103): time 7.454e-06/8.661, allocations: 3.75 kB / 2.777 GB, free: 78.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109): time 0.0549/8.716, allocations: 8.092 MB / 2.785 GB, free: 77.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/8.716, allocations: 169.9 kB / 2.785 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/8.723, allocations: 2.052 MB / 2.787 GB, free: 77.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005742/8.724, allocations: 53.45 kB / 2.787 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/8.725, allocations: 1.191 MB / 2.788 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008526/8.726, allocations: 374.5 kB / 2.788 GB, free: 76.81 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/8.727, allocations: 30.34 kB / 2.788 GB, free: 76.81 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001707/8.727, allocations: 363.5 kB / 2.789 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/8.732, allocations: 0.8892 MB / 2.79 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005292/8.737, allocations: 1.367 MB / 2.791 GB, free: 75.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00499/8.742, allocations: 0.9889 MB / 2.792 GB, free: 75.97 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/8.742, allocations: 3.781 kB / 2.792 GB, free: 75.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01358/8.756, allocations: 2.883 MB / 2.795 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/8.756, allocations: 374.5 kB / 2.795 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/8.756, allocations: 10.53 kB / 2.795 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008916/8.765, allocations: 1.245 MB / 2.796 GB, free: 75.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/8.768, allocations: 331.7 kB / 2.797 GB, free: 75.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/8.791, allocations: 6.061 MB / 2.803 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006323/8.797, allocations: 394.8 kB / 2.803 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005675/8.798, allocations: 77.97 kB / 2.803 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/8.798, allocations: 4.031 kB / 2.803 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/8.809, allocations: 2.324 MB / 2.805 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/8.809, allocations: 9 kB / 2.805 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005099/8.814, allocations: 0.6801 MB / 2.806 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/8.818, allocations: 391.5 kB / 2.806 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/8.842, allocations: 6.765 MB / 2.813 GB, free: 70.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/8.847, allocations: 344.4 kB / 2.813 GB, free: 70.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006465/8.848, allocations: 74.61 kB / 2.813 GB, free: 70.66 MB / 0.8698 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 (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.002648/8.851, allocations: 0.6115 MB / 2.814 GB, free: 70.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/8.852, allocations: 232.1 kB / 2.814 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/8.864, allocations: 2.484 MB / 2.817 GB, free: 70.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.407e-05/8.864, allocations: 17.14 kB / 2.817 GB, free: 70.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/8.864, allocations: 5.922 kB / 2.817 GB, free: 70.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00945/8.874, allocations: 2.332 MB / 2.819 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/8.891, allocations: 4.743 MB / 2.823 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/8.891, allocations: 0 / 2.823 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/8.893, allocations: 264.7 kB / 2.824 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/8.897, allocations: 0.6471 MB / 2.824 GB, free: 69.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/8.897, allocations: 34.47 kB / 2.824 GB, free: 69.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/8.901, allocations: 1.488 MB / 2.826 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/8.901, allocations: 3.953 kB / 2.826 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/8.915, allocations: 3.459 MB / 2.829 GB, free: 68.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/8.918, allocations: 0.4966 MB / 2.83 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006974/8.918, allocations: 24.25 kB / 2.83 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004189/8.922, allocations: 317.4 kB / 2.83 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/8.923, allocations: 74.2 kB / 2.83 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/8.923, allocations: 45.56 kB / 2.83 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003606/8.927, allocations: 1.382 MB / 2.831 GB, free: 68.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/8.927, allocations: 0 / 2.831 GB, free: 68.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008215/8.935, allocations: 1.27 MB / 2.833 GB, free: 68.05 MB / 0.8698 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 (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.002809/8.938, allocations: 1.119 MB / 2.834 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0161/8.954, allocations: 3.794 MB / 2.838 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/8.954, allocations: 7.938 kB / 2.838 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/8.958, allocations: 0.9862 MB / 2.838 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/8.969, allocations: 1.13 MB / 2.84 GB, free: 67.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/8.989, allocations: 5.671 MB / 2.845 GB, free: 64.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/8.991, allocations: 1.664 MB / 2.847 GB, free: 64 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003982/8.995, allocations: 452.5 kB / 2.847 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009002/8.996, allocations: 176.6 kB / 2.847 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/8.996, allocations: 4 kB / 2.847 GB, free: 63.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.1494/9.146, allocations: 60.54 MB / 2.906 GB, free: 60.81 MB / 0.8698 GB