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.259/2.259, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 12 kB / 314.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3083, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002982/0.3113, allocations: 1.821 MB / 371 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.3149, allocations: 1.802 MB / 372.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.3151, allocations: 0 / 372.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3154, allocations: 59.64 kB / 372.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.3157, allocations: 83.72 kB / 373 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.317, allocations: 351 kB / 373.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.3176, allocations: 363.2 kB / 373.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3178, allocations: 65.05 kB / 373.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.318, allocations: 159.3 kB / 373.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3183, allocations: 175.2 kB / 374.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.3184, allocations: 12 kB / 374.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.3199, allocations: 0.6631 MB / 374.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.32, allocations: 91.62 kB / 374.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3202, allocations: 97.39 kB / 374.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.3211, allocations: 0.5073 MB / 375.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.002e-06/0.3211, allocations: 0 / 375.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3211, allocations: 0 / 375.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.957e-06/0.3211, allocations: 0 / 375.4 MB, free: 4.453 MB / 298.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.001457/0.3226, allocations: 0.7643 MB / 376.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3227, allocations: 12.03 kB / 376.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3228, allocations: 55.34 kB / 376.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.3233, allocations: 298.3 kB / 376.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.3234, allocations: 45.25 kB / 376.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3235, allocations: 56 kB / 376.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3251, allocations: 0.7736 MB / 377.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3251, allocations: 0 / 377.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.8e-05/0.3252, allocations: 20 kB / 377.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.3253, allocations: 33.25 kB / 377.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.3267, allocations: 0.5671 MB / 378 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.33, allocations: 1.708 MB / 379.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.3309, allocations: 311.6 kB / 380.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.331, allocations: 11.89 kB / 380.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.331, allocations: 42.52 kB / 380.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.93e-06/0.331, allocations: 0 / 380.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001954/0.333, allocations: 0.7668 MB / 380.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.3331, allocations: 102.8 kB / 381 MB, free: 14.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3342, allocations: 0.6392 MB / 381.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.3343, allocations: 25.77 kB / 381.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.3346, allocations: 329.9 kB / 382 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.3347, allocations: 71.02 kB / 382 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3347, allocations: 8 kB / 382 MB, free: 13.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3349, allocations: 334.8 kB / 382.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005934/0.3355, allocations: 208.9 kB / 382.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/0.3364, allocations: 465.2 kB / 383 MB, free: 12.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.3371, allocations: 289.3 kB / 383.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.3371, allocations: 4 kB / 383.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001849/0.339, allocations: 0.6731 MB / 384 MB, free: 11.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.3391, allocations: 11.95 kB / 384 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.3392, allocations: 55.95 kB / 384.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.3392, allocations: 12 kB / 384.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.3396, allocations: 75.83 kB / 384.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.3397, allocations: 24.05 kB / 384.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.3403, allocations: 103 kB / 384.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.3404, allocations: 35.98 kB / 384.3 MB, free: 11.12 MB / 314.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].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * 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.0004116/0.3408, allocations: 253.5 kB / 384.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.341, allocations: 59.31 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.3424, allocations: 486.7 kB / 385.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3424, allocations: 4 kB / 385.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.3424, allocations: 8 kB / 385.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.3425, allocations: 3.984 kB / 385.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.3433, allocations: 405.2 kB / 385.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/0.3435, allocations: 47.89 kB / 385.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3437, allocations: 35.91 kB / 385.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.3437, allocations: 4 kB / 385.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.996e-05/0.3438, allocations: 12 kB / 385.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3438, allocations: 3.953 kB / 385.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.038e-06/0.3438, allocations: 0 / 385.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3451, allocations: 0.6422 MB / 386.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.3454, allocations: 128.4 kB / 386.4 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.3455, allocations: 11.94 kB / 386.4 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.346, allocations: 19.98 kB / 386.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.3461, allocations: 31.91 kB / 386.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.3462, allocations: 15.98 kB / 386.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007346/0.3469, allocations: 442.7 kB / 386.9 MB, free: 8.449 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.3469, allocations: 0 / 386.9 MB, free: 8.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001025/0.348, allocations: 179.9 kB / 387 MB, free: 8.273 MB / 314.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.0005402/0.3485, allocations: 234.5 kB / 387.3 MB, free: 8.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.3502, allocations: 0.7755 MB / 388 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.159e-06/0.3503, allocations: 0 / 388 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.351, allocations: 496.2 kB / 388.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.3519, allocations: 114.3 kB / 388.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.3543, allocations: 1.115 MB / 389.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.3551, allocations: 0.9013 MB / 390.7 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3552, allocations: 35.44 kB / 390.7 MB, free: 4.391 MB / 314.7 MB Notification: Performance of SimCode: time 1.965e-06/0.3552, allocations: 0 / 390.7 MB, free: 4.391 MB / 314.7 MB Notification: Performance of Templates: time 0.01844/0.3737, allocations: 9.817 MB / 400.5 MB, free: 10.6 MB / 330.7 MB