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 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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006016/0.006022, allocations: 230.8 kB / 15.82 MB, free: 6.293 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.001898/0.001898, allocations: 171.8 kB / 16.7 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 3.996/3.996, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.459/4.459, allocations: 472.3 MB / 0.9024 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004947, allocations: 11.69 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.996/2.204, allocations: 430.3 MB / 1.525 GB, free: 219.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/2.205, allocations: 105.5 kB / 1.525 GB, free: 219.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.584/8.789, allocations: 1.224 GB / 2.749 GB, free: 88.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.775e-06/8.789, allocations: 0 / 2.749 GB, free: 88.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006007/8.79, allocations: 75.66 kB / 2.749 GB, free: 88.32 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.01357/8.803, allocations: 3.184 MB / 2.752 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/8.804, allocations: 10.56 kB / 2.752 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009628/8.813, allocations: 1.007 MB / 2.753 GB, free: 87.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/8.824, allocations: 2.833 MB / 2.756 GB, free: 86.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/8.824, allocations: 151.2 kB / 2.756 GB, free: 86.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007738/8.825, allocations: 191 kB / 2.756 GB, free: 86.69 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009521/8.835, allocations: 2.458 MB / 2.758 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.551e-05/8.835, allocations: 4.625 kB / 2.758 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/8.835, allocations: 80.16 kB / 2.759 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.325e-05/8.835, allocations: 49.92 kB / 2.759 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/8.847, allocations: 2.332 MB / 2.761 GB, free: 86.38 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.03552/8.882, allocations: 11.98 MB / 2.773 GB, free: 80.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0342/8.916, allocations: 2.327 MB / 2.775 GB, free: 80.48 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005655/8.922, allocations: 0.9302 MB / 2.776 GB, free: 80.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/8.924, allocations: 1.367 MB / 2.777 GB, free: 78.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/8.924, allocations: 45 kB / 2.777 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004642/8.929, allocations: 277.9 kB / 2.777 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=103): time 1.75e-05/8.929, allocations: 2.625 kB / 2.777 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109): time 0.08303/9.012, allocations: 8.094 MB / 2.785 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/9.012, allocations: 166.9 kB / 2.785 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008187/9.02, allocations: 2.055 MB / 2.787 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006237/9.021, allocations: 51.39 kB / 2.788 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/9.023, allocations: 1.193 MB / 2.789 GB, free: 77.15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009291/9.024, allocations: 377.6 kB / 2.789 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/9.024, allocations: 26.44 kB / 2.789 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001879/9.025, allocations: 367.8 kB / 2.789 GB, free: 76.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007818/9.032, allocations: 0.8873 MB / 2.79 GB, free: 76.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005336/9.038, allocations: 1.374 MB / 2.792 GB, free: 76.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/9.043, allocations: 0.987 MB / 2.793 GB, free: 76.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/9.043, allocations: 2.719 kB / 2.793 GB, free: 76.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.0141/9.057, allocations: 2.888 MB / 2.795 GB, free: 75.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/9.057, allocations: 376.4 kB / 2.796 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/9.057, allocations: 6.5 kB / 2.796 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/9.067, allocations: 1.257 MB / 2.797 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/9.069, allocations: 335 kB / 2.797 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/9.093, allocations: 6.055 MB / 2.803 GB, free: 73.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/9.099, allocations: 390.9 kB / 2.804 GB, free: 73.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005754/9.1, allocations: 73.8 kB / 2.804 GB, free: 73.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/9.1, allocations: 4.031 kB / 2.804 GB, free: 73.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/9.111, allocations: 2.331 MB / 2.806 GB, free: 73.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/9.111, allocations: 8.719 kB / 2.806 GB, free: 73.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/9.116, allocations: 0.6758 MB / 2.807 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/9.119, allocations: 393.9 kB / 2.807 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/9.142, allocations: 6.765 MB / 2.814 GB, free: 70.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/9.149, allocations: 343.5 kB / 2.814 GB, free: 70.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006338/9.15, allocations: 70.56 kB / 2.814 GB, free: 70.76 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.002959/9.153, allocations: 0.6151 MB / 2.815 GB, free: 70.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/9.154, allocations: 226.4 kB / 2.815 GB, free: 70.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/9.166, allocations: 2.481 MB / 2.817 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/9.166, allocations: 19.22 kB / 2.817 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/9.166, allocations: 3.953 kB / 2.817 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009658/9.176, allocations: 2.335 MB / 2.82 GB, free: 69.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/9.192, allocations: 4.741 MB / 2.824 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/9.192, allocations: 0 / 2.824 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/9.195, allocations: 264.2 kB / 2.824 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/9.199, allocations: 0.6527 MB / 2.825 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/9.199, allocations: 31.03 kB / 2.825 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/9.203, allocations: 1.481 MB / 2.827 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/9.203, allocations: 7.859 kB / 2.827 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/9.217, allocations: 3.453 MB / 2.83 GB, free: 68.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/9.22, allocations: 0.5032 MB / 2.83 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009898/9.221, allocations: 25.22 kB / 2.83 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004781/9.225, allocations: 312 kB / 2.831 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/9.226, allocations: 73.67 kB / 2.831 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/9.226, allocations: 44.92 kB / 2.831 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004746/9.231, allocations: 1.383 MB / 2.832 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.62e-07/9.231, allocations: 0 / 2.832 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009817/9.241, allocations: 1.268 MB / 2.833 GB, free: 68.16 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.004786/9.246, allocations: 1.124 MB / 2.835 GB, free: 67.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02479/9.271, allocations: 3.797 MB / 2.838 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/9.271, allocations: 0 / 2.838 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006959/9.278, allocations: 0.9943 MB / 2.839 GB, free: 67.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01607/9.294, allocations: 1.133 MB / 2.84 GB, free: 67.26 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/9.319, allocations: 5.656 MB / 2.846 GB, free: 64.87 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/9.32, allocations: 1.665 MB / 2.847 GB, free: 64.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004143/9.324, allocations: 465.9 kB / 2.848 GB, free: 64.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/9.326, allocations: 179.2 kB / 2.848 GB, free: 64.01 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/9.326, allocations: 0 / 2.848 GB, free: 64.01 MB / 0.8698 GB Notification: Performance of Templates: time 0.152/9.478, allocations: 60.55 MB / 2.907 GB, free: 60.93 MB / 0.8698 GB