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_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_overall_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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004475, allocations: 12 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2849, allocations: 48.7 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4142, allocations: 87.14 MB / 418.4 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4146, allocations: 103.9 kB / 418.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/0.516, allocations: 23.46 MB / 442 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.531e-06/0.516, allocations: 0 / 442 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.5161, allocations: 4 kB / 442 MB, free: 15.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001338/0.5174, allocations: 0.698 MB / 442.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5175, allocations: 8.031 kB / 442.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.5176, allocations: 55.34 kB / 442.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.5181, allocations: 306.3 kB / 443.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.5182, allocations: 49.25 kB / 443.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.5183, allocations: 55.98 kB / 443.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5199, allocations: 0.7364 MB / 443.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.52, allocations: 0 / 443.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.5201, allocations: 23.98 kB / 443.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/0.5202, allocations: 45.3 kB / 444 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.5219, allocations: 0.8053 MB / 444.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.5252, allocations: 1.535 MB / 446.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.5263, allocations: 456.4 kB / 446.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.5264, allocations: 12.2 kB / 446.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.5265, allocations: 34.8 kB / 446.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.495e-06/0.5265, allocations: 0 / 446.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001565/0.5281, allocations: 0.549 MB / 447.4 MB, free: 9.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5281, allocations: 55.41 kB / 447.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.529, allocations: 0.5241 MB / 447.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.5291, allocations: 29.7 kB / 448 MB, free: 9.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.5294, allocations: 306 kB / 448.3 MB, free: 9.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5295, allocations: 110.5 kB / 448.4 MB, free: 8.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.5296, allocations: 16 kB / 448.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.5298, allocations: 334.8 kB / 448.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.5303, allocations: 192.9 kB / 448.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.531, allocations: 433.2 kB / 449.3 MB, free: 7.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.5317, allocations: 275.6 kB / 449.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.5317, allocations: 4 kB / 449.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001592/0.5333, allocations: 0.6499 MB / 450.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5333, allocations: 8.625 kB / 450.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.5334, allocations: 8.844 kB / 450.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.5334, allocations: 16 kB / 450.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.5348, allocations: 247.7 kB / 450.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.5408, allocations: 7.31 MB / 457.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.5415, allocations: 83.28 kB / 457.9 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.5416, allocations: 36.09 kB / 457.9 MB, free: 14.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004558/0.542, allocations: 261.4 kB / 458.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5422, allocations: 47.44 kB / 458.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.5438, allocations: 0.5683 MB / 458.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-06/0.5438, allocations: 0 / 458.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-06/0.5438, allocations: 7.875 kB / 458.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.5438, allocations: 7.953 kB / 458.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.5447, allocations: 429.2 kB / 459.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-06/0.5447, allocations: 0 / 459.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.546, allocations: 203.8 kB / 459.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-06/0.5461, allocations: 0 / 459.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.5461, allocations: 11.98 kB / 459.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00576/0.5519, allocations: 7.298 MB / 466.8 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.725e-06/0.5519, allocations: 8.234 kB / 466.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5531, allocations: 0.5033 MB / 467.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.5534, allocations: 128.4 kB / 467.4 MB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.5535, allocations: 4 kB / 467.4 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.5538, allocations: 23.92 kB / 467.4 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.5539, allocations: 23.95 kB / 467.4 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.554, allocations: 19.95 kB / 467.5 MB, free: 5.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006629/0.5546, allocations: 402.8 kB / 467.9 MB, free: 4.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5547, allocations: 0 / 467.9 MB, free: 4.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009961/0.5557, allocations: 187.9 kB / 468 MB, free: 4.484 MB / 394.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006244/0.5563, allocations: 276.8 kB / 468.3 MB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.5585, allocations: 0.5798 MB / 468.9 MB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.231e-06/0.5585, allocations: 3.938 kB / 468.9 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.5599, allocations: 312.1 kB / 469.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.5607, allocations: 109.8 kB / 469.3 MB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.5629, allocations: 1.117 MB / 470.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.5637, allocations: 0.9054 MB / 471.3 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.5639, allocations: 43.42 kB / 471.4 MB, free: 1.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.798e-06/0.5639, allocations: 4 kB / 471.4 MB, free: 1.086 MB / 394.7 MB Notification: Performance of Templates: time 0.3326/0.8965, allocations: 31.76 MB / 0.4913 GB, free: 104.4 MB / 394.7 MB