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.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 15.94 kB / 314.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.318, allocations: 54.87 MB / 369.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002625/0.3207, allocations: 1.602 MB / 370.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3224, allocations: 0.8353 MB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.3225, allocations: 0 / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3228, allocations: 55.72 kB / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3231, allocations: 87.77 kB / 371.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.3234, allocations: 75.8 kB / 371.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3238, allocations: 251.4 kB / 372.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.3239, allocations: 40.72 kB / 372.2 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3241, allocations: 119.5 kB / 372.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.3244, allocations: 139.4 kB / 372.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.3244, allocations: 8 kB / 372.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.3248, allocations: 159.8 kB / 372.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3249, allocations: 87.7 kB / 372.7 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.3251, allocations: 77.45 kB / 372.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.3255, allocations: 276 kB / 373 MB, free: 8.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.76e-06/0.3255, allocations: 0 / 373 MB, free: 8.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.041e-06/0.3255, allocations: 0 / 373 MB, free: 8.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.102e-06/0.3256, allocations: 0 / 373 MB, free: 8.93 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001066/0.3266, allocations: 0.6043 MB / 373.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3267, allocations: 12.03 kB / 373.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.671e-05/0.3268, allocations: 35.53 kB / 373.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3272, allocations: 274.5 kB / 373.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.3273, allocations: 29 kB / 373.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.3274, allocations: 28 kB / 374 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3285, allocations: 0.5607 MB / 374.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3285, allocations: 0 / 374.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.3286, allocations: 16 kB / 374.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-05/0.3287, allocations: 40.92 kB / 374.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.3301, allocations: 0.5737 MB / 375.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3325, allocations: 1.203 MB / 376.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009197/0.3335, allocations: 388.1 kB / 376.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.3335, allocations: 8.172 kB / 376.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.996e-05/0.3336, allocations: 38.78 kB / 376.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 3.327e-06/0.3336, allocations: 0 / 376.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001784/0.3354, allocations: 477.1 kB / 377.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3355, allocations: 51.41 kB / 377.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.3362, allocations: 457.6 kB / 377.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.3362, allocations: 29.7 kB / 377.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3364, allocations: 230.8 kB / 378 MB, free: 3.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.3366, allocations: 70.94 kB / 378.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.3366, allocations: 8 kB / 378.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3368, allocations: 314.8 kB / 378.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3371, allocations: 119.9 kB / 378.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3375, allocations: 131.8 kB / 378.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3379, allocations: 134.7 kB / 378.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-06/0.3379, allocations: 7.875 kB / 378.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000865/0.3388, allocations: 325.3 kB / 379.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3388, allocations: 4 kB / 379.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.2e-06/0.3388, allocations: 4 kB / 379.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3389, allocations: 0 / 379.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3399, allocations: 155.8 kB / 379.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.3443, allocations: 5.524 MB / 384.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3446, allocations: 47.38 kB / 384.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3447, allocations: 16.27 kB / 384.8 MB, free: 12.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.345, allocations: 189.7 kB / 385 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.491e-05/0.3451, allocations: 31.62 kB / 385.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3463, allocations: 472.3 kB / 385.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.287e-06/0.3464, allocations: 3.953 kB / 385.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-06/0.3464, allocations: 0 / 385.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.982e-06/0.3464, allocations: 4 kB / 385.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.347, allocations: 369.3 kB / 385.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3471, allocations: 0 / 385.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.3481, allocations: 155.8 kB / 386 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.3481, allocations: 4 kB / 386 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3482, allocations: 11.98 kB / 386.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/0.3526, allocations: 5.509 MB / 391.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-06/0.3526, allocations: 8.094 kB / 391.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.3536, allocations: 453.4 kB / 392 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.3538, allocations: 120.6 kB / 392.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.3539, allocations: 8 kB / 392.1 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3542, allocations: 11.98 kB / 392.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.3543, allocations: 27.86 kB / 392.2 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.3544, allocations: 12 kB / 392.2 MB, free: 5.004 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005395/0.3549, allocations: 335.1 kB / 392.5 MB, free: 4.676 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.3549, allocations: 0 / 392.5 MB, free: 4.676 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.3555, allocations: 99.84 kB / 392.6 MB, free: 4.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/0.3558, allocations: 147.1 kB / 392.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3575, allocations: 411.5 kB / 393.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.129e-06/0.3575, allocations: 0 / 393.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.3587, allocations: 286.4 kB / 393.4 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.3593, allocations: 81.44 kB / 393.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3611, allocations: 0.9024 MB / 394.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.3617, allocations: 0.858 MB / 395.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3619, allocations: 39.41 kB / 395.3 MB, free: 1.805 MB / 314.7 MB Notification: Performance of SimCode: time 2.169e-06/0.3619, allocations: 0 / 395.3 MB, free: 1.805 MB / 314.7 MB Notification: Performance of Templates: time 0.03574/0.3976, allocations: 18.55 MB / 413.9 MB, free: 15.25 MB / 346.7 MB