Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.15/4.15, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.932e-05, allocations: 4 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5067, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.518, allocations: 429.3 MB / 1.048 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.518, allocations: 88.5 kB / 1.048 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.814/7.332, allocations: 1.223 GB / 2.271 GB, free: 75.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.205e-06/7.332, allocations: 0 / 2.271 GB, free: 75.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004418/7.332, allocations: 77.59 kB / 2.271 GB, free: 75.63 MB / 0.8386 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.007459/7.34, allocations: 2.702 MB / 2.274 GB, free: 72.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/7.34, allocations: 8.031 kB / 2.274 GB, free: 72.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/7.346, allocations: 0.9954 MB / 2.275 GB, free: 71.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00853/7.354, allocations: 2.894 MB / 2.278 GB, free: 68.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/7.355, allocations: 56 kB / 2.278 GB, free: 68.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/7.355, allocations: 119.9 kB / 2.278 GB, free: 68.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00471/7.36, allocations: 1.557 MB / 2.279 GB, free: 67.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/7.365, allocations: 1.829 MB / 2.281 GB, free: 65.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/7.366, allocations: 3.938 kB / 2.281 GB, free: 65.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/7.366, allocations: 8 kB / 2.281 GB, free: 65.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/7.366, allocations: 51.98 kB / 2.281 GB, free: 65.28 MB / 0.8386 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.0204/7.386, allocations: 11.68 MB / 2.293 GB, free: 52.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/7.391, allocations: 1.385 MB / 2.294 GB, free: 51.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/7.392, allocations: 0.6418 MB / 2.295 GB, free: 50.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/7.394, allocations: 1.366 MB / 2.296 GB, free: 49.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/7.394, allocations: 47.88 kB / 2.296 GB, free: 49.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002109/7.396, allocations: 233.9 kB / 2.296 GB, free: 48.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 7.825e-06/7.396, allocations: 4 kB / 2.296 GB, free: 48.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109): time 0.01317/7.409, allocations: 3.4 MB / 2.3 GB, free: 45.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/7.409, allocations: 175.5 kB / 2.3 GB, free: 45.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/7.412, allocations: 1.546 MB / 2.301 GB, free: 43.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003841/7.413, allocations: 29.7 kB / 2.301 GB, free: 43.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/7.414, allocations: 1.188 MB / 2.302 GB, free: 42.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005312/7.415, allocations: 366.4 kB / 2.303 GB, free: 42.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/7.415, allocations: 3.938 kB / 2.303 GB, free: 42.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001194/7.415, allocations: 361.9 kB / 2.303 GB, free: 41.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/7.416, allocations: 0.5312 MB / 2.304 GB, free: 41.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/7.418, allocations: 1.003 MB / 2.305 GB, free: 40.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/7.42, allocations: 0.7198 MB / 2.305 GB, free: 39.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/7.42, allocations: 0 / 2.305 GB, free: 39.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.009515/7.43, allocations: 2.388 MB / 2.308 GB, free: 36.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007293/7.43, allocations: 3.704 MB / 2.311 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/7.43, allocations: 11.95 kB / 2.311 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/7.434, allocations: 0.7797 MB / 2.312 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/7.436, allocations: 367.5 kB / 2.312 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/7.447, allocations: 5.271 MB / 2.318 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/7.452, allocations: 379.2 kB / 2.318 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/7.452, allocations: 71.95 kB / 2.318 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/7.452, allocations: 4 kB / 2.318 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009276/7.461, allocations: 2.02 MB / 2.32 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/7.461, allocations: 16.11 kB / 2.32 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/7.465, allocations: 0.5802 MB / 2.32 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/7.467, allocations: 395.4 kB / 2.321 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/7.48, allocations: 6.953 MB / 2.328 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/7.484, allocations: 315.5 kB / 2.328 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/7.485, allocations: 75.95 kB / 2.328 GB, free: 15.09 MB / 0.8386 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 (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004877/7.485, allocations: 140.8 kB / 2.328 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/7.486, allocations: 217.3 kB / 2.328 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/7.491, allocations: 1.742 MB / 2.33 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/7.491, allocations: 23.11 kB / 2.33 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-06/7.491, allocations: 0 / 2.33 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003993/7.495, allocations: 1.632 MB / 2.332 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/7.506, allocations: 3.893 MB / 2.335 GB, free: 7.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/7.506, allocations: 0 / 2.335 GB, free: 7.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/7.507, allocations: 291.7 kB / 2.336 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/7.508, allocations: 330.5 kB / 2.336 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/7.509, allocations: 19.97 kB / 2.336 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/7.51, allocations: 1.526 MB / 2.338 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/7.51, allocations: 0 / 2.338 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005676/7.516, allocations: 2.422 MB / 2.34 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/7.518, allocations: 494 kB / 2.34 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/7.518, allocations: 0 / 2.34 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/7.521, allocations: 306.5 kB / 2.341 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/7.521, allocations: 77.14 kB / 2.341 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/7.521, allocations: 47.97 kB / 2.341 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002498/7.524, allocations: 1.153 MB / 2.342 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.219e-06/7.524, allocations: 0 / 2.342 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008653/7.533, allocations: 1.257 MB / 2.343 GB, free: 15.3 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 (99): * Single equations (assignments): 90 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/7.535, allocations: 1.147 MB / 2.344 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007146/7.542, allocations: 2.877 MB / 2.347 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.791e-06/7.542, allocations: 0 / 2.347 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/7.544, allocations: 0.6679 MB / 2.348 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006266/7.551, allocations: 1.015 MB / 2.349 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/7.564, allocations: 3.58 MB / 2.352 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/7.566, allocations: 1.664 MB / 2.354 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004694/7.571, allocations: 0.5569 MB / 2.354 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007046/7.572, allocations: 135.4 kB / 2.355 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of SimCode: time 1.349e-05/7.572, allocations: 0 / 2.355 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of Templates: time 0.6902/8.262, allocations: 55.9 MB / 2.409 GB, free: 112.6 MB / 0.8698 GB