Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,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.|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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002709/0.002714, allocations: 351.5 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.898/3.898, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003464/0.003464, allocations: 218.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6154/0.6154, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007396/0.0007399, allocations: 8 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1193, allocations: 48.69 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5525, allocations: 79.32 MB / 0.6842 GB, free: 33.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.5529, allocations: 99.94 kB / 0.6843 GB, free: 33.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05333/0.6063, allocations: 11.83 MB / 0.6959 GB, free: 21.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6063, allocations: 0 / 0.6959 GB, free: 21.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.6064, allocations: 6.094 kB / 0.6959 GB, free: 21.68 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001181/0.6076, allocations: 0.5026 MB / 0.6964 GB, free: 21.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6076, allocations: 18.14 kB / 0.6964 GB, free: 21.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.6078, allocations: 25.44 kB / 0.6964 GB, free: 21.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.6082, allocations: 238.6 kB / 0.6966 GB, free: 20.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.6083, allocations: 24.55 kB / 0.6967 GB, free: 20.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.6084, allocations: 24 kB / 0.6967 GB, free: 20.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6096, allocations: 368.7 kB / 0.697 GB, free: 20.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6097, allocations: 0 / 0.697 GB, free: 20.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.6097, allocations: 8 kB / 0.697 GB, free: 20.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/0.6098, allocations: 24.64 kB / 0.6971 GB, free: 20.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.6112, allocations: 385.5 kB / 0.6974 GB, free: 20.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.6135, allocations: 0.8308 MB / 0.6982 GB, free: 19.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/0.6145, allocations: 266.3 kB / 0.6985 GB, free: 18.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.6149, allocations: 100.2 kB / 0.6986 GB, free: 18.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.615, allocations: 14.73 kB / 0.6986 GB, free: 18.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.615, allocations: 38.52 kB / 0.6986 GB, free: 18.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.616e-06/0.615, allocations: 3.938 kB / 0.6986 GB, free: 18.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00148/0.6165, allocations: 340.7 kB / 0.699 GB, free: 18.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6166, allocations: 59.39 kB / 0.699 GB, free: 18.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.6172, allocations: 335.5 kB / 0.6993 GB, free: 17.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.6172, allocations: 26.73 kB / 0.6994 GB, free: 17.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.6174, allocations: 168 kB / 0.6995 GB, free: 17.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.6175, allocations: 59.19 kB / 0.6996 GB, free: 17.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.6175, allocations: 4.594 kB / 0.6996 GB, free: 17.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6177, allocations: 339.9 kB / 0.6999 GB, free: 17.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.6181, allocations: 105.7 kB / 0.7 GB, free: 17.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.6187, allocations: 190.1 kB / 0.7002 GB, free: 17.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.6192, allocations: 132.3 kB / 0.7003 GB, free: 16.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6192, allocations: 0 / 0.7003 GB, free: 16.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001286/0.6205, allocations: 353.4 kB / 0.7007 GB, free: 16.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.6206, allocations: 8 kB / 0.7007 GB, free: 16.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6206, allocations: 10.14 kB / 0.7007 GB, free: 16.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.6206, allocations: 4 kB / 0.7007 GB, free: 16.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.622, allocations: 119.9 kB / 0.7008 GB, free: 16.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.6243, allocations: 3.657 MB / 0.7044 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.6249, allocations: 43.48 kB / 0.7044 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.6249, allocations: 17.36 kB / 0.7044 GB, free: 12.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.6253, allocations: 175.7 kB / 0.7046 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.6254, allocations: 31.61 kB / 0.7046 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.6268, allocations: 337.1 kB / 0.7049 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6268, allocations: 0 / 0.7049 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6268, allocations: 0 / 0.7049 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.6268, allocations: 0 / 0.7049 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.6275, allocations: 293.4 kB / 0.7052 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6275, allocations: 3.984 kB / 0.7052 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.6287, allocations: 108 kB / 0.7053 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.6287, allocations: 0 / 0.7053 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.6288, allocations: 7.984 kB / 0.7053 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.6309, allocations: 3.659 MB / 0.7089 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.631, allocations: 8.031 kB / 0.7089 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6321, allocations: 355.3 kB / 0.7093 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.6323, allocations: 100.8 kB / 0.7094 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.6324, allocations: 11.94 kB / 0.7094 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.6328, allocations: 15.94 kB / 0.7094 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.6329, allocations: 15.98 kB / 0.7094 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.6329, allocations: 4 kB / 0.7094 GB, free: 7.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004507/0.6334, allocations: 245.9 kB / 0.7096 GB, free: 7.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.6334, allocations: 0 / 0.7096 GB, free: 7.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008413/0.6343, allocations: 79.94 kB / 0.7097 GB, free: 6.953 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.6347, allocations: 156.8 kB / 0.7099 GB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.6367, allocations: 323.8 kB / 0.7102 GB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6367, allocations: 1.5 kB / 0.7102 GB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.6381, allocations: 200.1 kB / 0.7104 GB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.6391, allocations: 67.03 kB / 0.7104 GB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6409, allocations: 0.632 MB / 0.711 GB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.6413, allocations: 0.7999 MB / 0.7118 GB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004652/0.6418, allocations: 77.5 kB / 0.7119 GB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.642, allocations: 23.44 kB / 0.7119 GB, free: 4.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.642, allocations: 0 / 0.7119 GB, free: 4.66 MB / 362.7 MB Notification: Performance of Templates: time 0.0178/0.6598, allocations: 5.112 MB / 0.7169 GB, free: 15.69 MB / 378.7 MB