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.StraightPipe.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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004363, allocations: 15.98 kB / 314.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002552/0.2807, allocations: 1.501 MB / 370.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2822, allocations: 0.7379 MB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.2823, allocations: 3.938 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.2826, allocations: 51.72 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2829, allocations: 63.83 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2832, allocations: 63.8 kB / 371.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.2835, allocations: 159.7 kB / 371.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.2836, allocations: 36.36 kB / 371.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.2837, allocations: 75.64 kB / 371.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.2839, allocations: 91.61 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.284, allocations: 4 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.2843, allocations: 123.8 kB / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.2844, allocations: 51.81 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.2845, allocations: 61.58 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.2848, allocations: 188.2 kB / 372.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.638e-06/0.2848, allocations: 0 / 372.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.879e-06/0.2848, allocations: 0 / 372.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2848, allocations: 0 / 372.4 MB, free: 7.477 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009037/0.2858, allocations: 0.5199 MB / 372.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2858, allocations: 8.031 kB / 372.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.2859, allocations: 35.66 kB / 373 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.2863, allocations: 238.6 kB / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.2863, allocations: 16.56 kB / 373.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.2864, allocations: 24 kB / 373.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.2872, allocations: 377.2 kB / 373.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2872, allocations: 3.938 kB / 373.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.2873, allocations: 12 kB / 373.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.2873, allocations: 32.62 kB / 373.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.2882, allocations: 378.3 kB / 374 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.29, allocations: 0.8502 MB / 374.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.2906, allocations: 269.6 kB / 375.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2907, allocations: 0 / 375.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2908, allocations: 42.62 kB / 375.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.319e-06/0.2908, allocations: 0 / 375.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001046/0.2918, allocations: 345.2 kB / 375.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.2919, allocations: 55.41 kB / 375.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.2924, allocations: 334.9 kB / 375.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.2925, allocations: 25.7 kB / 375.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.2926, allocations: 226.4 kB / 376.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.2927, allocations: 55.2 kB / 376.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.2928, allocations: 7.938 kB / 376.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2929, allocations: 326.8 kB / 376.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.2933, allocations: 104.4 kB / 376.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.2937, allocations: 192 kB / 376.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.294, allocations: 135.8 kB / 376.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.074e-06/0.2941, allocations: 0 / 376.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008759/0.2949, allocations: 337.8 kB / 377.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.295, allocations: 8 kB / 377.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.295, allocations: 4 kB / 377.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.295, allocations: 4 kB / 377.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.2958, allocations: 120.2 kB / 377.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.2988, allocations: 3.661 MB / 381.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.2992, allocations: 39.59 kB / 381.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.2993, allocations: 19.94 kB / 381.1 MB, free: 14.36 MB / 314.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.0003156/0.2996, allocations: 179.2 kB / 381.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.2997, allocations: 27.66 kB / 381.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009514/0.3007, allocations: 338.2 kB / 381.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3007, allocations: 4 kB / 381.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.123e-06/0.3007, allocations: 3.984 kB / 381.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-06/0.3007, allocations: 0 / 381.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.3012, allocations: 305.4 kB / 382 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-06/0.3013, allocations: 0 / 382 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.302, allocations: 107.8 kB / 382.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.302, allocations: 0 / 382.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.302, allocations: 7.984 kB / 382.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.305, allocations: 3.649 MB / 385.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.305, allocations: 0 / 385.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.3058, allocations: 367.5 kB / 386.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3059, allocations: 104.8 kB / 386.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.306, allocations: 4 kB / 386.2 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3062, allocations: 12 kB / 386.2 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.3063, allocations: 15.97 kB / 386.2 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.3064, allocations: 8 kB / 386.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003544/0.3067, allocations: 245.9 kB / 386.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.167e-06/0.3067, allocations: 0 / 386.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005347/0.3073, allocations: 75.91 kB / 386.5 MB, free: 8.707 MB / 314.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.0002638/0.3076, allocations: 131.2 kB / 386.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.3088, allocations: 337.9 kB / 387 MB, free: 8.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.717e-06/0.3089, allocations: 4 kB / 387 MB, free: 8.238 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.3097, allocations: 191.7 kB / 387.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3102, allocations: 68.73 kB / 387.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3115, allocations: 0.6623 MB / 387.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.3121, allocations: 0.7834 MB / 388.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3122, allocations: 35.42 kB / 388.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of SimCode: time 1.747e-06/0.3122, allocations: 0 / 388.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of Templates: time 0.01713/0.3294, allocations: 10.47 MB / 399.2 MB, free: 11.96 MB / 330.7 MB