Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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 ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.695e-05, allocations: 4 kB / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 54.86 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4522, allocations: 87.72 MB / 452.3 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4526, allocations: 95.94 kB / 452.4 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04389/0.4965, allocations: 10.63 MB / 463 MB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.786e-06/0.4966, allocations: 0 / 463 MB, free: 13.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.4966, allocations: 8.75 kB / 463 MB, free: 13.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001062/0.4977, allocations: 0.6153 MB / 463.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4977, allocations: 12.03 kB / 463.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.4978, allocations: 43.44 kB / 463.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.4983, allocations: 274.4 kB / 464 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.4984, allocations: 28.78 kB / 464 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.4985, allocations: 40 kB / 464 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4995, allocations: 0.5332 MB / 464.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4996, allocations: 0.75 kB / 464.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.4996, allocations: 23.94 kB / 464.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.4997, allocations: 16.78 kB / 464.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.5005, allocations: 374.8 kB / 465 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.5031, allocations: 1.401 MB / 466.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.5037, allocations: 240.5 kB / 466.6 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.504, allocations: 106.6 kB / 466.7 MB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/0.504, allocations: 19.86 kB / 466.7 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5041, allocations: 42.56 kB / 466.8 MB, free: 9.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.098e-06/0.5041, allocations: 0 / 466.8 MB, free: 9.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008144/0.5049, allocations: 273.1 kB / 467 MB, free: 9.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.505, allocations: 110.8 kB / 467.1 MB, free: 9.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.5057, allocations: 451.1 kB / 467.6 MB, free: 9.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.5058, allocations: 29.7 kB / 467.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.506, allocations: 244 kB / 467.9 MB, free: 8.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.5061, allocations: 58.42 kB / 467.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.5061, allocations: 8 kB / 467.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5063, allocations: 314.8 kB / 468.2 MB, free: 8.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.5066, allocations: 96.09 kB / 468.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.5069, allocations: 141.4 kB / 468.5 MB, free: 8.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.5072, allocations: 109.6 kB / 468.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-06/0.5072, allocations: 0 / 468.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000772/0.508, allocations: 301.1 kB / 468.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.508, allocations: 4 kB / 468.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.33e-05/0.5081, allocations: 27.98 kB / 468.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5082, allocations: 8.156 kB / 468.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.5085, allocations: 47.89 kB / 468.9 MB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.5085, allocations: 7.984 kB / 468.9 MB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.5089, allocations: 59.36 kB / 469 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.509, allocations: 25.39 kB / 469 MB, free: 7.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.5091, allocations: 108.9 kB / 469.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5093, allocations: 43.48 kB / 469.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009316/0.5102, allocations: 358 kB / 469.5 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5103, allocations: 4 kB / 469.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.127e-06/0.5103, allocations: 0 / 469.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-06/0.5103, allocations: 0 / 469.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.5111, allocations: 373.2 kB / 469.9 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.272e-05/0.5112, allocations: 27.97 kB / 469.9 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.5115, allocations: 35.91 kB / 470 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-06/0.5115, allocations: 0 / 470 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.5115, allocations: 15.95 kB / 470 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.821e-06/0.5115, allocations: 3.938 kB / 470 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.236e-06/0.5116, allocations: 0 / 470 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/0.5124, allocations: 0.5422 MB / 470.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.5126, allocations: 120.6 kB / 470.6 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.5127, allocations: 4 kB / 470.6 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.5131, allocations: 27.97 kB / 470.7 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.5132, allocations: 23.92 kB / 470.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.5133, allocations: 11.98 kB / 470.7 MB, free: 5.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005579/0.5138, allocations: 365.1 kB / 471.1 MB, free: 5.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.5139, allocations: 0 / 471.1 MB, free: 5.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007353/0.5146, allocations: 123.8 kB / 471.2 MB, free: 5.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004132/0.515, allocations: 207.1 kB / 471.4 MB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008199/0.5159, allocations: 471 kB / 471.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.089e-06/0.5159, allocations: 0 / 471.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.5164, allocations: 351.2 kB / 472.2 MB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.5171, allocations: 97.81 kB / 472.3 MB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.5188, allocations: 0.6259 MB / 472.9 MB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.5194, allocations: 0.846 MB / 473.8 MB, free: 2.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5195, allocations: 27.44 kB / 473.8 MB, free: 2.508 MB / 394.7 MB Notification: Performance of SimCode: time 1.895e-06/0.5196, allocations: 0 / 473.8 MB, free: 2.508 MB / 394.7 MB Notification: Performance of Templates: time 0.01364/0.5332, allocations: 7.082 MB / 480.9 MB, free: 11.45 MB / 410.7 MB