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_Cooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.955/3.955, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.884e-05, allocations: 4.188 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1881, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.24, allocations: 430.3 MB / 1.055 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.241, allocations: 88.08 kB / 1.055 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.964/7.205, allocations: 1.229 GB / 2.284 GB, free: 85.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.179e-06/7.205, allocations: 0 / 2.284 GB, free: 85.99 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006883/7.205, allocations: 84.5 kB / 2.284 GB, free: 85.96 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.01257/7.218, allocations: 2.693 MB / 2.286 GB, free: 84.07 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/7.218, allocations: 13.5 kB / 2.286 GB, free: 84.06 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/7.227, allocations: 0.9998 MB / 2.287 GB, free: 83.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009082/7.236, allocations: 2.889 MB / 2.29 GB, free: 81.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/7.236, allocations: 151.4 kB / 2.29 GB, free: 81.04 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006406/7.237, allocations: 195.9 kB / 2.29 GB, free: 80.85 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005333/7.242, allocations: 2.093 MB / 2.292 GB, free: 78.67 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/7.243, allocations: 3.938 kB / 2.292 GB, free: 78.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/7.243, allocations: 76 kB / 2.293 GB, free: 78.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/7.243, allocations: 48 kB / 2.293 GB, free: 78.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/7.248, allocations: 1.654 MB / 2.294 GB, free: 76.89 MB / 0.8542 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.02133/7.269, allocations: 12.02 MB / 2.306 GB, free: 64.05 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006642/7.276, allocations: 1.646 MB / 2.308 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/7.277, allocations: 0.637 MB / 2.308 GB, free: 61.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/7.278, allocations: 1.37 MB / 2.31 GB, free: 60.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/7.278, allocations: 43.56 kB / 2.31 GB, free: 60.06 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002141/7.281, allocations: 282.5 kB / 2.31 GB, free: 59.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 4.918e-06/7.281, allocations: 0 / 2.31 GB, free: 59.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.009734/7.29, allocations: 3.28 MB / 2.313 GB, free: 56.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/7.29, allocations: 171.2 kB / 2.313 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/7.294, allocations: 1.774 MB / 2.315 GB, free: 54.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/7.295, allocations: 53.7 kB / 2.315 GB, free: 54.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/7.296, allocations: 1.196 MB / 2.316 GB, free: 53.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/7.296, allocations: 382.5 kB / 2.317 GB, free: 52.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/7.296, allocations: 30.84 kB / 2.317 GB, free: 52.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001104/7.297, allocations: 357.9 kB / 2.317 GB, free: 52.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/7.298, allocations: 0.5546 MB / 2.317 GB, free: 51.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/7.3, allocations: 1.03 MB / 2.318 GB, free: 50.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/7.301, allocations: 0.6559 MB / 2.319 GB, free: 49.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.373e-06/7.301, allocations: 4 kB / 2.319 GB, free: 49.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008913/7.31, allocations: 2.476 MB / 2.321 GB, free: 47.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007386/7.311, allocations: 3.739 MB / 2.325 GB, free: 43.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/7.311, allocations: 8 kB / 2.325 GB, free: 43.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/7.316, allocations: 0.9617 MB / 2.326 GB, free: 42.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/7.318, allocations: 323.5 kB / 2.326 GB, free: 42.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/7.33, allocations: 5.28 MB / 2.332 GB, free: 36.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/7.334, allocations: 403.3 kB / 2.332 GB, free: 36.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/7.334, allocations: 75.95 kB / 2.332 GB, free: 36.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/7.334, allocations: 4 kB / 2.332 GB, free: 36.22 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008972/7.343, allocations: 2.105 MB / 2.334 GB, free: 34.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/7.343, allocations: 8 kB / 2.334 GB, free: 34.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/7.346, allocations: 0.5973 MB / 2.335 GB, free: 33.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/7.349, allocations: 391.4 kB / 2.335 GB, free: 33.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/7.362, allocations: 6.223 MB / 2.341 GB, free: 26.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/7.365, allocations: 347.5 kB / 2.341 GB, free: 26.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/7.366, allocations: 75.95 kB / 2.342 GB, free: 26.25 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 () * 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.000472/7.366, allocations: 188.6 kB / 2.342 GB, free: 26.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005844/7.367, allocations: 233.1 kB / 2.342 GB, free: 25.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/7.372, allocations: 1.839 MB / 2.344 GB, free: 23.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/7.372, allocations: 23.94 kB / 2.344 GB, free: 23.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/7.372, allocations: 0 / 2.344 GB, free: 23.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00339/7.375, allocations: 1.68 MB / 2.345 GB, free: 22.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009732/7.385, allocations: 4.121 MB / 2.349 GB, free: 18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/7.385, allocations: 3.984 kB / 2.349 GB, free: 18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/7.387, allocations: 255.7 kB / 2.35 GB, free: 17.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/7.389, allocations: 495.4 kB / 2.35 GB, free: 17.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/7.389, allocations: 32.08 kB / 2.35 GB, free: 17.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/7.391, allocations: 1.246 MB / 2.351 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/7.391, allocations: 3.938 kB / 2.351 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/7.397, allocations: 2.517 MB / 2.354 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/7.398, allocations: 0.5018 MB / 2.354 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/7.399, allocations: 27.66 kB / 2.354 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/7.402, allocations: 315.5 kB / 2.355 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/7.402, allocations: 72.89 kB / 2.355 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/7.402, allocations: 43.97 kB / 2.355 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002959/7.405, allocations: 1.358 MB / 2.356 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.29e-07/7.405, allocations: 0 / 2.356 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006145/7.411, allocations: 1.269 MB / 2.357 GB, free: 9.797 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 (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.002158/7.414, allocations: 1.155 MB / 2.358 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00751/7.421, allocations: 2.966 MB / 2.361 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.802e-06/7.421, allocations: 384 / 2.361 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/7.423, allocations: 0.6982 MB / 2.362 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006686/7.43, allocations: 1.121 MB / 2.363 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/7.444, allocations: 3.645 MB / 2.367 GB, free: 260 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/7.447, allocations: 1.664 MB / 2.368 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005263/7.452, allocations: 0.5932 MB / 2.369 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/7.453, allocations: 135.3 kB / 2.369 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of SimCode: time 1.954e-06/7.453, allocations: 0 / 2.369 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.7239/8.177, allocations: 66.85 MB / 2.434 GB, free: 106.3 MB / 0.8698 GB