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.StraightPipe.kc_turbulent_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.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.884/1.884, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.000447, allocations: 11.98 kB / 282.6 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09225, allocations: 48.7 MB / 331.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4192, allocations: 79.32 MB / 410.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.4195, allocations: 99.92 kB / 410.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05089/0.4705, allocations: 11.83 MB / 422.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.399e-06/0.4705, allocations: 0 / 422.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.4705, allocations: 4 kB / 422.5 MB, free: 9.805 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.0008006/0.4713, allocations: 0.5071 MB / 423.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4714, allocations: 8.031 kB / 423.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.4715, allocations: 23.72 kB / 423.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.4718, allocations: 254 kB / 423.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.4719, allocations: 16.56 kB / 423.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.4719, allocations: 28 kB / 423.4 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.4728, allocations: 361.2 kB / 423.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4728, allocations: 4 kB / 423.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.4728, allocations: 12 kB / 423.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.4729, allocations: 24.64 kB / 423.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.4738, allocations: 382.2 kB / 424.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.4755, allocations: 0.8463 MB / 425 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.4762, allocations: 264 kB / 425.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.4763, allocations: 15.98 kB / 425.3 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4763, allocations: 34.52 kB / 425.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 5.82e-06/0.4763, allocations: 0 / 425.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001023/0.4774, allocations: 350.1 kB / 425.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4774, allocations: 51.41 kB / 425.7 MB, free: 6.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.4779, allocations: 306 kB / 426 MB, free: 6.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.4779, allocations: 29.7 kB / 426 MB, free: 6.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.4781, allocations: 222.4 kB / 426.2 MB, free: 5.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.4782, allocations: 59.19 kB / 426.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.4782, allocations: 8 kB / 426.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4784, allocations: 322.8 kB / 426.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.4787, allocations: 96.38 kB / 426.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.4791, allocations: 192 kB / 426.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.4795, allocations: 132.4 kB / 427 MB, free: 5.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4795, allocations: 0 / 427 MB, free: 5.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008856/0.4804, allocations: 337 kB / 427.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4804, allocations: 4.375 kB / 427.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4805, allocations: 11.95 kB / 427.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4805, allocations: 4 kB / 427.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.4813, allocations: 127.8 kB / 427.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.4842, allocations: 3.653 MB / 431.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.4846, allocations: 35.67 kB / 431.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.4846, allocations: 12 kB / 431.2 MB, free: 0.7656 MB / 346.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.0002863/0.4849, allocations: 180.7 kB / 431.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.485, allocations: 31.81 kB / 431.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009365/0.486, allocations: 335.5 kB / 431.7 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.798e-06/0.486, allocations: 7.984 kB / 431.7 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.486, allocations: 0 / 431.7 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.165e-06/0.486, allocations: 0 / 431.7 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.4866, allocations: 293.4 kB / 432 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.4866, allocations: 0 / 432 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.4873, allocations: 107.9 kB / 432.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.755e-06/0.4873, allocations: 3.984 kB / 432.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.4874, allocations: 8 kB / 432.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.4903, allocations: 3.653 MB / 435.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.53e-06/0.4903, allocations: 0 / 435.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.4911, allocations: 367.5 kB / 436.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4912, allocations: 104.8 kB / 436.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.4913, allocations: 4 kB / 436.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.4915, allocations: 19.89 kB / 436.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.4916, allocations: 19.97 kB / 436.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.4917, allocations: 4 kB / 436.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003642/0.492, allocations: 241.9 kB / 436.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.4921, allocations: 0 / 436.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005623/0.4926, allocations: 75.94 kB / 436.6 MB, free: 11.1 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.0003149/0.493, allocations: 151.8 kB / 436.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4942, allocations: 308.3 kB / 437.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4942, allocations: 0 / 437.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.495, allocations: 172.5 kB / 437.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4954, allocations: 60.78 kB / 437.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4968, allocations: 0.6627 MB / 438 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.4974, allocations: 0.7951 MB / 438.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.4975, allocations: 23.44 kB / 438.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of SimCode: time 1.604e-06/0.4976, allocations: 0 / 438.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of Templates: time 0.01753/0.5151, allocations: 10.57 MB / 449.3 MB, free: 14.3 MB / 378.7 MB