Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.396/2.396, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007674/0.0007677, allocations: 8 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2988, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4395, allocations: 94.19 MB / 463.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.4399, allocations: 111.8 kB / 463.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3764/0.8163, allocations: 24.03 MB / 487.6 MB, free: 94.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.82e-06/0.8164, allocations: 0 / 487.6 MB, free: 94.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.8164, allocations: 3.875 kB / 487.6 MB, free: 94.8 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.001142/0.8175, allocations: 0.7605 MB / 488.4 MB, free: 94.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.8176, allocations: 15.44 kB / 488.4 MB, free: 94.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.8177, allocations: 54.25 kB / 488.5 MB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.8181, allocations: 303.5 kB / 488.7 MB, free: 93.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.8182, allocations: 39.84 kB / 488.8 MB, free: 93.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.8183, allocations: 56.36 kB / 488.8 MB, free: 93.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.8196, allocations: 0.7774 MB / 489.6 MB, free: 93.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.8196, allocations: 0 / 489.6 MB, free: 93.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.8197, allocations: 23.89 kB / 489.6 MB, free: 93.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.8198, allocations: 32.84 kB / 489.7 MB, free: 93.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8211, allocations: 0.5739 MB / 490.2 MB, free: 93.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.8237, allocations: 1.689 MB / 491.9 MB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.8244, allocations: 312.4 kB / 492.2 MB, free: 92.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.8245, allocations: 19.25 kB / 492.3 MB, free: 92.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.8245, allocations: 38.22 kB / 492.3 MB, free: 92.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.698e-06/0.8245, allocations: 4 kB / 492.3 MB, free: 92.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001738/0.8263, allocations: 0.7665 MB / 493.1 MB, free: 91.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.8263, allocations: 113.5 kB / 493.2 MB, free: 91.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.8271, allocations: 0.5707 MB / 493.8 MB, free: 91.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.8271, allocations: 29.7 kB / 493.8 MB, free: 91.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.8273, allocations: 324.1 kB / 494.1 MB, free: 90.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.8274, allocations: 67.09 kB / 494.2 MB, free: 90.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.8274, allocations: 12 kB / 494.2 MB, free: 90.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.8275, allocations: 330.8 kB / 494.5 MB, free: 90.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.828, allocations: 204.9 kB / 494.7 MB, free: 90.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.8286, allocations: 465.4 kB / 495.2 MB, free: 89.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.8292, allocations: 287.6 kB / 495.4 MB, free: 89.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.099e-06/0.8292, allocations: 4 kB / 495.4 MB, free: 89.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001486/0.8307, allocations: 0.6783 MB / 496.1 MB, free: 88.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.8307, allocations: 19.94 kB / 496.1 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.814e-05/0.8308, allocations: 47.97 kB / 496.2 MB, free: 88.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.8309, allocations: 16.5 kB / 496.2 MB, free: 88.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.8312, allocations: 75.83 kB / 496.3 MB, free: 88.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.8313, allocations: 23.86 kB / 496.3 MB, free: 88.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.8319, allocations: 87.28 kB / 496.4 MB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.832, allocations: 36 kB / 496.4 MB, free: 88.39 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.0003196/0.8323, allocations: 257.5 kB / 496.7 MB, free: 88.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.8325, allocations: 51.34 kB / 496.7 MB, free: 88.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.8336, allocations: 485.2 kB / 497.2 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.8337, allocations: 11.98 kB / 497.2 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.111e-06/0.8337, allocations: 3.938 kB / 497.2 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-06/0.8337, allocations: 0 / 497.2 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.8345, allocations: 417.1 kB / 497.6 MB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.598e-05/0.8346, allocations: 35.97 kB / 497.6 MB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.8348, allocations: 34.72 kB / 497.7 MB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.467e-06/0.8348, allocations: 0 / 497.7 MB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.8349, allocations: 15.98 kB / 497.7 MB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-06/0.8349, allocations: 3.953 kB / 497.7 MB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.542e-06/0.8349, allocations: 4 kB / 497.7 MB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.836, allocations: 0.6612 MB / 498.4 MB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.8362, allocations: 128.4 kB / 498.5 MB, free: 86.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.455e-05/0.8363, allocations: 4 kB / 498.5 MB, free: 86.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.8367, allocations: 31.97 kB / 498.5 MB, free: 86.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.8368, allocations: 27.91 kB / 498.6 MB, free: 86.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.8369, allocations: 16 kB / 498.6 MB, free: 86.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005774/0.8375, allocations: 442.7 kB / 499 MB, free: 85.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.8375, allocations: 0 / 499 MB, free: 85.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001111/0.8386, allocations: 195.9 kB / 499.2 MB, free: 85.51 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.0005919/0.8392, allocations: 291.7 kB / 499.5 MB, free: 85.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.8405, allocations: 0.7715 MB / 0.4885 GB, free: 84.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.8406, allocations: 0 / 0.4885 GB, free: 84.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.8411, allocations: 0.4885 MB / 0.489 GB, free: 83.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.8419, allocations: 110.4 kB / 0.4891 GB, free: 83.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.8441, allocations: 1.116 MB / 0.4902 GB, free: 82.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.8446, allocations: 0.8935 MB / 0.4911 GB, free: 81.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.8447, allocations: 39.42 kB / 0.4911 GB, free: 81.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.638e-06/0.8447, allocations: 0 / 0.4911 GB, free: 81.62 MB / 394.7 MB Notification: Performance of Templates: time 0.01527/0.86, allocations: 10.27 MB / 0.5011 GB, free: 71.39 MB / 394.7 MB