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.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004288, allocations: 8 kB / 314.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2759, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002307/0.2783, allocations: 1.419 MB / 370.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2797, allocations: 0.7341 MB / 371.4 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.2798, allocations: 0 / 371.4 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.28, allocations: 43.73 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.2803, allocations: 43.92 kB / 371.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.2806, allocations: 63.84 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.2808, allocations: 87.8 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.2808, allocations: 9.125 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.281, allocations: 51.77 kB / 371.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2811, allocations: 51.81 kB / 371.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2811, allocations: 11.94 kB / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.2815, allocations: 151.8 kB / 371.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.2815, allocations: 39.88 kB / 371.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.2816, allocations: 41.64 kB / 371.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2818, allocations: 112.4 kB / 372.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.562e-06/0.2819, allocations: 0 / 372.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.799e-06/0.2819, allocations: 0 / 372.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.298e-06/0.2819, allocations: 0 / 372.1 MB, free: 7.84 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007115/0.2826, allocations: 440.5 kB / 372.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2827, allocations: 8.031 kB / 372.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.2827, allocations: 11.91 kB / 372.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.283, allocations: 202.8 kB / 372.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.283, allocations: 4 kB / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.2831, allocations: 8 kB / 372.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.2835, allocations: 185.3 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2835, allocations: 0 / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2836, allocations: 4 kB / 372.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.2836, allocations: 15.94 kB / 372.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.2841, allocations: 171.9 kB / 373.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.2851, allocations: 0.4884 MB / 373.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.2857, allocations: 166.4 kB / 373.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.2858, allocations: 0 / 373.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2858, allocations: 34.5 kB / 373.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.053e-06/0.2858, allocations: 3.938 kB / 373.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.00074/0.2866, allocations: 221.2 kB / 374 MB, free: 5.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.2866, allocations: 51.41 kB / 374 MB, free: 5.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.2869, allocations: 203.4 kB / 374.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2869, allocations: 25.7 kB / 374.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2871, allocations: 174.4 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.2871, allocations: 43.55 kB / 374.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.2872, allocations: 4 kB / 374.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2873, allocations: 310.8 kB / 374.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2875, allocations: 55.95 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2878, allocations: 78.52 kB / 374.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.288, allocations: 63.94 kB / 375 MB, free: 4.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-06/0.288, allocations: 0 / 375 MB, free: 4.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005034/0.2885, allocations: 165.5 kB / 375.1 MB, free: 4.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2886, allocations: 8 kB / 375.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.599e-06/0.2886, allocations: 0 / 375.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2886, allocations: 3.984 kB / 375.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.289, allocations: 47.95 kB / 375.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.29, allocations: 1.234 MB / 376.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2902, allocations: 11.91 kB / 376.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2903, allocations: 8.453 kB / 376.5 MB, free: 3.172 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.2905, allocations: 141.9 kB / 376.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2906, allocations: 15.81 kB / 376.6 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/0.2911, allocations: 194.8 kB / 376.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-06/0.2912, allocations: 0 / 376.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-06/0.2912, allocations: 0 / 376.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-06/0.2912, allocations: 8 kB / 376.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.2915, allocations: 217.5 kB / 377 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.801e-06/0.2916, allocations: 4 kB / 377 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.2919, allocations: 55.83 kB / 377.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.091e-06/0.2919, allocations: 0 / 377.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.292, allocations: 4 kB / 377.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009812/0.2929, allocations: 1.219 MB / 378.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.477e-06/0.293, allocations: 3.938 kB / 378.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.2935, allocations: 255.5 kB / 378.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.2936, allocations: 88.92 kB / 378.6 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.2937, allocations: 11.94 kB / 378.6 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2939, allocations: 8 kB / 378.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.2939, allocations: 11.92 kB / 378.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.294, allocations: 4 kB / 378.7 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.2941, allocations: 153.2 kB / 378.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.2942, allocations: 0 / 378.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.2946, allocations: 43.94 kB / 378.9 MB, free: 0.6133 MB / 298.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.2949, allocations: 128.3 kB / 379 MB, free: 488 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006653/0.2955, allocations: 159.8 kB / 379.1 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.978e-06/0.2956, allocations: 4 kB / 379.2 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.296, allocations: 92.36 kB / 379.2 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2963, allocations: 28.3 kB / 379.3 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.2972, allocations: 425 kB / 379.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.2976, allocations: 0.724 MB / 380.4 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.2977, allocations: 19.42 kB / 380.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.306e-06/0.2977, allocations: 0 / 380.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Templates: time 0.007198/0.3049, allocations: 3.419 MB / 383.8 MB, free: 11.57 MB / 314.7 MB