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.443/2.443, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004368, allocations: 8 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4049, allocations: 84.97 MB / 454.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.4053, allocations: 99.94 kB / 454.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02786/0.4332, allocations: 6.672 MB / 461 MB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.6e-06/0.4332, allocations: 0 / 461 MB, free: 14.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4333, allocations: 7.938 kB / 461 MB, free: 14.8 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006583/0.4339, allocations: 435 kB / 461.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.434, allocations: 12.03 kB / 461.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.4341, allocations: 15.86 kB / 461.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.4343, allocations: 198.8 kB / 461.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4343, allocations: 4 kB / 461.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.4344, allocations: 12 kB / 461.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.4348, allocations: 169.5 kB / 461.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4349, allocations: 8 kB / 461.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.4349, allocations: 4 kB / 461.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.435, allocations: 15.98 kB / 461.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.4355, allocations: 183.7 kB / 462.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009755/0.4364, allocations: 496.1 kB / 462.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.437, allocations: 154.5 kB / 462.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.437, allocations: 8.125 kB / 462.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4371, allocations: 34.56 kB / 462.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.559e-06/0.4371, allocations: 0 / 462.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007276/0.4378, allocations: 217.6 kB / 463 MB, free: 12.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4379, allocations: 51.41 kB / 463 MB, free: 12.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4381, allocations: 186.6 kB / 463.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4382, allocations: 29.64 kB / 463.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4383, allocations: 178.3 kB / 463.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.4384, allocations: 31.55 kB / 463.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.4384, allocations: 4 kB / 463.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4385, allocations: 314.8 kB / 463.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.4388, allocations: 59.94 kB / 463.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.439, allocations: 70.53 kB / 463.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.4392, allocations: 71.88 kB / 463.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-06/0.4392, allocations: 0 / 463.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000485/0.4397, allocations: 157.5 kB / 464.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4398, allocations: 12.06 kB / 464.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.4398, allocations: 0 / 464.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4398, allocations: 0 / 464.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.4402, allocations: 51.89 kB / 464.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.4413, allocations: 1.223 MB / 465.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.4415, allocations: 19.89 kB / 465.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.4415, allocations: 4 kB / 465.4 MB, free: 10.16 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.0001926/0.4417, allocations: 149.6 kB / 465.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.4418, allocations: 15.81 kB / 465.6 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.4424, allocations: 191 kB / 465.7 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.884e-06/0.4424, allocations: 0 / 465.7 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.827e-06/0.4424, allocations: 4 kB / 465.7 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4424, allocations: 0 / 465.7 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.4428, allocations: 217.7 kB / 466 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.396e-06/0.4428, allocations: 7.953 kB / 466 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.4431, allocations: 43.97 kB / 466 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.577e-06/0.4432, allocations: 0 / 466 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.4432, allocations: 11.98 kB / 466 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009452/0.4442, allocations: 1.219 MB / 467.2 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.4442, allocations: 96 / 467.2 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.4447, allocations: 267.1 kB / 467.5 MB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.4448, allocations: 93.02 kB / 467.6 MB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.4449, allocations: 4 kB / 467.6 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4451, allocations: 7.984 kB / 467.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.4452, allocations: 15.94 kB / 467.6 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4452, allocations: 4 kB / 467.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4454, allocations: 145.2 kB / 467.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.4454, allocations: 4 kB / 467.8 MB, free: 7.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004431/0.4458, allocations: 43.94 kB / 467.8 MB, free: 7.59 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.0002951/0.4462, allocations: 151.2 kB / 468 MB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006731/0.4468, allocations: 151.8 kB / 468.1 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4469, allocations: 128 / 468.1 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.4473, allocations: 83.92 kB / 468.2 MB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4476, allocations: 24.58 kB / 468.2 MB, free: 7.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.4484, allocations: 421.6 kB / 468.6 MB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.4489, allocations: 0.7318 MB / 469.4 MB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.449, allocations: 15.44 kB / 469.4 MB, free: 5.965 MB / 394.7 MB Notification: Performance of SimCode: time 1.631e-06/0.449, allocations: 0 / 469.4 MB, free: 5.965 MB / 394.7 MB Notification: Performance of Templates: time 0.007319/0.4563, allocations: 3.488 MB / 472.9 MB, free: 2.484 MB / 394.7 MB