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_KC.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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 224.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 8 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.0863, allocations: 48.71 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.4121, allocations: 78.59 MB / 409.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.4125, allocations: 95.94 kB / 410 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0276/0.4401, allocations: 6.678 MB / 416.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.424e-06/0.4402, allocations: 0 / 416.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.4402, allocations: 7.938 kB / 416.7 MB, free: 15.77 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006572/0.4409, allocations: 427.1 kB / 417.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4409, allocations: 8.031 kB / 417.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.441, allocations: 15.81 kB / 417.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.4413, allocations: 203.4 kB / 417.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4413, allocations: 12 kB / 417.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4413, allocations: 8 kB / 417.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.4418, allocations: 177.5 kB / 417.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4418, allocations: 0 / 417.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4419, allocations: 4 kB / 417.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.4419, allocations: 12.48 kB / 417.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.4424, allocations: 175.9 kB / 417.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/0.4434, allocations: 0.4922 MB / 418.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.444, allocations: 154.5 kB / 418.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.444, allocations: 4.031 kB / 418.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4441, allocations: 34.69 kB / 418.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.673e-06/0.4441, allocations: 0 / 418.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007345/0.4448, allocations: 217.6 kB / 418.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4449, allocations: 51.41 kB / 418.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.4452, allocations: 182.8 kB / 418.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.4452, allocations: 29.64 kB / 418.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4453, allocations: 186.2 kB / 419 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.4454, allocations: 27.56 kB / 419 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-06/0.4454, allocations: 0 / 419 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4456, allocations: 322.8 kB / 419.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.4458, allocations: 47.95 kB / 419.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.446, allocations: 78.52 kB / 419.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.4463, allocations: 63.89 kB / 419.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.4463, allocations: 7.953 kB / 419.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005079/0.4468, allocations: 169.4 kB / 419.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4468, allocations: 8 kB / 419.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-06/0.4469, allocations: 0 / 419.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4469, allocations: 0 / 419.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.4473, allocations: 56.02 kB / 419.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.4483, allocations: 1.219 MB / 421 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4485, allocations: 20.19 kB / 421 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.4486, allocations: 8 kB / 421 MB, free: 11.13 MB / 346.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.000189/0.4488, allocations: 141.1 kB / 421.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.4488, allocations: 15.81 kB / 421.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.4494, allocations: 198.9 kB / 421.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.711e-06/0.4494, allocations: 3.953 kB / 421.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-06/0.4495, allocations: 4 kB / 421.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4495, allocations: 0 / 421.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.4498, allocations: 221.6 kB / 421.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-06/0.4499, allocations: 0 / 421.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.4502, allocations: 43.95 kB / 421.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.073e-06/0.4502, allocations: 4 kB / 421.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4503, allocations: 4 kB / 421.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000996/0.4513, allocations: 1.219 MB / 422.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.126e-06/0.4513, allocations: 96 / 422.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.4519, allocations: 267.3 kB / 423.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.452, allocations: 92.91 kB / 423.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.452, allocations: 4 kB / 423.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.4522, allocations: 12 kB / 423.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.4523, allocations: 7.984 kB / 423.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4523, allocations: 4 kB / 423.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.4525, allocations: 153.1 kB / 423.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.65e-07/0.4525, allocations: 0 / 423.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.4529, allocations: 47.92 kB / 423.4 MB, free: 8.57 MB / 346.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.0002929/0.4533, allocations: 146.6 kB / 423.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.4539, allocations: 155.7 kB / 423.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.37e-06/0.4539, allocations: 0 / 423.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.4543, allocations: 84.06 kB / 423.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.4546, allocations: 28.53 kB / 423.8 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.4555, allocations: 425.5 kB / 424.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.456, allocations: 0.7279 MB / 425 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.456, allocations: 15.44 kB / 425 MB, free: 6.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.506e-06/0.4561, allocations: 0 / 425 MB, free: 6.938 MB / 346.7 MB Notification: Performance of Templates: time 0.007194/0.4633, allocations: 3.473 MB / 428.5 MB, free: 3.465 MB / 346.7 MB