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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.221/2.221, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.551e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2746, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4056, allocations: 86.26 MB / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.4059, allocations: 91.94 kB / 444.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03878/0.4447, allocations: 9.582 MB / 454 MB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.4447, allocations: 0 / 454 MB, free: 14.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4448, allocations: 4 kB / 454 MB, free: 14.83 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.0008557/0.4456, allocations: 0.4978 MB / 454.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4457, allocations: 8.031 kB / 454.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.4458, allocations: 35.56 kB / 454.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.4461, allocations: 230.7 kB / 454.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4461, allocations: 8 kB / 454.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.4462, allocations: 8 kB / 454.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003442/0.4465, allocations: 135.9 kB / 454.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.447, allocations: 232.7 kB / 455.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.447, allocations: 3.953 kB / 455.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.4471, allocations: 0 / 455.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.4471, allocations: 15.94 kB / 455.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4484, allocations: 0.7079 MB / 455.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.4489, allocations: 195.7 kB / 456.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4491, allocations: 78.47 kB / 456.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.4492, allocations: 4.109 kB / 456.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4492, allocations: 42.5 kB / 456.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.638e-06/0.4492, allocations: 0 / 456.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005198/0.4498, allocations: 161.5 kB / 456.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.4498, allocations: 102.8 kB / 456.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.4501, allocations: 165.7 kB / 456.6 MB, free: 11.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.4501, allocations: 25.7 kB / 456.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4502, allocations: 206.5 kB / 456.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.4503, allocations: 47.36 kB / 456.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.4503, allocations: 0 / 456.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4505, allocations: 322.8 kB / 457.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4507, allocations: 47.97 kB / 457.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.4509, allocations: 93.11 kB / 457.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.451, allocations: 67.94 kB / 457.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4511, allocations: 0 / 457.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004552/0.4515, allocations: 185.3 kB / 457.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4516, allocations: 10.66 kB / 457.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/0.4516, allocations: 11.98 kB / 457.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4516, allocations: 0 / 457.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.4519, allocations: 44.06 kB / 457.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.51e-06/0.4519, allocations: 4 kB / 457.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.4522, allocations: 35.91 kB / 457.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.4523, allocations: 7.984 kB / 457.7 MB, free: 10.87 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.0001402/0.4524, allocations: 109 kB / 457.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4525, allocations: 23.75 kB / 457.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.453, allocations: 187.3 kB / 458 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.453, allocations: 4 kB / 458 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.491e-06/0.453, allocations: 0 / 458 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.76e-06/0.4531, allocations: 0 / 458 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.4536, allocations: 230.1 kB / 458.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/0.4536, allocations: 11.98 kB / 458.2 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.4539, allocations: 39.97 kB / 458.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.615e-06/0.4539, allocations: 0 / 458.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4539, allocations: 11.94 kB / 458.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.482e-06/0.4539, allocations: 7.938 kB / 458.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.757e-06/0.454, allocations: 0 / 458.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.4545, allocations: 433.2 kB / 458.7 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.4546, allocations: 96.84 kB / 458.8 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.4547, allocations: 4 kB / 458.8 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.4551, allocations: 15.98 kB / 458.8 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.4552, allocations: 23.97 kB / 458.9 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.4552, allocations: 4 kB / 458.9 MB, free: 9.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.4554, allocations: 136.3 kB / 459 MB, free: 9.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4554, allocations: 0 / 459 MB, free: 9.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006559/0.456, allocations: 83.78 kB / 459.1 MB, free: 9.375 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.0003562/0.4564, allocations: 181.8 kB / 459.3 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.4569, allocations: 213 kB / 459.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.967e-06/0.4569, allocations: 0 / 459.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.4571, allocations: 152.9 kB / 459.6 MB, free: 8.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.4576, allocations: 33.94 kB / 459.6 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.4585, allocations: 317.1 kB / 460 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.459, allocations: 0.7587 MB / 460.7 MB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.4591, allocations: 23.36 kB / 460.7 MB, free: 7.602 MB / 394.7 MB Notification: Performance of SimCode: time 1.632e-06/0.4591, allocations: 0 / 460.7 MB, free: 7.602 MB / 394.7 MB Notification: Performance of Templates: time 0.007491/0.4666, allocations: 3.486 MB / 464.2 MB, free: 4.117 MB / 394.7 MB