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/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,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.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.066e-05, allocations: 8 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08856, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5595, allocations: 87.74 MB / 414.3 MB, free: 3.898 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5599, allocations: 89.44 kB / 414.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.7112, allocations: 24.07 MB / 438.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.642e-06/0.7113, allocations: 0 / 438.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.945e-05/0.7114, allocations: 8 kB / 438.5 MB, free: 15.08 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002035/0.7134, allocations: 0.7372 MB / 439.2 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.7135, allocations: 12.03 kB / 439.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.7137, allocations: 51.34 kB / 439.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.7146, allocations: 299.1 kB / 439.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.7147, allocations: 41.31 kB / 439.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.7149, allocations: 58.23 kB / 439.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.7172, allocations: 0.7295 MB / 440.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.7173, allocations: 3.938 kB / 440.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.7174, allocations: 21.69 kB / 440.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.382e-05/0.7175, allocations: 29.3 kB / 440.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.7193, allocations: 0.494 MB / 440.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005463/0.7248, allocations: 1.697 MB / 442.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7259, allocations: 277.9 kB / 442.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.7265, allocations: 117.4 kB / 443 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.7266, allocations: 7.984 kB / 443 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.7267, allocations: 38.31 kB / 443.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 5.593e-06/0.7267, allocations: 4 kB / 443.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001654/0.7284, allocations: 313 kB / 443.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.7285, allocations: 118.7 kB / 443.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.7301, allocations: 0.5649 MB / 444.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.7302, allocations: 29.39 kB / 444.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.7306, allocations: 321.5 kB / 444.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.7308, allocations: 77.36 kB / 444.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.7309, allocations: 10.88 kB / 444.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.7311, allocations: 333.2 kB / 444.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.7319, allocations: 165 kB / 445 MB, free: 9.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.7329, allocations: 423.5 kB / 445.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.7339, allocations: 243.4 kB / 445.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.7339, allocations: 4 kB / 445.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002562/0.7365, allocations: 0.5926 MB / 446.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.7366, allocations: 8 kB / 446.2 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/0.7368, allocations: 55.81 kB / 446.3 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-05/0.7369, allocations: 16 kB / 446.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.7376, allocations: 79.81 kB / 446.4 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.534e-05/0.7377, allocations: 15.94 kB / 446.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.7389, allocations: 93.08 kB / 446.5 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.7391, allocations: 39.36 kB / 446.5 MB, free: 7.73 MB / 346.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.0003137/0.7394, allocations: 153.4 kB / 446.7 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.7397, allocations: 51.34 kB / 446.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.7419, allocations: 464.7 kB / 447.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.742, allocations: 4 kB / 447.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.742, allocations: 0 / 447.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.509e-06/0.7421, allocations: 0 / 447.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.7437, allocations: 407.5 kB / 447.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001771/0.7439, allocations: 38.78 kB / 447.6 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.7444, allocations: 35.97 kB / 447.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.7444, allocations: 0 / 447.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.7445, allocations: 11.98 kB / 447.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.7445, allocations: 4 kB / 447.7 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7446, allocations: 0 / 447.7 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.7462, allocations: 0.5905 MB / 448.3 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.7468, allocations: 188.6 kB / 448.4 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.747, allocations: 3.125 kB / 448.4 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.7479, allocations: 31.09 kB / 448.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.7481, allocations: 27.97 kB / 448.5 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.7482, allocations: 11.06 kB / 448.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.7494, allocations: 437.9 kB / 448.9 MB, free: 5.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.475e-06/0.7494, allocations: 4 kB / 448.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002043/0.7515, allocations: 190.7 kB / 449.1 MB, free: 5.281 MB / 346.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.001019/0.7525, allocations: 295.4 kB / 449.4 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.7546, allocations: 0.7046 MB / 450.1 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.195e-06/0.7546, allocations: 0 / 450.1 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.7556, allocations: 457.1 kB / 450.6 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.757, allocations: 116.4 kB / 450.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.7606, allocations: 0.7641 MB / 451.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.7617, allocations: 0.8969 MB / 452.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.762, allocations: 43.36 kB / 452.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.558e-06/0.762, allocations: 0 / 452.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of Templates: time 0.03512/0.7971, allocations: 10.25 MB / 462.6 MB, free: 7.785 MB / 362.7 MB