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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004294, allocations: 8 kB / 314.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3151, allocations: 54.88 MB / 369.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002486/0.3176, allocations: 1.525 MB / 370.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3196, allocations: 0.9835 MB / 371.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.3197, allocations: 4 kB / 371.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.3199, allocations: 39.8 kB / 371.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3201, allocations: 47.84 kB / 371.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3207, allocations: 135.6 kB / 371.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.3209, allocations: 139.7 kB / 372.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.321, allocations: 17.67 kB / 372.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3212, allocations: 75.62 kB / 372.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3214, allocations: 83.61 kB / 372.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3214, allocations: 12 kB / 372.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.3219, allocations: 227.8 kB / 372.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.322, allocations: 47.81 kB / 372.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.3221, allocations: 61.52 kB / 372.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3225, allocations: 188.2 kB / 372.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3225, allocations: 4 kB / 372.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.276e-06/0.3225, allocations: 0 / 372.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.733e-06/0.3225, allocations: 0 / 372.8 MB, free: 7.223 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001089/0.3236, allocations: 0.5335 MB / 373.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3237, allocations: 8.031 kB / 373.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.188e-05/0.3238, allocations: 23.72 kB / 373.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3241, allocations: 234.6 kB / 373.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3241, allocations: 11.98 kB / 373.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.3242, allocations: 19.94 kB / 373.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3249, allocations: 284.6 kB / 373.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3249, allocations: 3.953 kB / 373.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.325, allocations: 11.98 kB / 373.9 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.325, allocations: 11.75 kB / 373.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.3258, allocations: 251.7 kB / 374.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3272, allocations: 0.7732 MB / 374.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.3279, allocations: 239.7 kB / 375.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.328, allocations: 4.094 kB / 375.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3281, allocations: 46.5 kB / 375.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.993e-06/0.3281, allocations: 0 / 375.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001422/0.3295, allocations: 0.571 MB / 375.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.3296, allocations: 110.8 kB / 375.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.33, allocations: 274.6 kB / 376.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3301, allocations: 25.7 kB / 376.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3302, allocations: 186.4 kB / 376.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.3303, allocations: 55.28 kB / 376.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.3303, allocations: 0 / 376.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3305, allocations: 330.8 kB / 376.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.3309, allocations: 92.03 kB / 376.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.3313, allocations: 141 kB / 377 MB, free: 2.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.3316, allocations: 107.9 kB / 377.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3317, allocations: 0 / 377.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008803/0.3326, allocations: 277.4 kB / 377.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3326, allocations: 8 kB / 377.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.453e-05/0.3326, allocations: 8 kB / 377.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3327, allocations: 4 kB / 377.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3329, allocations: 35.95 kB / 377.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.333, allocations: 8.219 kB / 377.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.3332, allocations: 43.67 kB / 377.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.3333, allocations: 15.92 kB / 377.5 MB, free: 2.195 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002009/0.3335, allocations: 145.8 kB / 377.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3336, allocations: 15.81 kB / 377.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/0.3343, allocations: 251.2 kB / 377.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-06/0.3344, allocations: 0 / 377.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3344, allocations: 0 / 377.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.332e-06/0.3344, allocations: 7.984 kB / 377.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.335, allocations: 257.5 kB / 378.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/0.335, allocations: 12 kB / 378.1 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3352, allocations: 39.97 kB / 378.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.3353, allocations: 4 kB / 378.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3353, allocations: 3.984 kB / 378.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3353, allocations: 4 kB / 378.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.781e-06/0.3353, allocations: 0 / 378.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.3363, allocations: 0.5093 MB / 378.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3364, allocations: 100.8 kB / 378.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.539e-05/0.3364, allocations: 0 / 378.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.3368, allocations: 31.97 kB / 378.8 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3369, allocations: 11.98 kB / 378.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3369, allocations: 7.984 kB / 378.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002714/0.3372, allocations: 205.9 kB / 379.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.991e-06/0.3372, allocations: 0 / 379.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005846/0.3378, allocations: 75.94 kB / 379.1 MB, free: 444 kB / 298.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003448/0.3382, allocations: 171.1 kB / 379.3 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000885/0.3391, allocations: 296.9 kB / 379.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.761e-06/0.3391, allocations: 4.312 kB / 379.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.3396, allocations: 197 kB / 379.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.3401, allocations: 36.62 kB / 379.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3413, allocations: 0.5599 MB / 380.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.3418, allocations: 0.7557 MB / 381.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/0.3419, allocations: 23.42 kB / 381.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.631e-06/0.3419, allocations: 0 / 381.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.008646/0.3506, allocations: 3.784 MB / 384.9 MB, free: 10.53 MB / 314.7 MB