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_laminar_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_laminar_KC,tolerance=1e-06,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_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 16 kB / 314.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.86 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002654/0.2817, allocations: 1.614 MB / 370.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2834, allocations: 0.8275 MB / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.2835, allocations: 3.938 kB / 371.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.2838, allocations: 51.77 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.2841, allocations: 87.72 kB / 371.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.2844, allocations: 71.84 kB / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.2848, allocations: 251.4 kB / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2849, allocations: 40.72 kB / 372.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2852, allocations: 115.5 kB / 372.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.2854, allocations: 143.4 kB / 372.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.2855, allocations: 8 kB / 372.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.2858, allocations: 147.8 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.286, allocations: 91.64 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.2861, allocations: 77.52 kB / 372.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.2865, allocations: 268.1 kB / 373 MB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.958e-06/0.2866, allocations: 0 / 373 MB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.2866, allocations: 0 / 373 MB, free: 6.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.072e-06/0.2866, allocations: 0 / 373 MB, free: 6.898 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.001081/0.2877, allocations: 0.6058 MB / 373.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2877, allocations: 8.031 kB / 373.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2879, allocations: 39.53 kB / 373.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.2883, allocations: 277.3 kB / 373.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.2883, allocations: 21 kB / 373.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.2884, allocations: 39.98 kB / 374 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.2896, allocations: 0.5529 MB / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2896, allocations: 4 kB / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.2897, allocations: 12 kB / 374.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.963e-05/0.2898, allocations: 48.92 kB / 374.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2911, allocations: 0.5815 MB / 375.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.2935, allocations: 1.199 MB / 376.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.2945, allocations: 373.6 kB / 376.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.2945, allocations: 16.16 kB / 376.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2946, allocations: 34.75 kB / 376.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 3.565e-06/0.2946, allocations: 0 / 376.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001346/0.296, allocations: 476.9 kB / 377.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.296, allocations: 59.34 kB / 377.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.2967, allocations: 453.6 kB / 377.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.2968, allocations: 33.7 kB / 377.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.297, allocations: 226.8 kB / 378 MB, free: 1.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2971, allocations: 70.95 kB / 378.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.2971, allocations: 3.938 kB / 378.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2973, allocations: 322.8 kB / 378.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.2977, allocations: 127.8 kB / 378.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.2981, allocations: 127.8 kB / 378.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.2984, allocations: 126.5 kB / 378.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-06/0.2985, allocations: 0 / 378.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008839/0.2994, allocations: 329.3 kB / 379.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2994, allocations: 8 kB / 379.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-06/0.2994, allocations: 0 / 379.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2994, allocations: 3.984 kB / 379.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.3005, allocations: 155.8 kB / 379.2 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.3049, allocations: 5.52 MB / 384.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.3053, allocations: 43.75 kB / 384.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3054, allocations: 19.98 kB / 384.8 MB, free: 10.64 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.0003084/0.3057, allocations: 189.7 kB / 385 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.3058, allocations: 31.62 kB / 385 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.307, allocations: 468.3 kB / 385.5 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.307, allocations: 7.953 kB / 385.5 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.352e-06/0.307, allocations: 0 / 385.5 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3071, allocations: 0 / 385.5 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.3077, allocations: 373.3 kB / 385.9 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3077, allocations: 0 / 385.9 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/0.3087, allocations: 155.8 kB / 386 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-06/0.3087, allocations: 0 / 386 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.3088, allocations: 11.98 kB / 386 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.3133, allocations: 5.516 MB / 391.5 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.013e-06/0.3133, allocations: 4.094 kB / 391.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3143, allocations: 449.5 kB / 392 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.3145, allocations: 120.6 kB / 392.1 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.3146, allocations: 8 kB / 392.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.3149, allocations: 15.98 kB / 392.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.315, allocations: 27.8 kB / 392.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.315, allocations: 8 kB / 392.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005105/0.3156, allocations: 339.1 kB / 392.5 MB, free: 2.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.3156, allocations: 4 kB / 392.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.3161, allocations: 99.84 kB / 392.6 MB, free: 2.547 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.0002865/0.3164, allocations: 147 kB / 392.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.3181, allocations: 411.5 kB / 393.1 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.508e-06/0.3181, allocations: 0 / 393.1 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.3194, allocations: 286.9 kB / 393.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.3203, allocations: 81.5 kB / 393.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3221, allocations: 0.9054 MB / 394.4 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.3228, allocations: 0.8503 MB / 395.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.323, allocations: 39.41 kB / 395.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/0.323, allocations: 0 / 395.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of Templates: time 0.02795/0.351, allocations: 18.52 MB / 413.8 MB, free: 13.25 MB / 346.7 MB