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.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.49e-05, allocations: 0 / 303.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3481, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4808, allocations: 87.86 MB / 445.9 MB, free: 6.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4811, allocations: 95.88 kB / 446 MB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04224/0.5233, allocations: 10.62 MB / 456.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.5234, allocations: 0 / 456.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.5234, allocations: 8 kB / 456.6 MB, free: 11.95 MB / 394.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.001073/0.5245, allocations: 0.6229 MB / 457.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5246, allocations: 8.031 kB / 457.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.5247, allocations: 47.38 kB / 457.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.5251, allocations: 282.4 kB / 457.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.5252, allocations: 12 kB / 457.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.5253, allocations: 24 kB / 457.6 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000705/0.526, allocations: 333.8 kB / 458 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.527, allocations: 498.5 kB / 458.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.527, allocations: 0 / 458.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.5271, allocations: 7.953 kB / 458.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/0.5271, allocations: 16.78 kB / 458.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.5296, allocations: 1.237 MB / 459.7 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.5302, allocations: 235.6 kB / 459.9 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.5305, allocations: 103.3 kB / 460 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.5305, allocations: 11.98 kB / 460.1 MB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5306, allocations: 46.45 kB / 460.1 MB, free: 8.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.922e-06/0.5306, allocations: 0 / 460.1 MB, free: 8.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007723/0.5314, allocations: 246.7 kB / 460.3 MB, free: 8.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.5315, allocations: 106.8 kB / 460.4 MB, free: 7.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.5317, allocations: 187.1 kB / 460.6 MB, free: 7.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.5318, allocations: 29.7 kB / 460.7 MB, free: 7.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.532, allocations: 274.4 kB / 460.9 MB, free: 7.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.5321, allocations: 67.16 kB / 461 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.5321, allocations: 0 / 461 MB, free: 7.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5323, allocations: 319 kB / 461.3 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.5325, allocations: 96.03 kB / 461.4 MB, free: 6.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.5328, allocations: 138.2 kB / 461.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.5331, allocations: 115.8 kB / 461.6 MB, free: 6.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.735e-06/0.5331, allocations: 0 / 461.6 MB, free: 6.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007092/0.5338, allocations: 270.7 kB / 461.9 MB, free: 6.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5339, allocations: 4 kB / 461.9 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.97e-05/0.534, allocations: 31.97 kB / 461.9 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.534, allocations: 7.953 kB / 461.9 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.5343, allocations: 48.06 kB / 462 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.903e-06/0.5344, allocations: 0 / 462 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.5346, allocations: 35.81 kB / 462 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.5347, allocations: 11.98 kB / 462 MB, free: 6.266 MB / 394.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 () * 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.0001267/0.5348, allocations: 109 kB / 462.1 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.535, allocations: 15.81 kB / 462.2 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008394/0.5358, allocations: 339.2 kB / 462.5 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5359, allocations: 7.953 kB / 462.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-06/0.5359, allocations: 0 / 462.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.882e-06/0.5359, allocations: 0 / 462.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.5366, allocations: 333.8 kB / 462.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.052e-05/0.5367, allocations: 31.97 kB / 462.9 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.537, allocations: 31.91 kB / 462.9 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.537, allocations: 4 kB / 462.9 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.537, allocations: 4 kB / 462.9 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.5371, allocations: 7.984 kB / 462.9 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5371, allocations: 3.938 kB / 462.9 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.5379, allocations: 0.5163 MB / 463.4 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.5381, allocations: 100.8 kB / 463.5 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.5381, allocations: 7.938 kB / 463.5 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.5385, allocations: 23.98 kB / 463.6 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.5386, allocations: 19.97 kB / 463.6 MB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.5387, allocations: 8 kB / 463.6 MB, free: 4.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.5389, allocations: 148.2 kB / 463.7 MB, free: 4.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.5389, allocations: 0 / 463.7 MB, free: 4.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007985/0.5397, allocations: 143.5 kB / 463.9 MB, free: 4.34 MB / 394.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 () * 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.0004273/0.5401, allocations: 205.8 kB / 464.1 MB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007648/0.5409, allocations: 463.1 kB / 464.5 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-06/0.5409, allocations: 0 / 464.5 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.5414, allocations: 351.2 kB / 464.9 MB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.5419, allocations: 25.02 kB / 464.9 MB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.5434, allocations: 0.5542 MB / 465.4 MB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.5441, allocations: 0.8566 MB / 466.3 MB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.5442, allocations: 19.42 kB / 466.3 MB, free: 1.707 MB / 394.7 MB Notification: Performance of SimCode: time 3.973e-06/0.5442, allocations: 0 / 466.3 MB, free: 1.707 MB / 394.7 MB Notification: Performance of Templates: time 0.2498/0.794, allocations: 5.581 MB / 471.9 MB, free: 98.2 MB / 394.7 MB