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.HelicalPipe.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.HelicalPipe.kc_laminar,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.|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.|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.HelicalPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 16 kB / 282.6 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09311, allocations: 48.71 MB / 331.3 MB, free: 8.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4671, allocations: 82.32 MB / 413.6 MB, free: 2.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4674, allocations: 99.94 kB / 413.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04418/0.5116, allocations: 10.76 MB / 424.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.378e-06/0.5117, allocations: 0 / 424.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.5117, allocations: 8 kB / 424.5 MB, free: 7.797 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001167/0.5129, allocations: 0.651 MB / 425.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5129, allocations: 8.031 kB / 425.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.5131, allocations: 47.44 kB / 425.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.5135, allocations: 290.3 kB / 425.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.5136, allocations: 29 kB / 425.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.5137, allocations: 36 kB / 425.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.515, allocations: 0.5817 MB / 426.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.515, allocations: 3.938 kB / 426.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.5151, allocations: 16 kB / 426.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.5151, allocations: 21 kB / 426.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.5163, allocations: 455.5 kB / 426.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.5189, allocations: 1.398 MB / 428 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.5196, allocations: 287.6 kB / 428.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.5197, allocations: 4 kB / 428.3 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5197, allocations: 30.56 kB / 428.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 5.964e-06/0.5198, allocations: 0 / 428.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00182/0.5216, allocations: 0.7178 MB / 429 MB, free: 2.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.5217, allocations: 114.8 kB / 429.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.5225, allocations: 457 kB / 429.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.5225, allocations: 33.75 kB / 429.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.5227, allocations: 250.5 kB / 429.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.5228, allocations: 51.2 kB / 429.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.5229, allocations: 8 kB / 429.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.523, allocations: 314.8 kB / 430.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.5235, allocations: 140 kB / 430.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.524, allocations: 185.3 kB / 430.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.5245, allocations: 152.6 kB / 430.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-06/0.5245, allocations: 0 / 430.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001166/0.5257, allocations: 369.6 kB / 431.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5257, allocations: 8.156 kB / 431.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.232e-05/0.5258, allocations: 27.98 kB / 431.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5259, allocations: 4 kB / 431.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.5262, allocations: 39.95 kB / 431.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5262, allocations: 3.984 kB / 431.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.5266, allocations: 79.25 kB / 431.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.5267, allocations: 15.98 kB / 431.2 MB, free: 0.6953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003012/0.527, allocations: 185.4 kB / 431.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.5272, allocations: 35.53 kB / 431.5 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5283, allocations: 404.6 kB / 431.9 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5283, allocations: 7.984 kB / 431.9 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-06/0.5283, allocations: 0 / 431.9 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.526e-06/0.5283, allocations: 0 / 431.9 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.5291, allocations: 369.2 kB / 432.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.118e-05/0.5292, allocations: 27.97 kB / 432.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.5295, allocations: 39.91 kB / 432.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-06/0.5295, allocations: 0 / 432.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.5295, allocations: 15.98 kB / 432.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.609e-06/0.5295, allocations: 0 / 432.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5295, allocations: 0 / 432.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.5308, allocations: 0.6182 MB / 432.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.5311, allocations: 164.5 kB / 433.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.5312, allocations: 4 kB / 433.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.5316, allocations: 23.98 kB / 433.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.5317, allocations: 23.92 kB / 433.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.5318, allocations: 12 kB / 433.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005931/0.5324, allocations: 375 kB / 433.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.5324, allocations: 0 / 433.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007676/0.5332, allocations: 131.8 kB / 433.6 MB, free: 14.19 MB / 362.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004214/0.5336, allocations: 212.8 kB / 433.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.5348, allocations: 0.5343 MB / 434.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.263e-06/0.5348, allocations: 4 kB / 434.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006601/0.5355, allocations: 399.2 kB / 434.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.5362, allocations: 89.42 kB / 434.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.5382, allocations: 0.9133 MB / 435.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.5389, allocations: 0.8499 MB / 436.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.539, allocations: 31.42 kB / 436.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.656e-06/0.539, allocations: 0 / 436.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Templates: time 0.01379/0.5528, allocations: 7.11 MB / 443.8 MB, free: 3.891 MB / 362.7 MB