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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.961/1.961, allocations: 209.3 MB / 224.9 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.000444, allocations: 8 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2838, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4027, allocations: 80.65 MB / 411.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.4031, allocations: 91.94 kB / 412 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03967/0.4428, allocations: 9.678 MB / 421.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 5e-06/0.4428, allocations: 7.938 kB / 421.7 MB, free: 3.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.4428, allocations: 7.938 kB / 421.7 MB, free: 3.918 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.0009747/0.4438, allocations: 0.5218 MB / 422.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4439, allocations: 12.03 kB / 422.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.444, allocations: 23.72 kB / 422.3 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.4443, allocations: 223.8 kB / 422.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4443, allocations: 12 kB / 422.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.4444, allocations: 15.98 kB / 422.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.4451, allocations: 296.5 kB / 422.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4452, allocations: 0 / 422.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.4452, allocations: 8 kB / 422.8 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/0.4453, allocations: 19.73 kB / 422.8 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.446, allocations: 243.5 kB / 423.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.4475, allocations: 0.7812 MB / 423.9 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.4482, allocations: 243.7 kB / 424.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.4483, allocations: 8 kB / 424.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4483, allocations: 30.56 kB / 424.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.801e-06/0.4484, allocations: 0 / 424.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001427/0.4498, allocations: 0.5789 MB / 424.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.4499, allocations: 106.8 kB / 424.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.4503, allocations: 257.6 kB / 425.1 MB, free: 284 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4503, allocations: 29.7 kB / 425.1 MB, free: 248 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4505, allocations: 194.3 kB / 425.3 MB, free: 52 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.4506, allocations: 43.36 kB / 425.3 MB, free: 8 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.4506, allocations: 8.031 kB / 425.3 MB, free: 0 / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4508, allocations: 314.8 kB / 425.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.4511, allocations: 95.84 kB / 425.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.4515, allocations: 141 kB / 425.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.4519, allocations: 107.9 kB / 426 MB, free: 15.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.452, allocations: 0 / 426 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008896/0.4529, allocations: 277.3 kB / 426.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4529, allocations: 4 kB / 426.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/0.4529, allocations: 15.98 kB / 426.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.453, allocations: 11.95 kB / 426.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.4533, allocations: 44.03 kB / 426.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4533, allocations: 3.984 kB / 426.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.4536, allocations: 31.83 kB / 426.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.4536, allocations: 12 kB / 426.4 MB, free: 14.93 MB / 362.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.0002109/0.4538, allocations: 150.2 kB / 426.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.454, allocations: 23.72 kB / 426.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.4547, allocations: 235.1 kB / 426.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4547, allocations: 4 kB / 426.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4547, allocations: 3.953 kB / 426.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.712e-06/0.4547, allocations: 0 / 426.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.4553, allocations: 273.4 kB / 427.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.4554, allocations: 7.984 kB / 427.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.4556, allocations: 39.97 kB / 427.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.285e-06/0.4556, allocations: 0 / 427.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.4557, allocations: 7.984 kB / 427.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.795e-06/0.4557, allocations: 3.938 kB / 427.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.302e-06/0.4557, allocations: 0 / 427.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.4567, allocations: 0.5244 MB / 427.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.4569, allocations: 116.8 kB / 427.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.457, allocations: 7.953 kB / 427.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4573, allocations: 27.97 kB / 427.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.4574, allocations: 15.98 kB / 427.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.4575, allocations: 4 kB / 427.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.4578, allocations: 209.9 kB / 428 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.4578, allocations: 4 kB / 428 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006539/0.4584, allocations: 75.94 kB / 428.1 MB, free: 13.11 MB / 362.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.0003652/0.4588, allocations: 179.1 kB / 428.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008946/0.4597, allocations: 300.9 kB / 428.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.33e-06/0.4598, allocations: 0 / 428.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.4602, allocations: 193.3 kB / 428.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.4607, allocations: 40.66 kB / 428.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4619, allocations: 0.5613 MB / 429.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.4625, allocations: 0.7635 MB / 430.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.4626, allocations: 15.44 kB / 430.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4626, allocations: 0 / 430.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.008259/0.4708, allocations: 3.896 MB / 434 MB, free: 7.078 MB / 362.7 MB