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.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 11.98 kB / 314.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002724/0.2782, allocations: 1.662 MB / 370.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2806, allocations: 1.136 MB / 372 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.2807, allocations: 0 / 372 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.281, allocations: 59.67 kB / 372.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.2812, allocations: 59.8 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.2819, allocations: 155.6 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.2823, allocations: 287.3 kB / 372.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2824, allocations: 48.72 kB / 372.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.2827, allocations: 127.4 kB / 372.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.2829, allocations: 143.3 kB / 372.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.283, allocations: 12 kB / 372.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.2836, allocations: 255.7 kB / 373.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2837, allocations: 83.59 kB / 373.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2838, allocations: 81.52 kB / 373.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.2844, allocations: 351.8 kB / 373.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.89e-06/0.2844, allocations: 0 / 373.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.19e-06/0.2844, allocations: 0 / 373.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.472e-06/0.2845, allocations: 0 / 373.6 MB, free: 6.25 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001254/0.2857, allocations: 0.6627 MB / 374.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2858, allocations: 8.031 kB / 374.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.2859, allocations: 43.44 kB / 374.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.2863, allocations: 279.4 kB / 374.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.2864, allocations: 29 kB / 374.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.2865, allocations: 40 kB / 374.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.2877, allocations: 0.5574 MB / 375.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2878, allocations: 4 kB / 375.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.2878, allocations: 19.98 kB / 375.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.2879, allocations: 20.95 kB / 375.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.289, allocations: 435.6 kB / 375.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.2916, allocations: 1.297 MB / 377 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.2924, allocations: 315.5 kB / 377.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.2925, allocations: 8.109 kB / 377.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2925, allocations: 34.5 kB / 377.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 3.616e-06/0.2925, allocations: 8 kB / 377.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001868/0.2944, allocations: 0.7621 MB / 378.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.2945, allocations: 114.8 kB / 378.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000822/0.2953, allocations: 493.9 kB / 378.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.2954, allocations: 29.7 kB / 378.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.2956, allocations: 246.5 kB / 379 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.2957, allocations: 67.08 kB / 379.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.2958, allocations: 0 / 379.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2959, allocations: 318.8 kB / 379.4 MB, free: 204 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.2965, allocations: 164 kB / 379.5 MB, free: 40 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.297, allocations: 238.6 kB / 379.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.2976, allocations: 179.8 kB / 379.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.2976, allocations: 3.938 kB / 379.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001271/0.2989, allocations: 429.4 kB / 380.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.2989, allocations: 12 kB / 380.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-05/0.299, allocations: 27.98 kB / 380.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.2991, allocations: 7.953 kB / 380.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.2994, allocations: 43.89 kB / 380.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.2994, allocations: 11.88 kB / 380.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.2998, allocations: 63.5 kB / 380.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.2998, allocations: 16 kB / 380.5 MB, free: 14.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (24): * Single equations (assignments): 15 * 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.0003305/0.3002, allocations: 201.6 kB / 380.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.3004, allocations: 39.53 kB / 380.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.3016, allocations: 432.9 kB / 381.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3016, allocations: 4 kB / 381.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3016, allocations: 3.953 kB / 381.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.3016, allocations: 3.984 kB / 381.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008301/0.3025, allocations: 373.3 kB / 381.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.93e-05/0.3026, allocations: 27.97 kB / 381.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3028, allocations: 35.97 kB / 381.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-06/0.3028, allocations: 0 / 381.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3029, allocations: 12 kB / 381.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.157e-06/0.3029, allocations: 0 / 381.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.823e-06/0.3029, allocations: 7.938 kB / 381.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3042, allocations: 0.6227 MB / 382.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.3044, allocations: 124.5 kB / 382.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.3045, allocations: 0 / 382.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.305, allocations: 31.97 kB / 382.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.3051, allocations: 19.94 kB / 382.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.3051, allocations: 19.98 kB / 382.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005915/0.3057, allocations: 355.1 kB / 382.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.3e-07/0.3057, allocations: 0 / 382.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00078/0.3065, allocations: 123.9 kB / 382.9 MB, free: 12.48 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.0004289/0.307, allocations: 187 kB / 383.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3083, allocations: 0.5776 MB / 383.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3083, allocations: 4.062 kB / 383.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.309, allocations: 407.1 kB / 384.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.3098, allocations: 93.55 kB / 384.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3117, allocations: 0.8859 MB / 385.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.3124, allocations: 0.8537 MB / 385.9 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3125, allocations: 31.42 kB / 386 MB, free: 9.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.76e-06/0.3125, allocations: 0 / 386 MB, free: 9.27 MB / 314.7 MB Notification: Performance of Templates: time 0.0145/0.327, allocations: 7.319 MB / 393.3 MB, free: 1.984 MB / 314.7 MB