Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 16 kB / 315 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3392, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5289, allocations: 94.17 MB / 464 MB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/0.5294, allocations: 107.9 kB / 464.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4349/0.9643, allocations: 24.04 MB / 488.1 MB, free: 92.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.9644, allocations: 0 / 488.1 MB, free: 92.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.9644, allocations: 5.531 kB / 488.1 MB, free: 92.53 MB / 394.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.001581/0.966, allocations: 0.7587 MB / 488.9 MB, free: 92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.966, allocations: 10.38 kB / 488.9 MB, free: 92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.9662, allocations: 54.59 kB / 489 MB, free: 91.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.9667, allocations: 311.4 kB / 489.3 MB, free: 91.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.9668, allocations: 49.66 kB / 489.3 MB, free: 91.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.9669, allocations: 53.45 kB / 489.4 MB, free: 91.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.9686, allocations: 0.7751 MB / 490.1 MB, free: 91.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.9687, allocations: 2.719 kB / 490.2 MB, free: 91.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.9688, allocations: 25.11 kB / 490.2 MB, free: 91.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/0.9689, allocations: 29.81 kB / 490.2 MB, free: 91.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.9705, allocations: 0.5717 MB / 490.8 MB, free: 91.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.9739, allocations: 1.69 MB / 492.5 MB, free: 90.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.9749, allocations: 312.5 kB / 492.8 MB, free: 90.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.975, allocations: 23.33 kB / 492.8 MB, free: 90.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.9751, allocations: 34.34 kB / 492.8 MB, free: 90.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.276e-06/0.9751, allocations: 7.734 kB / 492.8 MB, free: 90.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002192/0.9773, allocations: 0.767 MB / 493.6 MB, free: 90.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.9774, allocations: 106.2 kB / 493.7 MB, free: 89.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.9784, allocations: 0.6311 MB / 494.3 MB, free: 89.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.9785, allocations: 29.7 kB / 494.4 MB, free: 89.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.9787, allocations: 323.4 kB / 494.7 MB, free: 89.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.9787, allocations: 69.23 kB / 494.8 MB, free: 89.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.9788, allocations: 12.03 kB / 494.8 MB, free: 89.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.9789, allocations: 329.8 kB / 495.1 MB, free: 88.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.9796, allocations: 204.1 kB / 495.3 MB, free: 88.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/0.9804, allocations: 478 kB / 495.8 MB, free: 88.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.9813, allocations: 283.3 kB / 496 MB, free: 88.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.9813, allocations: 3.656 kB / 496 MB, free: 88.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001985/0.9833, allocations: 0.6892 MB / 496.7 MB, free: 87.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.9833, allocations: 9.719 kB / 496.7 MB, free: 87.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.9835, allocations: 47.97 kB / 496.8 MB, free: 87.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.9835, allocations: 12 kB / 496.8 MB, free: 87.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.984, allocations: 79.81 kB / 496.9 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.9841, allocations: 23.88 kB / 496.9 MB, free: 87.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/0.9848, allocations: 87.38 kB / 497 MB, free: 87.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.9849, allocations: 28 kB / 497 MB, free: 87.43 MB / 394.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 () * Number of clocked 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.0003889/0.9853, allocations: 261.4 kB / 497.3 MB, free: 87.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.9854, allocations: 51.3 kB / 497.3 MB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.987, allocations: 495.8 kB / 497.8 MB, free: 86.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.9871, allocations: 4 kB / 497.8 MB, free: 86.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.9871, allocations: 0 / 497.8 MB, free: 86.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9871, allocations: 4 kB / 497.8 MB, free: 86.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/0.988, allocations: 405.1 kB / 498.2 MB, free: 86.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001075/0.9881, allocations: 46.84 kB / 498.2 MB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.9884, allocations: 31.91 kB / 498.3 MB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.9884, allocations: 4 kB / 498.3 MB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.9885, allocations: 19.94 kB / 498.3 MB, free: 86.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.9885, allocations: 0 / 498.3 MB, free: 86.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9885, allocations: 0 / 498.3 MB, free: 86.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.99, allocations: 0.6351 MB / 498.9 MB, free: 85.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.9902, allocations: 136.4 kB / 499.1 MB, free: 85.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.9903, allocations: 3.984 kB / 499.1 MB, free: 85.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.9909, allocations: 31.91 kB / 499.1 MB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.991, allocations: 23.97 kB / 499.1 MB, free: 85.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.9911, allocations: 12 kB / 499.1 MB, free: 85.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006814/0.9918, allocations: 446.7 kB / 499.6 MB, free: 84.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9918, allocations: 0 / 499.6 MB, free: 84.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001183/0.993, allocations: 195.9 kB / 499.8 MB, free: 84.58 MB / 394.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 () * Number of clocked 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.0007008/0.9937, allocations: 289.3 kB / 0.4883 GB, free: 84.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.9955, allocations: 0.7753 MB / 0.4891 GB, free: 83.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9955, allocations: 0 / 0.4891 GB, free: 83.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.9963, allocations: 0.4896 MB / 0.4896 GB, free: 82.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.9972, allocations: 113.4 kB / 0.4897 GB, free: 82.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.9999, allocations: 1.115 MB / 0.4908 GB, free: 81.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1, allocations: 0.8935 MB / 0.4916 GB, free: 80.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/1.001, allocations: 39.42 kB / 0.4917 GB, free: 80.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/1.001, allocations: 0 / 0.4917 GB, free: 80.67 MB / 394.7 MB Notification: Performance of Templates: time 0.01946/1.02, allocations: 10.28 MB / 0.5017 GB, free: 70.43 MB / 394.7 MB