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.009432/0.009432, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001165/0.001165, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 1.897/1.897, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.142/2.142, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.000508, allocations: 16 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5836/0.5841, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.694, allocations: 430.3 MB / 1.104 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.694, allocations: 98.64 kB / 1.104 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.82/7.514, allocations: 1.232 GB / 2.336 GB, free: 83.12 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.791e-06/7.514, allocations: 0 / 2.336 GB, free: 83.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004614/7.514, allocations: 75.78 kB / 2.336 GB, free: 83.11 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.009669/7.524, allocations: 3.192 MB / 2.339 GB, free: 81.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/7.524, allocations: 7.781 kB / 2.339 GB, free: 81.71 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/7.531, allocations: 1 MB / 2.34 GB, free: 81.55 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009185/7.54, allocations: 2.93 MB / 2.343 GB, free: 81.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/7.54, allocations: 153.8 kB / 2.343 GB, free: 81.01 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006969/7.541, allocations: 195.9 kB / 2.344 GB, free: 81.01 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007747/7.549, allocations: 2.433 MB / 2.346 GB, free: 80.72 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.08e-05/7.549, allocations: 4.406 kB / 2.346 GB, free: 80.72 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/7.549, allocations: 80.22 kB / 2.346 GB, free: 80.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/7.549, allocations: 51.97 kB / 2.346 GB, free: 80.72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008533/7.558, allocations: 2.325 MB / 2.348 GB, free: 80.7 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.0215/7.579, allocations: 12.03 MB / 2.36 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/7.59, allocations: 2.331 MB / 2.362 GB, free: 74.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/7.591, allocations: 1.37 MB / 2.364 GB, free: 73.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/7.591, allocations: 46.31 kB / 2.364 GB, free: 73.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002429/7.594, allocations: 273.3 kB / 2.364 GB, free: 73.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 8.592e-06/7.594, allocations: 0 / 2.364 GB, free: 73.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.03675/7.63, allocations: 7.859 MB / 2.372 GB, free: 72.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/7.63, allocations: 172 kB / 2.372 GB, free: 72.01 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/7.635, allocations: 1.848 MB / 2.374 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003677/7.635, allocations: 53.23 kB / 2.374 GB, free: 71.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/7.636, allocations: 1.195 MB / 2.375 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/7.636, allocations: 379.4 kB / 2.375 GB, free: 71.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/7.637, allocations: 28.88 kB / 2.375 GB, free: 71.12 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000107/7.637, allocations: 356.8 kB / 2.376 GB, free: 70.81 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/7.64, allocations: 0.887 MB / 2.376 GB, free: 70.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003616/7.644, allocations: 1.359 MB / 2.378 GB, free: 70.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/7.647, allocations: 0.9848 MB / 2.379 GB, free: 70.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/7.647, allocations: 7.547 kB / 2.379 GB, free: 70.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01015/7.657, allocations: 2.867 MB / 2.382 GB, free: 69.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007356/7.658, allocations: 3.738 MB / 2.385 GB, free: 65.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/7.658, allocations: 9.031 kB / 2.385 GB, free: 65.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005457/7.664, allocations: 1.204 MB / 2.386 GB, free: 65.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/7.666, allocations: 328.7 kB / 2.387 GB, free: 65.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/7.684, allocations: 6.226 MB / 2.393 GB, free: 63.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/7.688, allocations: 392 kB / 2.393 GB, free: 63.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/7.688, allocations: 76.06 kB / 2.393 GB, free: 63.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/7.688, allocations: 6.031 kB / 2.393 GB, free: 63.86 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007967/7.696, allocations: 2.308 MB / 2.395 GB, free: 63.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/7.696, allocations: 15.22 kB / 2.395 GB, free: 63.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/7.7, allocations: 0.6577 MB / 2.396 GB, free: 63.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/7.702, allocations: 394.5 kB / 2.397 GB, free: 63.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/7.718, allocations: 6.877 MB / 2.403 GB, free: 60.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/7.722, allocations: 339.4 kB / 2.404 GB, free: 60.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/7.723, allocations: 72.06 kB / 2.404 GB, free: 60.92 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.001721/7.724, allocations: 0.6154 MB / 2.404 GB, free: 60.72 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/7.725, allocations: 225.6 kB / 2.404 GB, free: 60.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008249/7.733, allocations: 2.466 MB / 2.407 GB, free: 60.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/7.733, allocations: 17.59 kB / 2.407 GB, free: 60.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.735e-06/7.733, allocations: 0 / 2.407 GB, free: 60.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006947/7.74, allocations: 2.313 MB / 2.409 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/7.753, allocations: 4.749 MB / 2.414 GB, free: 59.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/7.753, allocations: 6.469 kB / 2.414 GB, free: 59.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/7.755, allocations: 255.7 kB / 2.414 GB, free: 59.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/7.758, allocations: 0.6404 MB / 2.415 GB, free: 58.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/7.758, allocations: 36.88 kB / 2.415 GB, free: 58.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/7.761, allocations: 1.467 MB / 2.416 GB, free: 58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.755e-06/7.761, allocations: 0 / 2.416 GB, free: 58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/7.772, allocations: 3.479 MB / 2.419 GB, free: 56.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/7.774, allocations: 0.5049 MB / 2.42 GB, free: 56.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005128/7.774, allocations: 24.91 kB / 2.42 GB, free: 56.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/7.778, allocations: 312.8 kB / 2.42 GB, free: 56.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/7.778, allocations: 68.31 kB / 2.42 GB, free: 56.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/7.778, allocations: 43.14 kB / 2.42 GB, free: 56.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003179/7.781, allocations: 1.431 MB / 2.422 GB, free: 55.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.23e-07/7.781, allocations: 3.562 kB / 2.422 GB, free: 55.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006281/7.788, allocations: 1.281 MB / 2.423 GB, free: 55.41 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.002039/7.79, allocations: 1.139 MB / 2.424 GB, free: 54.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01167/7.801, allocations: 3.78 MB / 2.428 GB, free: 53.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.776e-06/7.802, allocations: 4.609 kB / 2.428 GB, free: 53.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003314/7.805, allocations: 0.9827 MB / 2.429 GB, free: 53.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006768/7.812, allocations: 1.112 MB / 2.43 GB, free: 53 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/7.827, allocations: 5.658 MB / 2.435 GB, free: 50.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/7.828, allocations: 1.658 MB / 2.437 GB, free: 49.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003541/7.832, allocations: 472.9 kB / 2.438 GB, free: 49.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008359/7.833, allocations: 172.3 kB / 2.438 GB, free: 49.19 MB / 0.8542 GB Notification: Performance of SimCode: time 1.554e-06/7.833, allocations: 0 / 2.438 GB, free: 49.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.1239/7.957, allocations: 60.93 MB / 2.497 GB, free: 0.8594 MB / 0.8542 GB