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_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.372e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2618, allocations: 48.7 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.3788, allocations: 77.83 MB / 397.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.3792, allocations: 91.94 kB / 398 MB, free: 2.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02701/0.4062, allocations: 6.618 MB / 404.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.949e-06/0.4063, allocations: 0 / 404.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4063, allocations: 0 / 404.6 MB, free: 11.86 MB / 346.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.0005984/0.4069, allocations: 422.4 kB / 405 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.407, allocations: 8.031 kB / 405 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.407, allocations: 15.81 kB / 405 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.4073, allocations: 195.6 kB / 405.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4073, allocations: 7.953 kB / 405.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.4074, allocations: 4 kB / 405.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002729/0.4077, allocations: 120.7 kB / 405.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.408, allocations: 146.1 kB / 405.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.408, allocations: 0 / 405.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.408, allocations: 0 / 405.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.4081, allocations: 11.98 kB / 405.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.409, allocations: 448.8 kB / 405.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.4094, allocations: 138.5 kB / 406.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4095, allocations: 40.83 kB / 406.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.4096, allocations: 0 / 406.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4096, allocations: 38.56 kB / 406.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.142e-06/0.4096, allocations: 3.938 kB / 406.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003423/0.41, allocations: 109.7 kB / 406.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4101, allocations: 59.41 kB / 406.3 MB, free: 9.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.4102, allocations: 125.2 kB / 406.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4102, allocations: 29.7 kB / 406.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4104, allocations: 186.2 kB / 406.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4104, allocations: 35.48 kB / 406.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-06/0.4105, allocations: 0 / 406.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4106, allocations: 314.8 kB / 407 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.4107, allocations: 39.91 kB / 407 MB, free: 9.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4109, allocations: 62.48 kB / 407.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.411, allocations: 39.95 kB / 407.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-06/0.411, allocations: 0 / 407.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003189/0.4113, allocations: 129.5 kB / 407.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4114, allocations: 6.344 kB / 407.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.258e-06/0.4114, allocations: 0 / 407.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4114, allocations: 8.047 kB / 407.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.4118, allocations: 47.91 kB / 407.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.4128, allocations: 1.23 MB / 408.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.413, allocations: 16.12 kB / 408.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.413, allocations: 7.984 kB / 408.6 MB, free: 7.617 MB / 346.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.0001248/0.4131, allocations: 104.9 kB / 408.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.4132, allocations: 7.906 kB / 408.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.4136, allocations: 150.2 kB / 408.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-06/0.4136, allocations: 3.953 kB / 408.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.46e-06/0.4136, allocations: 4 kB / 408.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.275e-06/0.4136, allocations: 0 / 408.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.4139, allocations: 194.2 kB / 409 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.333e-06/0.414, allocations: 4 kB / 409 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.4143, allocations: 39.97 kB / 409.1 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.325e-06/0.4143, allocations: 7.938 kB / 409.1 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.4143, allocations: 3.984 kB / 409.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009613/0.4153, allocations: 1.227 MB / 410.3 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.445e-06/0.4153, allocations: 4.031 kB / 410.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.4157, allocations: 219.3 kB / 410.5 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.4158, allocations: 92.86 kB / 410.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.4158, allocations: 0 / 410.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.416, allocations: 12.08 kB / 410.6 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.416, allocations: 7.984 kB / 410.6 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4161, allocations: 4 kB / 410.6 MB, free: 5.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.4162, allocations: 105.5 kB / 410.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.4162, allocations: 0 / 410.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.4166, allocations: 39.94 kB / 410.8 MB, free: 5.281 MB / 346.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.0002899/0.4169, allocations: 144.1 kB / 410.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004424/0.4174, allocations: 111.9 kB / 411 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.04e-06/0.4174, allocations: 0 / 411 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.4177, allocations: 63.89 kB / 411.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.418, allocations: 21.3 kB / 411.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.4185, allocations: 223.4 kB / 411.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.419, allocations: 0.7351 MB / 412.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.4191, allocations: 15.44 kB / 412.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.4191, allocations: 0 / 412.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of Templates: time 0.00671/0.4258, allocations: 3.199 MB / 415.3 MB, free: 0.7188 MB / 346.7 MB