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.328/2.328, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.91e-05, allocations: 4 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4538, allocations: 86.93 MB / 451.5 MB, free: 9.535 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4542, allocations: 93.94 kB / 451.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04055/0.4947, allocations: 9.667 MB / 461.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.97e-06/0.4948, allocations: 5.406 kB / 461.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.4948, allocations: 4 kB / 461.3 MB, free: 15.74 MB / 394.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.0009017/0.4957, allocations: 0.5017 MB / 461.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4958, allocations: 11.97 kB / 461.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.4959, allocations: 23.72 kB / 461.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.4962, allocations: 220 kB / 462 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4962, allocations: 8 kB / 462 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.4963, allocations: 23.98 kB / 462 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.4968, allocations: 244.8 kB / 462.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4968, allocations: 0 / 462.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.4969, allocations: 7.953 kB / 462.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.4969, allocations: 23.92 kB / 462.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.4973, allocations: 159.9 kB / 462.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.4988, allocations: 0.781 MB / 463.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.4995, allocations: 207.7 kB / 463.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.4997, allocations: 77.75 kB / 463.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.4997, allocations: 4 kB / 463.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4998, allocations: 34.55 kB / 463.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/0.4998, allocations: 0 / 463.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005833/0.5004, allocations: 181.4 kB / 463.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.5005, allocations: 106.8 kB / 463.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.5009, allocations: 242.9 kB / 464.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.5009, allocations: 29.81 kB / 464.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5011, allocations: 202.2 kB / 464.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.5011, allocations: 39.36 kB / 464.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.5012, allocations: 4 kB / 464.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5014, allocations: 322.8 kB / 464.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.5015, allocations: 60.03 kB / 464.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.5018, allocations: 94.98 kB / 464.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.502, allocations: 75.88 kB / 464.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-06/0.502, allocations: 0 / 464.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005212/0.5025, allocations: 193.3 kB / 465.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5026, allocations: 4 kB / 465.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.765e-05/0.5026, allocations: 11.98 kB / 465.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5026, allocations: 4 kB / 465.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.503, allocations: 44.11 kB / 465.1 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.503, allocations: 3.938 kB / 465.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.5033, allocations: 43.75 kB / 465.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.5033, allocations: 8 kB / 465.2 MB, free: 11.51 MB / 394.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.0001244/0.5035, allocations: 112.9 kB / 465.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5036, allocations: 19.72 kB / 465.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.5042, allocations: 215.2 kB / 465.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.5042, allocations: 4 kB / 465.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.633e-06/0.5042, allocations: 0 / 465.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-06/0.5042, allocations: 4 kB / 465.5 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.5048, allocations: 261.5 kB / 465.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/0.5049, allocations: 11.98 kB / 465.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.5052, allocations: 39.97 kB / 465.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.517e-06/0.5052, allocations: 4 kB / 465.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.5052, allocations: 3.984 kB / 465.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5052, allocations: 4 kB / 465.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.228e-06/0.5053, allocations: 0 / 465.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.5059, allocations: 449.1 kB / 466.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.506, allocations: 104.8 kB / 466.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.5061, allocations: 4 kB / 466.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.5065, allocations: 27.91 kB / 466.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.5066, allocations: 15.98 kB / 466.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5066, allocations: 8 kB / 466.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002697/0.5069, allocations: 199.1 kB / 466.7 MB, free: 9.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.98e-07/0.5069, allocations: 0 / 466.7 MB, free: 9.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.5075, allocations: 87.88 kB / 466.7 MB, free: 9.863 MB / 394.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.0003615/0.5079, allocations: 171.1 kB / 466.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.5084, allocations: 221.2 kB / 467.1 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5085, allocations: 4.062 kB / 467.1 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.5087, allocations: 153.3 kB / 467.3 MB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.5092, allocations: 40.66 kB / 467.3 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.5102, allocations: 345.6 kB / 467.7 MB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.5107, allocations: 0.7597 MB / 468.4 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.5108, allocations: 19.42 kB / 468.4 MB, free: 8.062 MB / 394.7 MB Notification: Performance of SimCode: time 3.748e-06/0.5108, allocations: 0 / 468.4 MB, free: 8.062 MB / 394.7 MB Notification: Performance of Templates: time 0.008066/0.5189, allocations: 3.886 MB / 472.3 MB, free: 4.195 MB / 394.7 MB