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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.273/2.273, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004356, allocations: 12 kB / 314.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 54.85 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.4305, allocations: 86.88 MB / 456.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.4308, allocations: 107.8 kB / 456.3 MB, free: 3.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0392/0.4701, allocations: 9.382 MB / 465.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.157e-06/0.4701, allocations: 0 / 465.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.4701, allocations: 4 kB / 465.7 MB, free: 10.02 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009801/0.4711, allocations: 0.5848 MB / 466.3 MB, free: 9.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4712, allocations: 12.02 kB / 466.3 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4713, allocations: 43.48 kB / 466.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.4718, allocations: 278.3 kB / 466.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.4718, allocations: 33 kB / 466.6 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.4719, allocations: 36 kB / 466.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.473, allocations: 0.5412 MB / 467.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4731, allocations: 0 / 467.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.4731, allocations: 16 kB / 467.2 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.4732, allocations: 32.98 kB / 467.2 MB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.4745, allocations: 0.5854 MB / 467.8 MB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.4769, allocations: 1.195 MB / 469 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/0.4779, allocations: 376 kB / 469.4 MB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.478, allocations: 16.16 kB / 469.4 MB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.478, allocations: 38.75 kB / 469.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.597e-06/0.4781, allocations: 0 / 469.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001358/0.4794, allocations: 473.5 kB / 469.9 MB, free: 5.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4795, allocations: 51.5 kB / 469.9 MB, free: 5.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.4802, allocations: 412.7 kB / 470.3 MB, free: 5.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.4802, allocations: 29.7 kB / 470.4 MB, free: 5.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.4804, allocations: 230.8 kB / 470.6 MB, free: 4.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4805, allocations: 74.92 kB / 470.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.4806, allocations: 7.938 kB / 470.7 MB, free: 4.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4807, allocations: 322.8 kB / 471 MB, free: 4.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.4811, allocations: 119.9 kB / 471.1 MB, free: 4.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.4814, allocations: 115.9 kB / 471.2 MB, free: 4.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.4818, allocations: 142.4 kB / 471.4 MB, free: 4.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.013e-06/0.4819, allocations: 0 / 471.4 MB, free: 4.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008715/0.4827, allocations: 317.3 kB / 471.7 MB, free: 3.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4828, allocations: 4 kB / 471.7 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-06/0.4828, allocations: 0 / 471.7 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4828, allocations: 0 / 471.7 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4839, allocations: 163.8 kB / 471.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3058/0.7897, allocations: 5.509 MB / 477.4 MB, free: 95.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.7905, allocations: 44.44 kB / 477.4 MB, free: 95.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.7906, allocations: 10.36 kB / 477.4 MB, free: 95.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006003/0.7913, allocations: 195.4 kB / 477.6 MB, free: 95.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.7915, allocations: 41.84 kB / 477.6 MB, free: 95.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.7943, allocations: 460.9 kB / 478.1 MB, free: 95.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.7944, allocations: 2.344 kB / 478.1 MB, free: 95.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.7944, allocations: 0 / 478.1 MB, free: 95.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.7945, allocations: 1.688 kB / 478.1 MB, free: 95.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.7958, allocations: 363.5 kB / 478.4 MB, free: 95.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.082e-06/0.7959, allocations: 1.75 kB / 478.4 MB, free: 95.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/0.7981, allocations: 153.6 kB / 478.6 MB, free: 95.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.7982, allocations: 5.109 kB / 478.6 MB, free: 95.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.7983, allocations: 9.641 kB / 478.6 MB, free: 95.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/0.8036, allocations: 5.524 MB / 484.1 MB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-06/0.8037, allocations: 1.875 kB / 484.1 MB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.8057, allocations: 454 kB / 484.6 MB, free: 89.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.806, allocations: 118.8 kB / 484.7 MB, free: 89.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8062, allocations: 13.09 kB / 484.7 MB, free: 89.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.8069, allocations: 16.7 kB / 484.7 MB, free: 89.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.8071, allocations: 17.66 kB / 484.7 MB, free: 89.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.8072, allocations: 14.36 kB / 484.8 MB, free: 89.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.8083, allocations: 332.5 kB / 485.1 MB, free: 89.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.8083, allocations: 3.062 kB / 485.1 MB, free: 89.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00135/0.8097, allocations: 110.7 kB / 485.2 MB, free: 89.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00062/0.8103, allocations: 181.6 kB / 485.4 MB, free: 89.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.8136, allocations: 375.7 kB / 485.7 MB, free: 89.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.567e-06/0.8137, allocations: 3 kB / 485.7 MB, free: 89.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.8156, allocations: 243.5 kB / 486 MB, free: 89.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.8162, allocations: 88.06 kB / 486.1 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.8179, allocations: 0.8965 MB / 487 MB, free: 88.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.8183, allocations: 0.8565 MB / 487.8 MB, free: 88.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.8184, allocations: 31.08 kB / 487.8 MB, free: 88.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.646e-06/0.8184, allocations: 1.312 kB / 487.9 MB, free: 88.24 MB / 394.7 MB Notification: Performance of Templates: time 0.0218/0.8402, allocations: 18.73 MB / 0.4947 GB, free: 75.46 MB / 394.7 MB