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/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.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.336/2.336, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.251e-05, allocations: 7.938 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4124, allocations: 88 MB / 446.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.4128, allocations: 87.94 kB / 446.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04725/0.4601, allocations: 12.01 MB / 458.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.595e-06/0.4601, allocations: 0 / 458.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.4601, allocations: 7.938 kB / 458.2 MB, free: 10.54 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.001208/0.4614, allocations: 0.6584 MB / 458.8 MB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4614, allocations: 12.03 kB / 458.8 MB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.4616, allocations: 47.42 kB / 458.9 MB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.4621, allocations: 294.4 kB / 459.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.4621, allocations: 15.98 kB / 459.2 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.4622, allocations: 28 kB / 459.2 MB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008287/0.463, allocations: 378.4 kB / 459.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.4642, allocations: 0.5603 MB / 460.1 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.4642, allocations: 11.89 kB / 460.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.4643, allocations: 0 / 460.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.4643, allocations: 29.25 kB / 460.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.4671, allocations: 1.359 MB / 461.5 MB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.4677, allocations: 259.5 kB / 461.8 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.468, allocations: 130.6 kB / 461.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.4681, allocations: 7.984 kB / 461.9 MB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.4681, allocations: 46.44 kB / 462 MB, free: 6.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.868e-06/0.4681, allocations: 0 / 462 MB, free: 6.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009017/0.469, allocations: 283.9 kB / 462.3 MB, free: 6.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.4691, allocations: 110.9 kB / 462.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.4695, allocations: 215.9 kB / 462.6 MB, free: 5.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4695, allocations: 25.7 kB / 462.6 MB, free: 5.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.4698, allocations: 314 kB / 462.9 MB, free: 5.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.4699, allocations: 67 kB / 463 MB, free: 5.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.4699, allocations: 0 / 463 MB, free: 5.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4701, allocations: 322.8 kB / 463.3 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4704, allocations: 120.2 kB / 463.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.4708, allocations: 231.6 kB / 463.6 MB, free: 4.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.4711, allocations: 163.8 kB / 463.8 MB, free: 4.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.711e-06/0.4711, allocations: 0 / 463.8 MB, free: 4.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009382/0.4721, allocations: 389.4 kB / 464.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4721, allocations: 8 kB / 464.2 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.4722, allocations: 35.97 kB / 464.2 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.4723, allocations: 8 kB / 464.2 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.4726, allocations: 51.89 kB / 464.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.4727, allocations: 11.89 kB / 464.3 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.473, allocations: 39.91 kB / 464.3 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.4731, allocations: 20 kB / 464.3 MB, free: 4.039 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.0001714/0.4733, allocations: 132.8 kB / 464.5 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4734, allocations: 19.72 kB / 464.5 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009769/0.4744, allocations: 399.6 kB / 464.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4745, allocations: 4 kB / 464.9 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.741e-06/0.4745, allocations: 0 / 464.9 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.326e-06/0.4745, allocations: 3.953 kB / 464.9 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.4753, allocations: 349.8 kB / 465.2 MB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.23e-05/0.4754, allocations: 35.95 kB / 465.3 MB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.4756, allocations: 31.97 kB / 465.3 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4756, allocations: 0 / 465.3 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.4757, allocations: 12 kB / 465.3 MB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.575e-06/0.4757, allocations: 3.938 kB / 465.3 MB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/0.4757, allocations: 4 kB / 465.3 MB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.4766, allocations: 0.5468 MB / 465.9 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4767, allocations: 108.8 kB / 466 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.4768, allocations: 0 / 466 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.4772, allocations: 19.98 kB / 466 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.4773, allocations: 23.97 kB / 466 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.4773, allocations: 15.98 kB / 466 MB, free: 2.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.4776, allocations: 164.5 kB / 466.2 MB, free: 2.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.4776, allocations: 4 kB / 466.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008905/0.4785, allocations: 159.5 kB / 466.3 MB, free: 1.941 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.0004326/0.4789, allocations: 201.7 kB / 466.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.4799, allocations: 0.6045 MB / 467.1 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.158e-06/0.4799, allocations: 0 / 467.1 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.4805, allocations: 456.2 kB / 467.6 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.481, allocations: 22.45 kB / 467.6 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2834/0.7644, allocations: 0.6329 MB / 468.3 MB, free: 98.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.7649, allocations: 0.8661 MB / 469.1 MB, free: 98.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.765, allocations: 19.59 kB / 469.1 MB, free: 98.17 MB / 394.7 MB Notification: Performance of SimCode: time 2.181e-06/0.765, allocations: 3.719 kB / 469.1 MB, free: 98.17 MB / 394.7 MB Notification: Performance of Templates: time 0.01204/0.7771, allocations: 6.7 MB / 475.8 MB, free: 97.72 MB / 394.7 MB