Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.309/2.309, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 12 kB / 315 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5281, allocations: 88.61 MB / 458.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.5285, allocations: 99.94 kB / 458.5 MB, free: 1.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05002/0.5786, allocations: 10.76 MB / 469.3 MB, free: 6.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5786, allocations: 0 / 469.3 MB, free: 6.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.5786, allocations: 4 kB / 469.3 MB, free: 6.953 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.001598/0.5802, allocations: 0.6588 MB / 470 MB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5803, allocations: 8.031 kB / 470 MB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.5805, allocations: 39.53 kB / 470 MB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.581, allocations: 278.4 kB / 470.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.581, allocations: 29 kB / 470.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5812, allocations: 36 kB / 470.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.5827, allocations: 0.5933 MB / 470.9 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5828, allocations: 0 / 470.9 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.5829, allocations: 16 kB / 470.9 MB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.5829, allocations: 24.94 kB / 471 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.5845, allocations: 455.5 kB / 471.4 MB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.5877, allocations: 1.398 MB / 472.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009418/0.5887, allocations: 279.5 kB / 473.1 MB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-05/0.5888, allocations: 31.86 kB / 473.1 MB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5889, allocations: 30.56 kB / 473.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.035e-06/0.5889, allocations: 0 / 473.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002448/0.5913, allocations: 0.7081 MB / 473.9 MB, free: 2.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.5915, allocations: 106.8 kB / 474 MB, free: 1.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000923/0.5924, allocations: 0.4901 MB / 474.5 MB, free: 1.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.5925, allocations: 29.7 kB / 474.5 MB, free: 1.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.5926, allocations: 242.8 kB / 474.7 MB, free: 1.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.5928, allocations: 63.14 kB / 474.8 MB, free: 1.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.5928, allocations: 4 kB / 474.8 MB, free: 1.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5929, allocations: 318.8 kB / 475.1 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.5936, allocations: 136 kB / 475.2 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.5942, allocations: 185.4 kB / 475.4 MB, free: 0.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.5949, allocations: 151.8 kB / 475.6 MB, free: 360 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5949, allocations: 4 kB / 475.6 MB, free: 356 kB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.3028/0.8977, allocations: 366.5 kB / 475.9 MB, free: 95.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.8978, allocations: 8.672 kB / 475.9 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.8979, allocations: 28.33 kB / 476 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.898, allocations: 3.297 kB / 476 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.8984, allocations: 42.17 kB / 476 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.8984, allocations: 2.312 kB / 476 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.899, allocations: 65.67 kB / 476.1 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.899, allocations: 13.84 kB / 476.1 MB, free: 95.91 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 () * 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.0003357/0.8994, allocations: 183.6 kB / 476.3 MB, free: 95.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.8995, allocations: 42.38 kB / 476.3 MB, free: 95.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.9011, allocations: 398.1 kB / 476.7 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.9011, allocations: 4.625 kB / 476.7 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9011, allocations: 1.078 kB / 476.7 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9011, allocations: 2.125 kB / 476.7 MB, free: 95.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.9019, allocations: 362.1 kB / 477 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.135e-05/0.902, allocations: 33.97 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.9023, allocations: 35.88 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.9023, allocations: 4.797 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.9024, allocations: 9.594 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.9024, allocations: 4.125 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9024, allocations: 1.031 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.904, allocations: 0.5967 MB / 477.7 MB, free: 95.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.9042, allocations: 126.3 kB / 477.9 MB, free: 95.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.9043, allocations: 3.594 kB / 477.9 MB, free: 95.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.9048, allocations: 25.73 kB / 477.9 MB, free: 95.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.9049, allocations: 17.45 kB / 477.9 MB, free: 95.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.9049, allocations: 12.91 kB / 477.9 MB, free: 95.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000659/0.9056, allocations: 375.4 kB / 478.3 MB, free: 95.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9056, allocations: 0 / 478.3 MB, free: 95.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007697/0.9064, allocations: 122.3 kB / 478.4 MB, free: 95.05 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 () * 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.0004421/0.9069, allocations: 210.7 kB / 478.6 MB, free: 94.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.9083, allocations: 0.539 MB / 479.1 MB, free: 94.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9083, allocations: 1.969 kB / 479.1 MB, free: 94.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.909, allocations: 400.3 kB / 479.5 MB, free: 94.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.9098, allocations: 88.05 kB / 479.6 MB, free: 94.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.9121, allocations: 0.9239 MB / 480.5 MB, free: 93.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.9125, allocations: 0.8505 MB / 481.4 MB, free: 93.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.9126, allocations: 31.44 kB / 481.4 MB, free: 93.28 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.9126, allocations: 3.75 kB / 481.4 MB, free: 93.28 MB / 394.7 MB Notification: Performance of Templates: time 0.01387/0.9265, allocations: 7.124 MB / 488.6 MB, free: 92.64 MB / 394.7 MB