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_KC.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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.737e-05, allocations: 4 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08587, allocations: 48.69 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.4886, allocations: 80.39 MB / 406.9 MB, free: 8.688 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004189/0.4891, allocations: 91.53 kB / 407 MB, free: 8.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04732/0.5364, allocations: 9.351 MB / 416.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.759e-06/0.5364, allocations: 0 / 416.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.5365, allocations: 4 kB / 416.4 MB, free: 2.969 MB / 314.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.0007202/0.5372, allocations: 0.5579 MB / 416.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5373, allocations: 16.02 kB / 417 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.5374, allocations: 39.53 kB / 417 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.5377, allocations: 284.4 kB / 417.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.5377, allocations: 31.48 kB / 417.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.5378, allocations: 35 kB / 417.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.5387, allocations: 0.5145 MB / 417.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5387, allocations: 4 kB / 417.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.5388, allocations: 10.88 kB / 417.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.5388, allocations: 36.97 kB / 417.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.5397, allocations: 0.543 MB / 418.5 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.5417, allocations: 1.201 MB / 419.7 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007947/0.5425, allocations: 360.8 kB / 420 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.5428, allocations: 117.5 kB / 420.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.5429, allocations: 12.16 kB / 420.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5429, allocations: 34.56 kB / 420.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.28e-06/0.5429, allocations: 0 / 420.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007928/0.5437, allocations: 320.2 kB / 420.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5438, allocations: 51.41 kB / 420.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.5444, allocations: 401.9 kB / 420.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.5445, allocations: 29.64 kB / 421 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.5446, allocations: 230.5 kB / 421.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.5447, allocations: 77.77 kB / 421.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.5448, allocations: 3 kB / 421.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5449, allocations: 320.6 kB / 421.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.5452, allocations: 106.4 kB / 421.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.5455, allocations: 104.7 kB / 421.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.5457, allocations: 114.1 kB / 421.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5458, allocations: 0 / 421.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006893/0.5465, allocations: 288.1 kB / 422.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5465, allocations: 7.938 kB / 422.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5465, allocations: 3.938 kB / 422.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5465, allocations: 0 / 422.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5477, allocations: 151.9 kB / 422.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.5519, allocations: 5.519 MB / 427.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.5523, allocations: 54.7 kB / 427.9 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.5524, allocations: 8.266 kB / 427.9 MB, free: 7.852 MB / 330.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 () * 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.0001397/0.5526, allocations: 120.3 kB / 428 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5527, allocations: 35.53 kB / 428.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.5537, allocations: 429.3 kB / 428.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-06/0.5537, allocations: 3.984 kB / 428.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5538, allocations: 0 / 428.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5538, allocations: 0 / 428.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.5545, allocations: 378.3 kB / 428.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.081e-06/0.5545, allocations: 4 kB / 428.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5556, allocations: 147.9 kB / 429 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.199e-06/0.5556, allocations: 0 / 429 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.5557, allocations: 10.67 kB / 429 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.5599, allocations: 5.523 MB / 434.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.339e-06/0.5599, allocations: 0 / 434.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.5608, allocations: 420.8 kB / 434.9 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.561, allocations: 112.7 kB / 435.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.561, allocations: 4 kB / 435.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.5613, allocations: 15.95 kB / 435.1 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.5614, allocations: 27.28 kB / 435.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.5615, allocations: 15.92 kB / 435.1 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004828/0.562, allocations: 321.9 kB / 435.4 MB, free: 300 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.562, allocations: 0 / 435.4 MB, free: 300 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.5626, allocations: 107.5 kB / 435.5 MB, free: 200 kB / 330.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 () * 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.0003418/0.5629, allocations: 187.8 kB / 435.7 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.5644, allocations: 341.5 kB / 436.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5644, allocations: 0 / 436.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.5655, allocations: 225.8 kB / 436.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.566, allocations: 89.91 kB / 436.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.5673, allocations: 0.5861 MB / 436.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.568, allocations: 0.8466 MB / 437.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5681, allocations: 38.05 kB / 437.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.644e-06/0.5681, allocations: 0 / 437.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of Templates: time 0.02836/0.5965, allocations: 18.68 MB / 456.5 MB, free: 11.29 MB / 362.7 MB