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_overall.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.876e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2583, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.386, allocations: 87.07 MB / 407.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.3864, allocations: 95.92 kB / 407.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09705/0.4834, allocations: 23.82 MB / 431 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4835, allocations: 0 / 431 MB, free: 1.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.4835, allocations: 12 kB / 431 MB, free: 1.234 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001339/0.4849, allocations: 0.7363 MB / 431.8 MB, free: 464 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4849, allocations: 8.031 kB / 431.8 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.485, allocations: 59.34 kB / 431.8 MB, free: 396 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.4856, allocations: 302.3 kB / 432.1 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.4856, allocations: 16 kB / 432.1 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.4857, allocations: 35.98 kB / 432.2 MB, free: 0 / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009765/0.4867, allocations: 454.3 kB / 432.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.488, allocations: 0.6501 MB / 433.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.488, allocations: 3.938 kB / 433.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.4881, allocations: 0 / 433.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/0.4881, allocations: 33.31 kB / 433.3 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.4911, allocations: 1.515 MB / 434.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.4917, allocations: 263.5 kB / 435.1 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.492, allocations: 126.4 kB / 435.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.492, allocations: 12.12 kB / 435.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4921, allocations: 46.42 kB / 435.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 5.632e-06/0.4921, allocations: 0 / 435.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008343/0.493, allocations: 291.6 kB / 435.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.493, allocations: 110.9 kB / 435.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.4935, allocations: 301 kB / 435.9 MB, free: 12.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.4936, allocations: 33.7 kB / 436 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.4938, allocations: 365.8 kB / 436.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.4939, allocations: 67.02 kB / 436.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.494, allocations: 3.938 kB / 436.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4942, allocations: 334.8 kB / 436.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.4945, allocations: 153 kB / 436.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.4951, allocations: 420.4 kB / 437.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.4956, allocations: 227.7 kB / 437.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-06/0.4956, allocations: 0 / 437.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001257/0.4969, allocations: 0.5399 MB / 438.1 MB, free: 9.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4969, allocations: 8 kB / 438.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.4971, allocations: 51.95 kB / 438.1 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.4971, allocations: 12.75 kB / 438.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.4975, allocations: 83.83 kB / 438.2 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/0.4976, allocations: 19.92 kB / 438.2 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.4981, allocations: 43.73 kB / 438.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.4982, allocations: 35.98 kB / 438.3 MB, free: 9.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001992/0.4984, allocations: 155.8 kB / 438.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4985, allocations: 27.62 kB / 438.5 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.4996, allocations: 428.7 kB / 438.9 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4997, allocations: 4 kB / 438.9 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.782e-06/0.4997, allocations: 4 kB / 438.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.284e-06/0.4997, allocations: 3.938 kB / 438.9 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/0.5005, allocations: 369.8 kB / 439.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-05/0.5006, allocations: 39.97 kB / 439.3 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.5008, allocations: 35.97 kB / 439.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.876e-06/0.5009, allocations: 0 / 439.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.5009, allocations: 11.98 kB / 439.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.735e-06/0.5009, allocations: 4 kB / 439.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5009, allocations: 0 / 439.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.5018, allocations: 0.5599 MB / 439.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.5021, allocations: 156.6 kB / 440.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.5022, allocations: 0 / 440.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.5026, allocations: 27.91 kB / 440.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5027, allocations: 27.97 kB / 440.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.5027, allocations: 8 kB / 440.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.503, allocations: 216.6 kB / 440.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.5031, allocations: 0 / 440.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001148/0.5042, allocations: 211.3 kB / 440.6 MB, free: 7.211 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0006643/0.5049, allocations: 302.4 kB / 440.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.506, allocations: 0.6625 MB / 441.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.506, allocations: 0 / 441.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.5066, allocations: 453.8 kB / 442 MB, free: 5.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.5071, allocations: 42.08 kB / 442 MB, free: 5.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.5091, allocations: 0.7063 MB / 442.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.5098, allocations: 0.9043 MB / 443.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.5099, allocations: 23.44 kB / 443.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of SimCode: time 2.033e-06/0.5099, allocations: 0 / 443.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of Templates: time 0.2451/0.7551, allocations: 8.491 MB / 452.1 MB, free: 106.9 MB / 378.7 MB