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.235/2.235, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.196e-05, allocations: 8 kB / 309.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4573, allocations: 94.1 MB / 458.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.4577, allocations: 96.52 kB / 458.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1023/0.5599, allocations: 24.07 MB / 482.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.36e-06/0.56, allocations: 0 / 482.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.56, allocations: 8 kB / 482.8 MB, free: 10.04 MB / 410.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.001398/0.5614, allocations: 0.7325 MB / 483.6 MB, free: 9.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5615, allocations: 12.03 kB / 483.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.5616, allocations: 55.34 kB / 483.6 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.5622, allocations: 303.7 kB / 483.9 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.5623, allocations: 49.25 kB / 484 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5624, allocations: 52 kB / 484 MB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.5638, allocations: 0.7268 MB / 484.8 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5638, allocations: 3.938 kB / 484.8 MB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.5639, allocations: 31.89 kB / 484.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.564, allocations: 29.3 kB / 484.8 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.5651, allocations: 496.9 kB / 485.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.5684, allocations: 1.7 MB / 487 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.569, allocations: 267.6 kB / 487.3 MB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.5694, allocations: 131.5 kB / 487.4 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.5694, allocations: 11.94 kB / 487.4 MB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5695, allocations: 34.56 kB / 487.4 MB, free: 5.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 6.385e-06/0.5695, allocations: 0 / 487.4 MB, free: 5.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009212/0.5704, allocations: 320.9 kB / 487.8 MB, free: 4.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.5705, allocations: 110.9 kB / 487.9 MB, free: 4.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.5715, allocations: 0.5708 MB / 488.4 MB, free: 4.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.5716, allocations: 25.7 kB / 488.5 MB, free: 4.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.5718, allocations: 321.7 kB / 488.8 MB, free: 3.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.572, allocations: 70.94 kB / 488.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.572, allocations: 12 kB / 488.9 MB, free: 3.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5722, allocations: 330.8 kB / 489.2 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.5726, allocations: 157 kB / 489.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.5732, allocations: 437.3 kB / 489.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.5738, allocations: 232.8 kB / 490 MB, free: 2.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.5738, allocations: 4 kB / 490 MB, free: 2.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00143/0.5752, allocations: 0.5984 MB / 490.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.5753, allocations: 13.25 kB / 490.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/0.5755, allocations: 47.97 kB / 490.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.5755, allocations: 16 kB / 490.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.5759, allocations: 76.42 kB / 490.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/0.576, allocations: 19.92 kB / 490.8 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.5766, allocations: 87.25 kB / 490.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.5767, allocations: 36 kB / 490.9 MB, free: 1.594 MB / 410.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.0002075/0.577, allocations: 159.8 kB / 491 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.5772, allocations: 59.23 kB / 491.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.5784, allocations: 449.3 kB / 491.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.5784, allocations: 11.92 kB / 491.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-06/0.5785, allocations: 0 / 491.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.5785, allocations: 4 kB / 491.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.5794, allocations: 409.2 kB / 491.9 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001428/0.5796, allocations: 39.97 kB / 492 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.5798, allocations: 27.97 kB / 492 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.5799, allocations: 4 kB / 492 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.5799, allocations: 23.94 kB / 492 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.302e-06/0.5799, allocations: 0 / 492 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.617e-06/0.58, allocations: 3.938 kB / 492 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009641/0.5809, allocations: 0.5824 MB / 492.6 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.5812, allocations: 128.5 kB / 492.7 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5813, allocations: 8 kB / 492.8 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.5817, allocations: 31.97 kB / 492.8 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5819, allocations: 27.92 kB / 492.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.5819, allocations: 12 kB / 492.8 MB, free: 15.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007072/0.5826, allocations: 441.5 kB / 493.3 MB, free: 15.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.5827, allocations: 0 / 493.3 MB, free: 15.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001144/0.5838, allocations: 199.8 kB / 493.5 MB, free: 14.91 MB / 426.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.0006604/0.5845, allocations: 288.7 kB / 493.7 MB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.5857, allocations: 0.6927 MB / 494.4 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.701e-06/0.5858, allocations: 0 / 494.4 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.5863, allocations: 452.3 kB / 494.9 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.5871, allocations: 115 kB / 495 MB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.5893, allocations: 0.7707 MB / 495.8 MB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.59, allocations: 0.9013 MB / 496.7 MB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.5901, allocations: 39.44 kB / 496.7 MB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.041e-06/0.5901, allocations: 0 / 496.7 MB, free: 11.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01919/0.6093, allocations: 10.25 MB / 0.4951 GB, free: 1.227 MB / 426.7 MB