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.StraightPipe.kc_laminar.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.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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.315e-05, allocations: 8 kB / 277.9 MB, free: 15.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08751, allocations: 48.69 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4319, allocations: 82.37 MB / 408.9 MB, free: 8.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4322, allocations: 98.17 kB / 409 MB, free: 8.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04357/0.4758, allocations: 12.17 MB / 421.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.4759, allocations: 0 / 421.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.4759, allocations: 11.94 kB / 421.2 MB, free: 14.46 MB / 330.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.001184/0.4771, allocations: 0.652 MB / 421.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4772, allocations: 8.031 kB / 421.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4773, allocations: 51.42 kB / 421.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.4778, allocations: 290.2 kB / 422.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.4778, allocations: 36.44 kB / 422.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/0.4779, allocations: 45.88 kB / 422.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.4792, allocations: 0.6124 MB / 422.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4792, allocations: 4 kB / 422.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.4793, allocations: 21.12 kB / 422.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.797e-05/0.4793, allocations: 28.98 kB / 423 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.4802, allocations: 422.9 kB / 423.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.4832, allocations: 1.536 MB / 424.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.4839, allocations: 271.7 kB / 425.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.4842, allocations: 123.6 kB / 425.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.4843, allocations: 12.08 kB / 425.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.4843, allocations: 46 kB / 425.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 4.299e-06/0.4843, allocations: 0 / 425.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009207/0.4853, allocations: 305.7 kB / 425.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.4854, allocations: 110.8 kB / 425.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.4862, allocations: 494.4 kB / 426.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.4862, allocations: 29.08 kB / 426.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.4865, allocations: 263.2 kB / 426.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.4866, allocations: 66.08 kB / 426.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.4866, allocations: 3.938 kB / 426.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4868, allocations: 330.2 kB / 426.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.4871, allocations: 130.5 kB / 427 MB, free: 9.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.4876, allocations: 239.2 kB / 427.3 MB, free: 8.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.488, allocations: 170.3 kB / 427.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.725e-06/0.488, allocations: 0 / 427.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.4891, allocations: 414.6 kB / 427.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4891, allocations: 8 kB / 427.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.4892, allocations: 39.95 kB / 427.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4893, allocations: 8 kB / 427.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.4896, allocations: 52.22 kB / 428 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.4897, allocations: 11.94 kB / 428 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.4902, allocations: 71.09 kB / 428 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.4903, allocations: 23.23 kB / 428.1 MB, free: 8.156 MB / 330.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.000173/0.4904, allocations: 132.5 kB / 428.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.4906, allocations: 43.44 kB / 428.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.4918, allocations: 433.3 kB / 428.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4918, allocations: 4 kB / 428.7 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-06/0.4919, allocations: 0 / 428.7 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.395e-06/0.4919, allocations: 7.984 kB / 428.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.4928, allocations: 386.7 kB / 429 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.762e-05/0.4929, allocations: 35.53 kB / 429.1 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.4931, allocations: 35.97 kB / 429.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.4932, allocations: 0 / 429.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.4932, allocations: 11.98 kB / 429.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.478e-06/0.4932, allocations: 4 kB / 429.1 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.538e-06/0.4932, allocations: 4 kB / 429.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.4942, allocations: 0.5744 MB / 429.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.4945, allocations: 185.7 kB / 429.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.4947, allocations: 7.562 kB / 429.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.4951, allocations: 23.97 kB / 429.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4952, allocations: 26.53 kB / 429.9 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.4953, allocations: 11.19 kB / 430 MB, free: 6.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006121/0.4959, allocations: 389 kB / 430.3 MB, free: 6 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.76e-07/0.4959, allocations: 3.938 kB / 430.3 MB, free: 5.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008762/0.4968, allocations: 145.5 kB / 430.5 MB, free: 5.863 MB / 330.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.0004798/0.4973, allocations: 208.9 kB / 430.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.4984, allocations: 0.6073 MB / 431.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.934e-06/0.4984, allocations: 1.062 kB / 431.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.499, allocations: 449.1 kB / 431.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.4998, allocations: 116 kB / 431.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.502, allocations: 0.7 MB / 432.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.5027, allocations: 0.8694 MB / 433.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5028, allocations: 27.44 kB / 433.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of SimCode: time 2.126e-06/0.5028, allocations: 0 / 433.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of Templates: time 0.01669/0.5195, allocations: 8.454 MB / 441.9 MB, free: 10.43 MB / 346.7 MB