Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.2 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004332, allocations: 8 kB / 282.5 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 48.71 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002075/0.2815, allocations: 1.501 MB / 332.7 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2829, allocations: 0.7285 MB / 333.4 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.283, allocations: 1.062 kB / 333.4 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.2832, allocations: 41.05 kB / 333.5 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.2835, allocations: 56.62 kB / 333.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.2838, allocations: 71.28 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.284, allocations: 167.6 kB / 333.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.2841, allocations: 30.12 kB / 333.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2843, allocations: 77.2 kB / 333.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2845, allocations: 93.91 kB / 334 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.2845, allocations: 5.688 kB / 334 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.2848, allocations: 120.1 kB / 334.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.224e-05/0.2849, allocations: 55.03 kB / 334.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.285, allocations: 64.08 kB / 334.2 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2853, allocations: 182.6 kB / 334.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.737e-06/0.2853, allocations: 3.938 kB / 334.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.05e-06/0.2853, allocations: 0 / 334.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2853, allocations: 0 / 334.4 MB, free: 4.781 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007561/0.2861, allocations: 0.517 MB / 334.9 MB, free: 4.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2862, allocations: 8.594 kB / 334.9 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.2862, allocations: 25.47 kB / 334.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.2865, allocations: 243.2 kB / 335.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2865, allocations: 14.91 kB / 335.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.2866, allocations: 28.36 kB / 335.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.2874, allocations: 378.5 kB / 335.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2874, allocations: 0 / 335.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.2875, allocations: 10.3 kB / 335.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.2875, allocations: 28.92 kB / 335.6 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.2884, allocations: 382.9 kB / 336 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.29, allocations: 0.8521 MB / 336.9 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.2906, allocations: 272.2 kB / 337.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.2907, allocations: 6.266 kB / 337.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2907, allocations: 31.75 kB / 337.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.56e-06/0.2907, allocations: 0 / 337.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000964/0.2917, allocations: 349.1 kB / 337.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.2917, allocations: 52.44 kB / 337.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.2921, allocations: 337.1 kB / 337.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2922, allocations: 35.39 kB / 337.9 MB, free: 2.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.2923, allocations: 218.6 kB / 338.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.2923, allocations: 58.44 kB / 338.2 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.2924, allocations: 5.562 kB / 338.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.2924, allocations: 321.7 kB / 338.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.2927, allocations: 98.78 kB / 338.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.2931, allocations: 191.5 kB / 338.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.2934, allocations: 132.3 kB / 338.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.838e-06/0.2934, allocations: 1.312 kB / 338.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008381/0.2943, allocations: 348.6 kB / 339.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2943, allocations: 7.156 kB / 339.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.251e-06/0.2943, allocations: 2.312 kB / 339.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2944, allocations: 5.156 kB / 339.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.2952, allocations: 121.5 kB / 339.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.2975, allocations: 3.649 MB / 343 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.298, allocations: 43.45 kB / 343.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.298, allocations: 18.95 kB / 343.1 MB, free: 13.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.2984, allocations: 177.4 kB / 343.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.2985, allocations: 32.69 kB / 343.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009681/0.2994, allocations: 349.4 kB / 343.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-06/0.2995, allocations: 2.062 kB / 343.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.693e-06/0.2995, allocations: 4.969 kB / 343.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-06/0.2995, allocations: 0 / 343.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.3001, allocations: 293.2 kB / 343.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.161e-06/0.3001, allocations: 1.406 kB / 343.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.3008, allocations: 102.3 kB / 344 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.3008, allocations: 9.016 kB / 344.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3009, allocations: 7.531 kB / 344.1 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.3038, allocations: 3.653 MB / 347.7 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.852e-06/0.3039, allocations: 0 / 347.7 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/0.3047, allocations: 357.3 kB / 348.1 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3049, allocations: 106.8 kB / 348.2 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.3049, allocations: 9.516 kB / 348.2 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3052, allocations: 10.05 kB / 348.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3053, allocations: 19.66 kB / 348.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3053, allocations: 4.062 kB / 348.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003696/0.3057, allocations: 245.2 kB / 348.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.3057, allocations: 0 / 348.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005804/0.3063, allocations: 70.59 kB / 348.5 MB, free: 9.148 MB / 282.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.3066, allocations: 133.3 kB / 348.6 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.3079, allocations: 330.5 kB / 349 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.718e-06/0.308, allocations: 4.688 kB / 349 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.3088, allocations: 199.5 kB / 349.2 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3093, allocations: 52.64 kB / 349.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3108, allocations: 0.6631 MB / 349.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.3113, allocations: 0.7964 MB / 350.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3115, allocations: 26.92 kB / 350.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of SimCode: time 1.624e-06/0.3115, allocations: 0 / 350.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of Templates: time 0.01844/0.3299, allocations: 10.47 MB / 361.2 MB, free: 15.85 MB / 298.7 MB