Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.882e-05, allocations: 8 kB / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08487, allocations: 48.7 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4202, allocations: 80.56 MB / 407.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4206, allocations: 90.12 kB / 407.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03696/0.4575, allocations: 9.678 MB / 416.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.126e-06/0.4576, allocations: 0 / 416.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4576, allocations: 4 kB / 416.9 MB, free: 2.59 MB / 314.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.0006911/0.4583, allocations: 0.5071 MB / 417.4 MB, free: 2.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4584, allocations: 12.02 kB / 417.4 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.4584, allocations: 23.72 kB / 417.4 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.4587, allocations: 223.7 kB / 417.7 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4587, allocations: 10.69 kB / 417.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.4588, allocations: 15.38 kB / 417.7 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.4592, allocations: 249.2 kB / 417.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4592, allocations: 0 / 417.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.4593, allocations: 3.75 kB / 417.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.4593, allocations: 15.75 kB / 417.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.4597, allocations: 169.6 kB / 418.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.4608, allocations: 0.7862 MB / 418.9 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.4613, allocations: 197.8 kB / 419.1 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.4615, allocations: 72.3 kB / 419.2 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.4615, allocations: 11.23 kB / 419.2 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.4616, allocations: 38.52 kB / 419.2 MB, free: 312 kB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.919e-06/0.4616, allocations: 0 / 419.2 MB, free: 312 kB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000492/0.4621, allocations: 179 kB / 419.4 MB, free: 144 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4621, allocations: 110.2 kB / 419.5 MB, free: 12 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.4625, allocations: 249 kB / 419.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4626, allocations: 29.64 kB / 419.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4627, allocations: 195.5 kB / 419.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.4628, allocations: 43.3 kB / 420 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.4628, allocations: 3.938 kB / 420 MB, free: 15.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.463, allocations: 318.6 kB / 420.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.4631, allocations: 54.45 kB / 420.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.4633, allocations: 95.8 kB / 420.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4635, allocations: 70.7 kB / 420.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-06/0.4635, allocations: 0 / 420.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004941/0.464, allocations: 194.4 kB / 420.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4641, allocations: 4.188 kB / 420.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/0.4641, allocations: 8 kB / 420.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4642, allocations: 11.89 kB / 420.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.4645, allocations: 44.11 kB / 420.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4645, allocations: 0 / 420.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.4648, allocations: 47.52 kB / 420.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.4648, allocations: 7.984 kB / 420.8 MB, free: 14.75 MB / 330.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 () * 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.0001143/0.465, allocations: 107.9 kB / 420.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4651, allocations: 27.72 kB / 421 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.4656, allocations: 211.4 kB / 421.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.973e-06/0.4656, allocations: 3.953 kB / 421.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.93e-06/0.4657, allocations: 4 kB / 421.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4657, allocations: 0 / 421.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.4662, allocations: 264.3 kB / 421.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-05/0.4663, allocations: 11.98 kB / 421.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.4665, allocations: 39.97 kB / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.523e-06/0.4666, allocations: 0 / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.4666, allocations: 7.5 kB / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.169e-06/0.4666, allocations: 0 / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.625e-06/0.4666, allocations: 3.953 kB / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.4672, allocations: 457.6 kB / 421.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4674, allocations: 120.4 kB / 422.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.4675, allocations: 11.83 kB / 422.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.4678, allocations: 19.98 kB / 422.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.4679, allocations: 18.66 kB / 422.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.468, allocations: 8 kB / 422.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002626/0.4682, allocations: 201.9 kB / 422.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4683, allocations: 3.938 kB / 422.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.4689, allocations: 75.56 kB / 422.4 MB, free: 13.21 MB / 330.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 () * 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.0003872/0.4693, allocations: 180.4 kB / 422.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.4698, allocations: 222.5 kB / 422.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.685e-06/0.4698, allocations: 4 kB / 422.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.4701, allocations: 156.1 kB / 422.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.4706, allocations: 34.42 kB / 423 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.4715, allocations: 346.6 kB / 423.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.472, allocations: 0.763 MB / 424.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.4721, allocations: 19.42 kB / 424.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.699e-06/0.4721, allocations: 7.938 kB / 424.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of Templates: time 0.008293/0.4804, allocations: 3.864 MB / 428 MB, free: 7.625 MB / 330.7 MB