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.219/2.219, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004291, allocations: 8 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2773, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002684/0.28, allocations: 1.688 MB / 370.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.282, allocations: 1.042 MB / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.2821, allocations: 7.938 kB / 371.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.2824, allocations: 59.77 kB / 372 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.2826, allocations: 67.73 kB / 372.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.2831, allocations: 139.6 kB / 372.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.2836, allocations: 295.3 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.2837, allocations: 40.72 kB / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.2839, allocations: 135.3 kB / 372.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.2842, allocations: 159.4 kB / 372.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.2842, allocations: 12 kB / 372.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.2847, allocations: 207.7 kB / 373 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2848, allocations: 79.7 kB / 373.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.285, allocations: 85.45 kB / 373.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.2855, allocations: 315.9 kB / 373.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.552e-06/0.2855, allocations: 0 / 373.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.951e-06/0.2855, allocations: 0 / 373.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2855, allocations: 0 / 373.5 MB, free: 6.367 MB / 298.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.001226/0.2868, allocations: 0.6511 MB / 374.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2868, allocations: 8.031 kB / 374.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.2869, allocations: 43.53 kB / 374.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.2874, allocations: 286.4 kB / 374.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.2874, allocations: 25 kB / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.2875, allocations: 40 kB / 374.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.2888, allocations: 0.5816 MB / 375.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2888, allocations: 0 / 375.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.2889, allocations: 12 kB / 375.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.2889, allocations: 40.86 kB / 375.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2901, allocations: 443.6 kB / 375.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.2925, allocations: 1.398 MB / 377 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.2933, allocations: 287.6 kB / 377.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.2934, allocations: 19.88 kB / 377.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2934, allocations: 30.56 kB / 377.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 3.314e-06/0.2934, allocations: 4 kB / 377.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00176/0.2952, allocations: 0.712 MB / 378.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.2953, allocations: 102.8 kB / 378.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000773/0.2961, allocations: 0.4939 MB / 378.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2962, allocations: 33.7 kB / 378.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.2964, allocations: 238.8 kB / 378.9 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.2965, allocations: 55.19 kB / 379 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.2965, allocations: 8 kB / 379 MB, free: 0.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2967, allocations: 322.8 kB / 379.3 MB, free: 264 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.2971, allocations: 140 kB / 379.4 MB, free: 124 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.2976, allocations: 179.5 kB / 379.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.2981, allocations: 155.9 kB / 379.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.552e-06/0.2981, allocations: 0 / 379.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001118/0.2993, allocations: 377.3 kB / 380.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2993, allocations: 7.953 kB / 380.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.788e-05/0.2994, allocations: 23.98 kB / 380.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2994, allocations: 4 kB / 380.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.2997, allocations: 52.02 kB / 380.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2998, allocations: 4 kB / 380.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.3001, allocations: 59.42 kB / 380.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.3002, allocations: 15.98 kB / 380.3 MB, free: 15.24 MB / 314.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 () * Number of clocked 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.0002793/0.3005, allocations: 189.6 kB / 380.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3006, allocations: 35.53 kB / 380.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3017, allocations: 396.6 kB / 380.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3017, allocations: 8 kB / 380.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.3017, allocations: 0 / 380.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.526e-06/0.3017, allocations: 3.984 kB / 380.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.3025, allocations: 361.3 kB / 381.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.132e-05/0.3026, allocations: 27.97 kB / 381.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.3028, allocations: 31.97 kB / 381.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3028, allocations: 0 / 381.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3029, allocations: 8 kB / 381.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.663e-06/0.3029, allocations: 11.89 kB / 381.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3029, allocations: 0 / 381.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3041, allocations: 0.5915 MB / 381.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.3042, allocations: 124.6 kB / 382.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.3043, allocations: 7.984 kB / 382.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.3048, allocations: 27.98 kB / 382.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.3049, allocations: 19.92 kB / 382.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3049, allocations: 8 kB / 382.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005733/0.3055, allocations: 375 kB / 382.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.917e-06/0.3055, allocations: 3.938 kB / 382.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006642/0.3062, allocations: 115.9 kB / 382.6 MB, free: 12.82 MB / 314.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 () * Number of clocked 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.0003304/0.3065, allocations: 163.1 kB / 382.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3077, allocations: 0.5383 MB / 383.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3078, allocations: 0 / 383.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.3084, allocations: 407.1 kB / 383.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.3091, allocations: 74.28 kB / 383.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.311, allocations: 0.9206 MB / 384.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.3117, allocations: 0.846 MB / 385.5 MB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3118, allocations: 23.44 kB / 385.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.589e-06/0.3118, allocations: 0 / 385.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of Templates: time 0.01265/0.3245, allocations: 6.79 MB / 392.4 MB, free: 2.922 MB / 314.7 MB