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_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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004309, allocations: 12 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.274, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002653/0.2767, allocations: 1.599 MB / 370.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2784, allocations: 0.7496 MB / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.2785, allocations: 0 / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.2788, allocations: 59.77 kB / 371.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.2791, allocations: 83.67 kB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2793, allocations: 51.92 kB / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.2796, allocations: 195.5 kB / 371.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.2797, allocations: 36.38 kB / 372 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2799, allocations: 91.55 kB / 372.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.2801, allocations: 111.5 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.2802, allocations: 4 kB / 372.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.2805, allocations: 119.9 kB / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.2806, allocations: 67.73 kB / 372.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.2807, allocations: 61.58 kB / 372.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.2811, allocations: 216.1 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.38e-06/0.2811, allocations: 0 / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.602e-06/0.2811, allocations: 0 / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.497e-06/0.2811, allocations: 0 / 372.6 MB, free: 7.262 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009117/0.282, allocations: 0.5354 MB / 373.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2821, allocations: 11.97 kB / 373.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.2822, allocations: 27.62 kB / 373.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.2825, allocations: 241.2 kB / 373.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.2826, allocations: 24.56 kB / 373.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.2826, allocations: 24 kB / 373.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.2835, allocations: 401.2 kB / 373.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2835, allocations: 0 / 373.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.2836, allocations: 7.984 kB / 373.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.856e-05/0.2837, allocations: 32.59 kB / 373.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009915/0.2847, allocations: 418.3 kB / 374.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.2865, allocations: 0.8813 MB / 375.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.2873, allocations: 309.7 kB / 375.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2874, allocations: 4.062 kB / 375.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2874, allocations: 38.56 kB / 375.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.488e-06/0.2874, allocations: 0 / 375.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001103/0.2885, allocations: 365 kB / 375.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.2886, allocations: 55.34 kB / 376 MB, free: 3.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.2891, allocations: 351.2 kB / 376.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.2892, allocations: 29.7 kB / 376.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.2894, allocations: 210.7 kB / 376.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.2895, allocations: 59.14 kB / 376.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.2895, allocations: 0 / 376.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2897, allocations: 326.8 kB / 376.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.29, allocations: 104.3 kB / 377 MB, free: 2.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.2904, allocations: 150.7 kB / 377.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.2907, allocations: 123.8 kB / 377.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.179e-06/0.2907, allocations: 0 / 377.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008251/0.2916, allocations: 305.3 kB / 377.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2916, allocations: 8 kB / 377.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.911e-06/0.2916, allocations: 0 / 377.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2917, allocations: 4 kB / 377.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/0.2924, allocations: 111.8 kB / 377.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.2955, allocations: 3.704 MB / 381.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.2958, allocations: 35.7 kB / 381.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.2959, allocations: 12 kB / 381.5 MB, free: 14.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * 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.0002805/0.2962, allocations: 177.9 kB / 381.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2963, allocations: 27.7 kB / 381.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00098/0.2973, allocations: 359.7 kB / 382 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.303e-06/0.2973, allocations: 4 kB / 382 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.169e-06/0.2973, allocations: 7.984 kB / 382 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.021e-06/0.2973, allocations: 0 / 382 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.2979, allocations: 305.4 kB / 382.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-06/0.2979, allocations: 0 / 382.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.2986, allocations: 111.9 kB / 382.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.109e-06/0.2986, allocations: 0 / 382.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2987, allocations: 4 kB / 382.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/0.302, allocations: 3.703 MB / 386.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.914e-06/0.302, allocations: 0 / 386.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.3028, allocations: 381.9 kB / 386.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.303, allocations: 100.8 kB / 386.6 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3031, allocations: 8 kB / 386.6 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3033, allocations: 11.98 kB / 386.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.3034, allocations: 15.98 kB / 386.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3034, allocations: 7.984 kB / 386.6 MB, free: 8.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003851/0.3038, allocations: 261.8 kB / 386.9 MB, free: 8.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.124e-06/0.3038, allocations: 0 / 386.9 MB, free: 8.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005034/0.3043, allocations: 79.91 kB / 387 MB, free: 8.297 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 (15): * Single equations (assignments): 9 * 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.0002821/0.3046, allocations: 131.1 kB / 387.1 MB, free: 8.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.306, allocations: 328 kB / 387.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.872e-06/0.306, allocations: 0 / 387.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009044/0.3069, allocations: 205.3 kB / 387.6 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.3075, allocations: 68.3 kB / 387.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3089, allocations: 0.6906 MB / 388.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.3095, allocations: 0.7988 MB / 389.2 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.3096, allocations: 27.42 kB / 389.2 MB, free: 6 MB / 314.7 MB Notification: Performance of SimCode: time 1.997e-06/0.3096, allocations: 0 / 389.2 MB, free: 6 MB / 314.7 MB Notification: Performance of Templates: time 0.01759/0.3272, allocations: 10.84 MB / 400.1 MB, free: 11.17 MB / 330.7 MB