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.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,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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.993e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2648, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.3881, allocations: 79.89 MB / 399.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.3885, allocations: 91.94 kB / 400 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04037/0.4289, allocations: 9.597 MB / 409.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.4289, allocations: 0 / 409.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.4289, allocations: 8 kB / 409.6 MB, free: 6.789 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009367/0.4299, allocations: 0.4939 MB / 410.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4299, allocations: 16.03 kB / 410.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.43, allocations: 19.72 kB / 410.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4304, allocations: 227.8 kB / 410.4 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4304, allocations: 7.984 kB / 410.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.4305, allocations: 8 kB / 410.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003697/0.4309, allocations: 143.9 kB / 410.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.4313, allocations: 224.7 kB / 410.7 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4314, allocations: 0 / 410.7 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.4314, allocations: 4 kB / 410.7 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.4315, allocations: 15.69 kB / 410.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.4328, allocations: 0.7117 MB / 411.5 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.4334, allocations: 191.8 kB / 411.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4335, allocations: 74.47 kB / 411.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.4336, allocations: 8.031 kB / 411.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4336, allocations: 38.56 kB / 411.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.094e-06/0.4337, allocations: 0 / 411.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005591/0.4342, allocations: 161.3 kB / 411.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.4343, allocations: 106.8 kB / 412 MB, free: 4.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.4345, allocations: 169.8 kB / 412.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4346, allocations: 25.8 kB / 412.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4348, allocations: 210.6 kB / 412.4 MB, free: 3.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.4348, allocations: 43.36 kB / 412.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.4349, allocations: 0 / 412.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.435, allocations: 318.8 kB / 412.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4352, allocations: 55.91 kB / 412.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.4354, allocations: 89.89 kB / 412.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.4356, allocations: 72.05 kB / 413 MB, free: 3.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-06/0.4356, allocations: 3.938 kB / 413 MB, free: 3.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004686/0.4361, allocations: 177.4 kB / 413.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4361, allocations: 10.34 kB / 413.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.526e-05/0.4362, allocations: 12.14 kB / 413.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4362, allocations: 4 kB / 413.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4365, allocations: 35.97 kB / 413.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.4365, allocations: 15.88 kB / 413.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.4368, allocations: 31.81 kB / 413.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4369, allocations: 16 kB / 413.3 MB, free: 2.824 MB / 346.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.0001233/0.437, allocations: 113 kB / 413.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4371, allocations: 19.8 kB / 413.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.4376, allocations: 179.3 kB / 413.6 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.522e-06/0.4376, allocations: 4 kB / 413.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-06/0.4376, allocations: 0 / 413.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4377, allocations: 3.953 kB / 413.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.4382, allocations: 245.9 kB / 413.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/0.4383, allocations: 12 kB / 413.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.4385, allocations: 32.06 kB / 413.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.024e-06/0.4385, allocations: 7.938 kB / 413.9 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4386, allocations: 3.984 kB / 413.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.448e-06/0.4386, allocations: 4 kB / 413.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-06/0.4386, allocations: 0 / 413.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.4392, allocations: 442 kB / 414.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.4394, allocations: 112.9 kB / 414.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.4394, allocations: 4 kB / 414.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.4398, allocations: 19.98 kB / 414.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.4399, allocations: 23.92 kB / 414.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.4399, allocations: 4 kB / 414.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4401, allocations: 132.5 kB / 414.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.4401, allocations: 0 / 414.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006463/0.4407, allocations: 79.78 kB / 414.7 MB, free: 1.312 MB / 346.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.0005005/0.4413, allocations: 180.2 kB / 414.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006541/0.4419, allocations: 212.9 kB / 415.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.475e-06/0.442, allocations: 0 / 415.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.4422, allocations: 157 kB / 415.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.4427, allocations: 22.03 kB / 415.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/0.4436, allocations: 317.7 kB / 415.6 MB, free: 368 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.4441, allocations: 0.7665 MB / 416.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.4442, allocations: 11.44 kB / 416.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.762e-06/0.4443, allocations: 4 kB / 416.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Templates: time 0.008245/0.4525, allocations: 3.493 MB / 419.9 MB, free: 12.07 MB / 362.7 MB