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.336/2.336, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.574e-05/4.621e-05, allocations: 7.984 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3477, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4734, allocations: 84.87 MB / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.4737, allocations: 96.58 kB / 449.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02784/0.5016, allocations: 6.678 MB / 456.2 MB, free: 4.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.188e-06/0.5016, allocations: 4 kB / 456.2 MB, free: 4.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5016, allocations: 0 / 456.2 MB, free: 4.82 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.000619/0.5023, allocations: 422.4 kB / 456.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5023, allocations: 12.03 kB / 456.6 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.5024, allocations: 15.77 kB / 456.6 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.5027, allocations: 200.7 kB / 456.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.5027, allocations: 9.406 kB / 456.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.5028, allocations: 11.98 kB / 456.9 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.5031, allocations: 153.5 kB / 457 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5031, allocations: 0 / 457 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.5032, allocations: 4 kB / 457 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.5032, allocations: 16.48 kB / 457 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.5035, allocations: 144.4 kB / 457.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5046, allocations: 0.4922 MB / 457.7 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.505, allocations: 146.5 kB / 457.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.5051, allocations: 36.84 kB / 457.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.5052, allocations: 8.078 kB / 457.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5052, allocations: 42.61 kB / 457.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.503e-06/0.5052, allocations: 0 / 457.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003571/0.5056, allocations: 121.5 kB / 458 MB, free: 2.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.5057, allocations: 55.36 kB / 458.1 MB, free: 2.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.5059, allocations: 186.6 kB / 458.2 MB, free: 2.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.506, allocations: 25.7 kB / 458.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.5061, allocations: 178.4 kB / 458.4 MB, free: 2.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.5061, allocations: 27.56 kB / 458.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.5062, allocations: 4 kB / 458.5 MB, free: 2.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5063, allocations: 318.8 kB / 458.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.5064, allocations: 35.97 kB / 458.8 MB, free: 1.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.5066, allocations: 54.55 kB / 458.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.5067, allocations: 51.95 kB / 458.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-06/0.5067, allocations: 0 / 458.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003219/0.5071, allocations: 129.5 kB / 459.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5071, allocations: 8 kB / 459.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.562e-06/0.5071, allocations: 0 / 459.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5071, allocations: 0 / 459.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.5075, allocations: 51.97 kB / 459.1 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009951/0.5085, allocations: 1.223 MB / 460.3 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5087, allocations: 23.86 kB / 460.4 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.5088, allocations: 12.19 kB / 460.4 MB, free: 392 kB / 378.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.0001242/0.5089, allocations: 109.1 kB / 460.5 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.509, allocations: 15.75 kB / 460.5 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.5094, allocations: 159 kB / 460.6 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.589e-06/0.5094, allocations: 4 kB / 460.7 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-06/0.5094, allocations: 3.984 kB / 460.7 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-06/0.5095, allocations: 0 / 460.7 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.5098, allocations: 221.5 kB / 460.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-06/0.5098, allocations: 0 / 460.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.5102, allocations: 47.95 kB / 460.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.2e-06/0.5102, allocations: 4 kB / 460.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5102, allocations: 0 / 460.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009448/0.5112, allocations: 1.223 MB / 462.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-06/0.5112, allocations: 4 kB / 462.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.5116, allocations: 223.2 kB / 462.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.5117, allocations: 92.86 kB / 462.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.5117, allocations: 4 kB / 462.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.5119, allocations: 11.94 kB / 462.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.512, allocations: 16.08 kB / 462.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.5121, allocations: 4 kB / 462.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.5122, allocations: 149.1 kB / 462.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.5123, allocations: 0 / 462.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.5127, allocations: 44 kB / 462.7 MB, free: 13.93 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.0002834/0.513, allocations: 150.3 kB / 462.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.5135, allocations: 112 kB / 462.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5135, allocations: 8.125 kB / 462.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.5138, allocations: 67.89 kB / 463 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5141, allocations: 24.17 kB / 463 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.5147, allocations: 231.8 kB / 463.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5152, allocations: 0.7396 MB / 464 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.5152, allocations: 15.44 kB / 464 MB, free: 12.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.459e-06/0.5152, allocations: 0 / 464 MB, free: 12.53 MB / 394.7 MB Notification: Performance of Templates: time 0.006981/0.5222, allocations: 3.484 MB / 467.5 MB, free: 9.051 MB / 394.7 MB