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.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.61e-05, allocations: 4 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3587, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.493, allocations: 88.67 MB / 453.2 MB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.4933, allocations: 99.91 kB / 453.3 MB, free: 7.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05028/0.5436, allocations: 12.16 MB / 465.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.416e-06/0.5437, allocations: 4 kB / 465.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.5437, allocations: 4 kB / 465.5 MB, free: 11.38 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001218/0.545, allocations: 0.6542 MB / 466.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.545, allocations: 16.03 kB / 466.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.5452, allocations: 43.44 kB / 466.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.5457, allocations: 295.7 kB / 466.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.5458, allocations: 33 kB / 466.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.5459, allocations: 44 kB / 466.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5471, allocations: 0.6207 MB / 467.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5472, allocations: 0 / 467.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.5473, allocations: 23.95 kB / 467.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/0.5473, allocations: 25 kB / 467.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.5482, allocations: 427.6 kB / 467.7 MB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.5513, allocations: 1.535 MB / 469.2 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.552, allocations: 271.5 kB / 469.5 MB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.5523, allocations: 126.5 kB / 469.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.5524, allocations: 8 kB / 469.6 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.5524, allocations: 38.52 kB / 469.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 5.81e-06/0.5524, allocations: 0 / 469.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009308/0.5534, allocations: 315 kB / 469.9 MB, free: 6.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.5535, allocations: 114.8 kB / 470 MB, free: 6.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.5544, allocations: 490.9 kB / 470.5 MB, free: 6.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.5544, allocations: 29.7 kB / 470.6 MB, free: 6.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.5547, allocations: 265.6 kB / 470.8 MB, free: 5.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.5548, allocations: 67 kB / 470.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.5548, allocations: 4 kB / 470.9 MB, free: 5.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.555, allocations: 322.8 kB / 471.2 MB, free: 5.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.5554, allocations: 132.1 kB / 471.3 MB, free: 5.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.5558, allocations: 243.8 kB / 471.6 MB, free: 4.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.5562, allocations: 161 kB / 471.7 MB, free: 4.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5562, allocations: 0 / 471.7 MB, free: 4.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001077/0.5573, allocations: 421 kB / 472.1 MB, free: 4.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5573, allocations: 8 kB / 472.1 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.5575, allocations: 35.97 kB / 472.2 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.5575, allocations: 11.95 kB / 472.2 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.5578, allocations: 48.23 kB / 472.2 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.5579, allocations: 8 kB / 472.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.5584, allocations: 79.28 kB / 472.3 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.5585, allocations: 20 kB / 472.3 MB, free: 4.203 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001689/0.5586, allocations: 128.8 kB / 472.5 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.5588, allocations: 43.44 kB / 472.5 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.5599, allocations: 422 kB / 472.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.56, allocations: 15.94 kB / 472.9 MB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.56, allocations: 0 / 472.9 MB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.56, allocations: 7.984 kB / 472.9 MB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.5609, allocations: 389.2 kB / 473.3 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-05/0.561, allocations: 35.97 kB / 473.4 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.5613, allocations: 39.91 kB / 473.4 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.451e-06/0.5613, allocations: 0 / 473.4 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.5613, allocations: 11.98 kB / 473.4 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5614, allocations: 0 / 473.4 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.922e-06/0.5614, allocations: 7.953 kB / 473.4 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.5624, allocations: 0.5715 MB / 474 MB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.5626, allocations: 128.5 kB / 474.1 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.5627, allocations: 0 / 474.1 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.5632, allocations: 31.91 kB / 474.1 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5633, allocations: 23.91 kB / 474.2 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.5633, allocations: 23.95 kB / 474.2 MB, free: 2.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006212/0.564, allocations: 385.1 kB / 474.6 MB, free: 1.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.564, allocations: 0 / 474.6 MB, free: 1.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008513/0.5648, allocations: 135.9 kB / 474.7 MB, free: 1.73 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004685/0.5653, allocations: 207 kB / 474.9 MB, free: 1.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.5664, allocations: 0.61 MB / 475.5 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.609e-06/0.5664, allocations: 3.938 kB / 475.5 MB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.567, allocations: 457.3 kB / 476 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.5679, allocations: 114 kB / 476.1 MB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.5699, allocations: 0.6972 MB / 476.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.5705, allocations: 0.8628 MB / 477.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5707, allocations: 35.42 kB / 477.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5707, allocations: 0 / 477.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01663/0.5873, allocations: 8.457 MB / 486.1 MB, free: 6.125 MB / 410.7 MB