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_laminar.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_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.3 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004424, allocations: 12 kB / 282.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3253, allocations: 48.71 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002428/0.3278, allocations: 1.775 MB / 333 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3296, allocations: 1.01 MB / 334 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3297, allocations: 6.281 kB / 334 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.33, allocations: 52.38 kB / 334.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.3302, allocations: 83.31 kB / 334.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.3307, allocations: 140.5 kB / 334.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.3312, allocations: 333.5 kB / 334.6 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3313, allocations: 57.61 kB / 334.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.3316, allocations: 153 kB / 334.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.3318, allocations: 167.1 kB / 335 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.3319, allocations: 15.98 kB / 335 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.3326, allocations: 325.1 kB / 335.3 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3327, allocations: 89.77 kB / 335.4 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3328, allocations: 85.64 kB / 335.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006406/0.3335, allocations: 367.2 kB / 335.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3335, allocations: 0 / 335.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.381e-06/0.3335, allocations: 1.125 kB / 335.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.923e-06/0.3335, allocations: 3.938 kB / 335.8 MB, free: 4.035 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001178/0.3347, allocations: 0.6862 MB / 336.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3348, allocations: 9.031 kB / 336.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3349, allocations: 50.75 kB / 336.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.3353, allocations: 300.6 kB / 336.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.3354, allocations: 34.91 kB / 336.9 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.3355, allocations: 45.02 kB / 337 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.3368, allocations: 0.6669 MB / 337.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3368, allocations: 1.781 kB / 337.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.3369, allocations: 15.56 kB / 337.6 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.3369, allocations: 29.67 kB / 337.7 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3381, allocations: 0.4903 MB / 338.2 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3406, allocations: 1.535 MB / 339.7 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.3414, allocations: 312.1 kB / 340 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.3415, allocations: 12.91 kB / 340 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3415, allocations: 36.78 kB / 340 MB, free: 1.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 3.619e-06/0.3415, allocations: 1.531 kB / 340 MB, free: 1.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001723/0.3433, allocations: 0.7581 MB / 340.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3433, allocations: 105.3 kB / 340.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/0.3441, allocations: 0.5357 MB / 341.4 MB, free: 288 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3442, allocations: 30.8 kB / 341.5 MB, free: 252 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3443, allocations: 271.3 kB / 341.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.3444, allocations: 63.77 kB / 341.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3445, allocations: 5.375 kB / 341.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3447, allocations: 327.2 kB / 342.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.3452, allocations: 169.2 kB / 342.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.3459, allocations: 285.6 kB / 342.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.3465, allocations: 206.1 kB / 342.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.621e-06/0.3465, allocations: 5.062 kB / 342.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001434/0.3479, allocations: 497.8 kB / 343.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.348, allocations: 10.81 kB / 343.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.3481, allocations: 41.08 kB / 343.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3481, allocations: 6.938 kB / 343.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.3484, allocations: 55.98 kB / 343.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.3485, allocations: 8.984 kB / 343.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.349, allocations: 79.48 kB / 343.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.3491, allocations: 20.23 kB / 343.5 MB, free: 14.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0003776/0.3494, allocations: 219.9 kB / 343.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.3496, allocations: 42.12 kB / 343.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3509, allocations: 458.5 kB / 344.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3509, allocations: 7.375 kB / 344.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.405e-06/0.3509, allocations: 1.062 kB / 344.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-06/0.3509, allocations: 1.125 kB / 344.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.3518, allocations: 393.1 kB / 344.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-05/0.3519, allocations: 39.19 kB / 344.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3522, allocations: 28.41 kB / 344.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.3522, allocations: 6.359 kB / 344.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3523, allocations: 10.97 kB / 344.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.023e-06/0.3523, allocations: 6.344 kB / 344.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3523, allocations: 3.938 kB / 344.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3536, allocations: 0.6244 MB / 345.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.3539, allocations: 176.2 kB / 345.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.354, allocations: 10.11 kB / 345.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.3545, allocations: 29.3 kB / 345.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3546, allocations: 31.11 kB / 345.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.3547, allocations: 14.17 kB / 345.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006543/0.3553, allocations: 389.5 kB / 345.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3553, allocations: 0 / 345.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008383/0.3562, allocations: 135 kB / 346.1 MB, free: 13.3 MB / 282.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.0003939/0.3566, allocations: 161 kB / 346.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.3581, allocations: 0.6852 MB / 346.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.458e-06/0.3581, allocations: 0 / 346.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.3589, allocations: 492.5 kB / 347.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.3597, allocations: 114.6 kB / 347.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.362, allocations: 1.02 MB / 348.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.3627, allocations: 0.8648 MB / 349.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3628, allocations: 36.23 kB / 349.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.605e-06/0.3629, allocations: 1.156 kB / 349.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Templates: time 0.0158/0.3787, allocations: 8.067 MB / 357.5 MB, free: 3.57 MB / 282.7 MB