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/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 ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.293/2.293, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.126e-05, allocations: 4 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2733, allocations: 54.87 MB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4063, allocations: 87.06 MB / 445.1 MB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.4067, allocations: 91.94 kB / 445.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04251/0.4492, allocations: 10.49 MB / 455.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4493, allocations: 0 / 455.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.4493, allocations: 4 kB / 455.7 MB, free: 12.98 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.001065/0.4504, allocations: 0.6268 MB / 456.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4504, allocations: 8.031 kB / 456.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.4505, allocations: 47.44 kB / 456.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.451, allocations: 278.4 kB / 456.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.451, allocations: 12 kB / 456.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.4511, allocations: 24 kB / 456.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007088/0.4518, allocations: 325.9 kB / 457 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/0.4528, allocations: 0.4908 MB / 457.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4529, allocations: 0 / 457.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.4529, allocations: 3.953 kB / 457.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-05/0.453, allocations: 24.78 kB / 457.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.4554, allocations: 1.233 MB / 458.8 MB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.4559, allocations: 235.6 kB / 459 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.4561, allocations: 107.3 kB / 459.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.4562, allocations: 11.97 kB / 459.1 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4562, allocations: 42.45 kB / 459.2 MB, free: 9.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.767e-06/0.4562, allocations: 0 / 459.2 MB, free: 9.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007499/0.457, allocations: 249.2 kB / 459.4 MB, free: 9.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.4571, allocations: 106.9 kB / 459.5 MB, free: 8.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.4574, allocations: 187 kB / 459.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4574, allocations: 25.7 kB / 459.7 MB, free: 8.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4576, allocations: 286.5 kB / 460 MB, free: 8.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/0.4577, allocations: 63.2 kB / 460 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.4577, allocations: 3.938 kB / 460.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4579, allocations: 310.8 kB / 460.4 MB, free: 8.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.4582, allocations: 100.1 kB / 460.5 MB, free: 7.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.4584, allocations: 139.3 kB / 460.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.4587, allocations: 110.6 kB / 460.7 MB, free: 7.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.4587, allocations: 4 kB / 460.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007115/0.4595, allocations: 277.3 kB / 461 MB, free: 7.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4595, allocations: 4 kB / 461 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.383e-05/0.4596, allocations: 27.97 kB / 461 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4596, allocations: 11.94 kB / 461 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.4599, allocations: 39.91 kB / 461.1 MB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.287e-06/0.46, allocations: 4.156 kB / 461.1 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.4602, allocations: 35.81 kB / 461.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.4603, allocations: 19.98 kB / 461.1 MB, free: 7.293 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.000122/0.4604, allocations: 102.9 kB / 461.2 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.4606, allocations: 15.81 kB / 461.2 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.4614, allocations: 339.1 kB / 461.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4614, allocations: 7.953 kB / 461.6 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-06/0.4615, allocations: 0 / 461.6 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.23e-06/0.4615, allocations: 4 kB / 461.6 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.4622, allocations: 325.9 kB / 461.9 MB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.836e-05/0.4623, allocations: 31.97 kB / 461.9 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4625, allocations: 31.97 kB / 462 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-06/0.4625, allocations: 4 kB / 462 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4625, allocations: 11.94 kB / 462 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-06/0.4626, allocations: 3.984 kB / 462 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.004e-06/0.4626, allocations: 0 / 462 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.4634, allocations: 0.5154 MB / 462.5 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.4635, allocations: 96.83 kB / 462.6 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.4635, allocations: 7.938 kB / 462.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.4639, allocations: 19.98 kB / 462.6 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.464, allocations: 23.97 kB / 462.6 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.4641, allocations: 8 kB / 462.6 MB, free: 5.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.4642, allocations: 160.2 kB / 462.8 MB, free: 5.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4643, allocations: 0 / 462.8 MB, free: 5.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000747/0.465, allocations: 131.5 kB / 462.9 MB, free: 5.383 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.0003859/0.4654, allocations: 197.7 kB / 463.1 MB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007542/0.4662, allocations: 467 kB / 463.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.502e-06/0.4662, allocations: 320 / 463.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.4667, allocations: 355.2 kB / 463.9 MB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.4671, allocations: 24.38 kB / 463.9 MB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4686, allocations: 0.5581 MB / 464.5 MB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.4693, allocations: 0.8489 MB / 465.4 MB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.4694, allocations: 15.38 kB / 465.4 MB, free: 2.758 MB / 394.7 MB Notification: Performance of SimCode: time 1.41e-06/0.4694, allocations: 0 / 465.4 MB, free: 2.758 MB / 394.7 MB Notification: Performance of Templates: time 0.2481/0.7174, allocations: 5.56 MB / 470.9 MB, free: 98.84 MB / 394.7 MB