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.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,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.336/2.336, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 12 kB / 315 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3496, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.5331, allocations: 87 MB / 456.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004318/0.5336, allocations: 99.94 kB / 456.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04534/0.579, allocations: 9.671 MB / 466.6 MB, free: 9.766 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.579, allocations: 0 / 466.6 MB, free: 9.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.579, allocations: 4 kB / 466.6 MB, free: 9.762 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.001188/0.5802, allocations: 0.5295 MB / 467.1 MB, free: 9.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5803, allocations: 12.03 kB / 467.1 MB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.5804, allocations: 19.72 kB / 467.2 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.5808, allocations: 226.6 kB / 467.4 MB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.5808, allocations: 12 kB / 467.4 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.5809, allocations: 23.94 kB / 467.4 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.5819, allocations: 288.3 kB / 467.7 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5819, allocations: 4.344 kB / 467.7 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.582, allocations: 7.953 kB / 467.7 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.582, allocations: 12 kB / 467.7 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.5831, allocations: 251.5 kB / 468 MB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.5848, allocations: 0.7773 MB / 468.7 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.5858, allocations: 235.7 kB / 469 MB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.5859, allocations: 4 kB / 469 MB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5859, allocations: 42.58 kB / 469 MB, free: 7.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/0.5859, allocations: 4 kB / 469 MB, free: 7.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001852/0.5878, allocations: 0.567 MB / 469.6 MB, free: 6.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.5879, allocations: 118.8 kB / 469.7 MB, free: 6.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.5884, allocations: 270.6 kB / 470 MB, free: 6.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.5884, allocations: 29.7 kB / 470 MB, free: 6.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.5886, allocations: 198.3 kB / 470.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.5887, allocations: 43.34 kB / 470.2 MB, free: 5.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.5887, allocations: 4 kB / 470.2 MB, free: 5.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5888, allocations: 322.8 kB / 470.6 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.5894, allocations: 95.91 kB / 470.7 MB, free: 5.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.5899, allocations: 137.1 kB / 470.8 MB, free: 5.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.5905, allocations: 111.8 kB / 470.9 MB, free: 5.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5905, allocations: 0 / 470.9 MB, free: 5.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001182/0.5917, allocations: 269.4 kB / 471.2 MB, free: 4.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5917, allocations: 10.03 kB / 471.2 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/0.5918, allocations: 11.98 kB / 471.2 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.5918, allocations: 7.938 kB / 471.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.5922, allocations: 39.97 kB / 471.2 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5922, allocations: 0 / 471.2 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.5926, allocations: 47.69 kB / 471.3 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.5927, allocations: 15.94 kB / 471.3 MB, free: 4.73 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 () * Number of clocked 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.0002485/0.5929, allocations: 153.8 kB / 471.4 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5931, allocations: 19.8 kB / 471.5 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008869/0.594, allocations: 239.2 kB / 471.7 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.594, allocations: 0 / 471.7 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.594, allocations: 0 / 471.7 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.594, allocations: 4 kB / 471.7 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.5947, allocations: 265.4 kB / 472 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/0.5947, allocations: 11.98 kB / 472 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.595, allocations: 35.97 kB / 472 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.5951, allocations: 4 kB / 472 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.5951, allocations: 8 kB / 472 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5951, allocations: 0 / 472 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5951, allocations: 3.984 kB / 472 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.5964, allocations: 0.4976 MB / 472.5 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.5966, allocations: 108.8 kB / 472.6 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.5966, allocations: 0 / 472.6 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5971, allocations: 23.97 kB / 472.6 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.5972, allocations: 15.98 kB / 472.7 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.5972, allocations: 8 kB / 472.7 MB, free: 3.246 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.5976, allocations: 201.9 kB / 472.9 MB, free: 3.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5976, allocations: 0 / 472.9 MB, free: 3.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006605/0.5983, allocations: 79.92 kB / 472.9 MB, free: 2.973 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 () * Number of clocked 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.0004237/0.5987, allocations: 179.5 kB / 473.1 MB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.5999, allocations: 305.1 kB / 473.4 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5999, allocations: 0 / 473.4 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.6005, allocations: 193 kB / 473.6 MB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.6011, allocations: 40.67 kB / 473.6 MB, free: 2.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.6025, allocations: 0.5676 MB / 474.2 MB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.603, allocations: 0.7596 MB / 475 MB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.6031, allocations: 23.42 kB / 475 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6032, allocations: 0 / 475 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of Templates: time 0.3114/0.9145, allocations: 3.882 MB / 478.9 MB, free: 96.85 MB / 394.7 MB