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_overall.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_overall,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.|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004325, allocations: 12 kB / 282.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 48.7 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002516/0.2852, allocations: 1.819 MB / 333 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.2883, allocations: 1.806 MB / 334.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.2885, allocations: 1.188 kB / 334.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.2888, allocations: 51.02 kB / 334.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.289, allocations: 81.62 kB / 335 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2903, allocations: 358.3 kB / 335.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.2908, allocations: 360.1 kB / 335.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.291, allocations: 64.17 kB / 335.7 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.2912, allocations: 158.3 kB / 335.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2915, allocations: 179.2 kB / 336.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.2916, allocations: 11.06 kB / 336.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.293, allocations: 0.668 MB / 336.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.2931, allocations: 94.19 kB / 336.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2933, allocations: 100.5 kB / 336.9 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007931/0.2941, allocations: 0.504 MB / 337.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2941, allocations: 0 / 337.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.2941, allocations: 0 / 337.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.2941, allocations: 0 / 337.4 MB, free: 3.02 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001207/0.2953, allocations: 0.7558 MB / 338.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2954, allocations: 8.812 kB / 338.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2955, allocations: 57.83 kB / 338.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.2959, allocations: 309 kB / 338.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.296, allocations: 52.69 kB / 338.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.2961, allocations: 50.19 kB / 338.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.2976, allocations: 0.7756 MB / 339.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2976, allocations: 0 / 339.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.2977, allocations: 24.25 kB / 339.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.2977, allocations: 30.08 kB / 339.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2991, allocations: 0.5672 MB / 340.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.302, allocations: 1.697 MB / 341.8 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/0.303, allocations: 316.5 kB / 342.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.3031, allocations: 21.14 kB / 342.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3031, allocations: 37.34 kB / 342.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 4.34e-06/0.3031, allocations: 0 / 342.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001991/0.3051, allocations: 0.7731 MB / 342.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.3052, allocations: 104.4 kB / 343 MB, free: 15.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3063, allocations: 0.6309 MB / 343.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.3064, allocations: 30.8 kB / 343.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.3067, allocations: 325 kB / 344 MB, free: 14.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3068, allocations: 79.06 kB / 344 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3069, allocations: 13.25 kB / 344.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3071, allocations: 336.9 kB / 344.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/0.3077, allocations: 201.3 kB / 344.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.3086, allocations: 466.9 kB / 345 MB, free: 13.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.3093, allocations: 283.8 kB / 345.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.3093, allocations: 2.625 kB / 345.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001856/0.3112, allocations: 0.673 MB / 346 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3113, allocations: 13.34 kB / 346 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.3114, allocations: 53.77 kB / 346.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.3114, allocations: 14.56 kB / 346.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.3118, allocations: 72.45 kB / 346.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-05/0.3119, allocations: 20.23 kB / 346.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.3126, allocations: 108.3 kB / 346.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.3127, allocations: 40.98 kB / 346.3 MB, free: 13.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004281/0.3131, allocations: 256.2 kB / 346.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.3133, allocations: 45.25 kB / 346.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3147, allocations: 497.5 kB / 347.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.3147, allocations: 4.344 kB / 347.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.288e-06/0.3147, allocations: 4 kB / 347.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-06/0.3147, allocations: 2.594 kB / 347.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.3157, allocations: 411.1 kB / 347.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.379e-05/0.3158, allocations: 44.77 kB / 347.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.316, allocations: 34.41 kB / 347.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.316, allocations: 9.234 kB / 347.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.3161, allocations: 8.219 kB / 347.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.222e-06/0.3161, allocations: 2.75 kB / 347.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.29e-06/0.3161, allocations: 0 / 347.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.3174, allocations: 0.6417 MB / 348.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.3178, allocations: 186.5 kB / 348.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.3179, allocations: 1.312 kB / 348.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3184, allocations: 28.06 kB / 348.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3185, allocations: 21.16 kB / 348.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.3186, allocations: 18.64 kB / 348.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007311/0.3193, allocations: 443.8 kB / 348.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.3193, allocations: 4 kB / 348.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001085/0.3204, allocations: 183.2 kB / 349.1 MB, free: 11.3 MB / 282.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005579/0.321, allocations: 225.9 kB / 349.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.3226, allocations: 0.7697 MB / 350.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.3227, allocations: 0 / 350.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.3235, allocations: 497 kB / 350.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.3243, allocations: 112.1 kB / 350.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.3268, allocations: 1.126 MB / 351.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.3276, allocations: 0.8974 MB / 352.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3277, allocations: 31.44 kB / 352.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of SimCode: time 1.525e-06/0.3278, allocations: 8 kB / 352.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of Templates: time 0.01894/0.3467, allocations: 9.821 MB / 362.6 MB, free: 14.41 MB / 298.7 MB