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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.245/2.245, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.06e-05, allocations: 4 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2781, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4064, allocations: 84.2 MB / 442.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.4067, allocations: 91.92 kB / 442.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.4335, allocations: 6.629 MB / 449 MB, free: 3.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.633e-06/0.4336, allocations: 0 / 449 MB, free: 3.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4336, allocations: 0 / 449 MB, free: 3.855 MB / 378.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.0005926/0.4342, allocations: 422.4 kB / 449.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4343, allocations: 8.031 kB / 449.4 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.4343, allocations: 19.77 kB / 449.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.4346, allocations: 194.8 kB / 449.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4346, allocations: 4 kB / 449.6 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4347, allocations: 4 kB / 449.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002723/0.435, allocations: 119.9 kB / 449.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.4353, allocations: 149.5 kB / 449.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4353, allocations: 0 / 449.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4353, allocations: 0 / 449.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.4354, allocations: 15.94 kB / 449.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009674/0.4363, allocations: 448.8 kB / 450.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4368, allocations: 134.5 kB / 450.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4369, allocations: 44.83 kB / 450.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4369, allocations: 0 / 450.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.437, allocations: 34.56 kB / 450.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.988e-06/0.437, allocations: 0 / 450.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003364/0.4373, allocations: 117.6 kB / 450.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4374, allocations: 63.39 kB / 450.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4376, allocations: 124.7 kB / 450.8 MB, free: 1.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4376, allocations: 29.64 kB / 450.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4377, allocations: 190.1 kB / 451.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.4378, allocations: 31.55 kB / 451.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.4378, allocations: 0 / 451.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.438, allocations: 310.8 kB / 451.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.4381, allocations: 39.97 kB / 451.4 MB, free: 1.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4382, allocations: 58.55 kB / 451.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.4383, allocations: 43.89 kB / 451.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.512e-06/0.4383, allocations: 0 / 451.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002969/0.4386, allocations: 125.6 kB / 451.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4387, allocations: 4 kB / 451.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-06/0.4387, allocations: 0 / 451.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4387, allocations: 4 kB / 451.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.4391, allocations: 48.02 kB / 451.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.4401, allocations: 1.23 MB / 452.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.4403, allocations: 16.2 kB / 453 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4403, allocations: 7.984 kB / 453 MB, free: 15.62 MB / 394.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 () * 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.0001185/0.4404, allocations: 104.9 kB / 453.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.4405, allocations: 11.81 kB / 453.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.4409, allocations: 150.3 kB / 453.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-06/0.4409, allocations: 0 / 453.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.58e-06/0.4409, allocations: 4 kB / 453.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-06/0.4409, allocations: 0 / 453.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.4412, allocations: 194.2 kB / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4413, allocations: 96 / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.4416, allocations: 55.8 kB / 453.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.028e-06/0.4416, allocations: 4 kB / 453.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.4416, allocations: 7.984 kB / 453.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009774/0.4426, allocations: 1.215 MB / 454.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.565e-06/0.4427, allocations: 3.984 kB / 454.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.443, allocations: 219.3 kB / 454.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.4431, allocations: 92.95 kB / 455 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4431, allocations: 0 / 455 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4433, allocations: 12.08 kB / 455 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.4434, allocations: 11.94 kB / 455 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4434, allocations: 4 kB / 455 MB, free: 13.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.614e-05/0.4435, allocations: 103.3 kB / 455.1 MB, free: 13.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.4435, allocations: 0 / 455.1 MB, free: 13.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000429/0.444, allocations: 43.84 kB / 455.2 MB, free: 13.27 MB / 394.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 () * 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.0002738/0.4443, allocations: 145.9 kB / 455.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.4447, allocations: 111.9 kB / 455.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.798e-06/0.4448, allocations: 0 / 455.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.445, allocations: 63.95 kB / 455.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.4453, allocations: 13.06 kB / 455.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.4458, allocations: 218.4 kB / 455.7 MB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4463, allocations: 0.7314 MB / 456.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.4464, allocations: 19.38 kB / 456.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4464, allocations: 0 / 456.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of Templates: time 0.006794/0.4532, allocations: 3.199 MB / 459.7 MB, free: 8.715 MB / 394.7 MB