Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.39/2.39, allocations: 234.9 MB / 251.1 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 16 kB / 315 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4007, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5605, allocations: 84.95 MB / 454.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005197/0.561, allocations: 95.94 kB / 454.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04065/0.6017, allocations: 6.688 MB / 461.6 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6018, allocations: 0 / 461.6 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.6018, allocations: 8 kB / 461.6 MB, free: 0.8828 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.0009618/0.6028, allocations: 432.7 kB / 462 MB, free: 424 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6029, allocations: 8.031 kB / 462 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.603, allocations: 15.86 kB / 462 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.6033, allocations: 202.8 kB / 462.2 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.6033, allocations: 4 kB / 462.2 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.6034, allocations: 12 kB / 462.2 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.6041, allocations: 177.5 kB / 462.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.6042, allocations: 0 / 462.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.6042, allocations: 7.906 kB / 462.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/0.6043, allocations: 11.98 kB / 462.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008155/0.6051, allocations: 179.8 kB / 462.6 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.6067, allocations: 0.4883 MB / 463.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.6075, allocations: 158.5 kB / 463.2 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.6076, allocations: 4.031 kB / 463.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.6076, allocations: 30.56 kB / 463.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.6077, allocations: 0 / 463.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.001213/0.6089, allocations: 221.2 kB / 463.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.609, allocations: 55.34 kB / 463.5 MB, free: 14.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.6094, allocations: 203.4 kB / 463.7 MB, free: 14.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.6094, allocations: 25.7 kB / 463.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.6096, allocations: 186.3 kB / 463.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.6096, allocations: 27.56 kB / 464 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.6097, allocations: 4 kB / 464 MB, free: 14.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6099, allocations: 314.8 kB / 464.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.6102, allocations: 55.95 kB / 464.3 MB, free: 13.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.6106, allocations: 74.52 kB / 464.4 MB, free: 13.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.611, allocations: 63.95 kB / 464.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.611, allocations: 0 / 464.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008445/0.6119, allocations: 169.5 kB / 464.6 MB, free: 13.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6119, allocations: 4 kB / 464.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6119, allocations: 4 kB / 464.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.612, allocations: 0 / 464.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.6126, allocations: 44.03 kB / 464.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.6139, allocations: 1.223 MB / 465.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.6142, allocations: 23.92 kB / 465.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.6142, allocations: 8.188 kB / 465.9 MB, free: 12.23 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 () * Number of clocked 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.000244/0.6145, allocations: 141.7 kB / 466.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.6146, allocations: 15.81 kB / 466.1 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000967/0.6156, allocations: 195.3 kB / 466.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6156, allocations: 0 / 466.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6156, allocations: 0 / 466.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.6156, allocations: 3.984 kB / 466.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.6162, allocations: 221.6 kB / 466.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6162, allocations: 96 / 466.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.6168, allocations: 55.83 kB / 466.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.6168, allocations: 0 / 466.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.6168, allocations: 15.94 kB / 466.6 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.618, allocations: 1.219 MB / 467.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.618, allocations: 0 / 467.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.6189, allocations: 259.5 kB / 468 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.619, allocations: 96.84 kB / 468.1 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.6191, allocations: 3.984 kB / 468.1 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.6194, allocations: 8 kB / 468.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.6195, allocations: 15.94 kB / 468.2 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.6196, allocations: 8 kB / 468.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.6198, allocations: 145.2 kB / 468.3 MB, free: 9.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6198, allocations: 0 / 468.3 MB, free: 9.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006656/0.6205, allocations: 47.94 kB / 468.4 MB, free: 9.652 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 () * Number of clocked 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.0003807/0.6209, allocations: 139.2 kB / 468.5 MB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.622, allocations: 155.8 kB / 468.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6221, allocations: 0 / 468.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.6228, allocations: 92.14 kB / 468.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.6233, allocations: 32.42 kB / 468.8 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.6245, allocations: 421.5 kB / 469.2 MB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.625, allocations: 0.7318 MB / 469.9 MB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.6251, allocations: 15.42 kB / 469.9 MB, free: 8.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6251, allocations: 0 / 469.9 MB, free: 8.016 MB / 394.7 MB Notification: Performance of Templates: time 0.01112/0.6363, allocations: 3.481 MB / 473.4 MB, free: 4.543 MB / 394.7 MB