Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 12 kB / 283.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3405, allocations: 48.69 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.5238, allocations: 79.33 MB / 411.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/0.5242, allocations: 99.94 kB / 411.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05704/0.5813, allocations: 11.83 MB / 423.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5813, allocations: 0 / 423.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.5813, allocations: 8 kB / 423.1 MB, free: 3.082 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009833/0.5823, allocations: 0.5031 MB / 423.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.5824, allocations: 12.03 kB / 423.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.5825, allocations: 27.7 kB / 423.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.5829, allocations: 238.6 kB / 423.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5829, allocations: 24.55 kB / 423.9 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.583, allocations: 24 kB / 423.9 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.584, allocations: 361.3 kB / 424.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5841, allocations: 4 kB / 424.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.5841, allocations: 12 kB / 424.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.5842, allocations: 24.64 kB / 424.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5852, allocations: 378.3 kB / 424.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.5873, allocations: 0.854 MB / 425.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.5882, allocations: 262.2 kB / 425.8 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/0.5883, allocations: 19.97 kB / 425.8 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5883, allocations: 38.5 kB / 425.8 MB, free: 168 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.216e-06/0.5883, allocations: 0 / 425.8 MB, free: 168 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001324/0.5897, allocations: 345.1 kB / 426.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5897, allocations: 59.39 kB / 426.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.5903, allocations: 334.9 kB / 426.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.5904, allocations: 29.7 kB / 426.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.5905, allocations: 218.5 kB / 426.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.5906, allocations: 55.2 kB / 426.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.5907, allocations: 11.94 kB / 426.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5908, allocations: 322.8 kB / 427.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.5912, allocations: 100.4 kB / 427.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.5917, allocations: 188 kB / 427.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.5922, allocations: 131.8 kB / 427.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.5922, allocations: 4 kB / 427.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001063/0.5933, allocations: 329.1 kB / 427.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5933, allocations: 8 kB / 427.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5934, allocations: 384 / 427.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.5934, allocations: 15.95 kB / 427.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5945, allocations: 123.8 kB / 428.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.5972, allocations: 3.653 MB / 431.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.5977, allocations: 39.67 kB / 431.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.5977, allocations: 8 kB / 431.8 MB, free: 10 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.598, allocations: 177.7 kB / 431.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.5981, allocations: 23.72 kB / 432 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.5994, allocations: 348.3 kB / 432.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5994, allocations: 0 / 432.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5994, allocations: 7.984 kB / 432.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5994, allocations: 4 kB / 432.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.6, allocations: 289.4 kB / 432.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6, allocations: 0 / 432.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009393/0.6009, allocations: 111.8 kB / 432.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.601, allocations: 4 kB / 432.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.601, allocations: 0 / 432.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.6037, allocations: 3.649 MB / 436.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.6038, allocations: 0 / 436.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009556/0.6047, allocations: 375.6 kB / 436.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.6049, allocations: 100.8 kB / 436.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.605, allocations: 4 kB / 436.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.6053, allocations: 19.94 kB / 436.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.6054, allocations: 15.98 kB / 436.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.6054, allocations: 4 kB / 436.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004084/0.6058, allocations: 245.9 kB / 437.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6058, allocations: 0 / 437.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.6064, allocations: 75.94 kB / 437.2 MB, free: 4.344 MB / 362.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/0.6067, allocations: 155.1 kB / 437.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.6084, allocations: 340.2 kB / 437.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6084, allocations: 0 / 437.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6095, allocations: 187.8 kB / 437.8 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.6101, allocations: 64.22 kB / 437.9 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.6116, allocations: 0.6677 MB / 438.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.6121, allocations: 0.7989 MB / 439.4 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.6122, allocations: 27.44 kB / 439.4 MB, free: 2.055 MB / 362.7 MB Notification: Performance of SimCode: time 3.246e-06/0.6122, allocations: 0 / 439.4 MB, free: 2.055 MB / 362.7 MB Notification: Performance of Templates: time 0.0214/0.6337, allocations: 10.56 MB / 450 MB, free: 7.5 MB / 378.7 MB