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.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,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004171/0.004176, allocations: 345.7 kB / 15.93 MB, free: 6.223 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.834/3.834, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003661/0.003661, allocations: 225.5 kB / 397.9 MB, free: 4.969 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.469/0.469, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 15.98 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08824, allocations: 48.7 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5545, allocations: 81.33 MB / 0.6862 GB, free: 31.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000447/0.5551, allocations: 99.94 kB / 0.6863 GB, free: 31.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05877/0.6139, allocations: 13.35 MB / 0.6993 GB, free: 18.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6139, allocations: 0 / 0.6993 GB, free: 18.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.6139, allocations: 4 kB / 0.6993 GB, free: 18.14 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001181/0.6151, allocations: 0.5807 MB / 0.6999 GB, free: 17.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6152, allocations: 8.031 kB / 0.6999 GB, free: 17.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.6153, allocations: 35.53 kB / 0.6999 GB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.6157, allocations: 250.6 kB / 0.7002 GB, free: 17.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.6157, allocations: 22.67 kB / 0.7002 GB, free: 17.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.6158, allocations: 28 kB / 0.7002 GB, free: 17.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6169, allocations: 440.3 kB / 0.7006 GB, free: 16.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6169, allocations: 4.969 kB / 0.7006 GB, free: 16.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.617, allocations: 9.5 kB / 0.7006 GB, free: 16.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.6171, allocations: 26.64 kB / 0.7007 GB, free: 16.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.6182, allocations: 345.1 kB / 0.701 GB, free: 16.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.6202, allocations: 1.101 MB / 0.7021 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000777/0.621, allocations: 251.8 kB / 0.7023 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.6215, allocations: 125 kB / 0.7024 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.6215, allocations: 10.42 kB / 0.7024 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.6216, allocations: 30.56 kB / 0.7025 GB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.6216, allocations: 0 / 0.7025 GB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.00161/0.6232, allocations: 393.3 kB / 0.7028 GB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6233, allocations: 106.8 kB / 0.7029 GB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.6239, allocations: 401.5 kB / 0.7033 GB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6239, allocations: 29.95 kB / 0.7034 GB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.624, allocations: 207.4 kB / 0.7036 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.6241, allocations: 43.36 kB / 0.7036 GB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.6242, allocations: 8 kB / 0.7036 GB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.6242, allocations: 346.8 kB / 0.7039 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.6248, allocations: 132 kB / 0.7041 GB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.6254, allocations: 245 kB / 0.7043 GB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.6259, allocations: 160 kB / 0.7044 GB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.626, allocations: 0 / 0.7044 GB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001342/0.6273, allocations: 422.9 kB / 0.7049 GB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6274, allocations: 11.98 kB / 0.7049 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.039e-05/0.6274, allocations: 20 kB / 0.7049 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.6275, allocations: 8 kB / 0.7049 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.6279, allocations: 62.98 kB / 0.7049 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.6279, allocations: 11.94 kB / 0.705 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.6284, allocations: 59.5 kB / 0.705 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.6285, allocations: 16 kB / 0.705 GB, free: 12.01 MB / 362.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: 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002423/0.6287, allocations: 187.7 kB / 0.7052 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6289, allocations: 27.62 kB / 0.7052 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.6298, allocations: 301.3 kB / 0.7055 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6298, allocations: 4 kB / 0.7055 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6298, allocations: 0 / 0.7055 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6299, allocations: 4 kB / 0.7055 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.6305, allocations: 301.4 kB / 0.7058 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/0.6305, allocations: 16 kB / 0.7058 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.6308, allocations: 35.97 kB / 0.7059 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.6308, allocations: 4 kB / 0.7059 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.6309, allocations: 7.984 kB / 0.7059 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.6309, allocations: 4 kB / 0.7059 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6309, allocations: 0 / 0.7059 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.632, allocations: 0.5447 MB / 0.7064 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6322, allocations: 124.7 kB / 0.7065 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.6323, allocations: 7.984 kB / 0.7065 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.6328, allocations: 27.98 kB / 0.7066 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.6329, allocations: 11.98 kB / 0.7066 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.6329, allocations: 13.92 kB / 0.7066 GB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.6334, allocations: 283.1 kB / 0.7069 GB, free: 10.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6334, allocations: 4 kB / 0.7069 GB, free: 10.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007542/0.6341, allocations: 103.9 kB / 0.707 GB, free: 9.945 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003823/0.6345, allocations: 181.4 kB / 0.7071 GB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.6358, allocations: 449.9 kB / 0.7076 GB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6358, allocations: 0 / 0.7076 GB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.6364, allocations: 290.9 kB / 0.7078 GB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.6374, allocations: 80.77 kB / 0.7079 GB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.639, allocations: 0.681 MB / 0.7086 GB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6393, allocations: 0.8028 MB / 0.7094 GB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.6397, allocations: 61.62 kB / 0.7094 GB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.6398, allocations: 27.42 kB / 0.7095 GB, free: 7.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6398, allocations: 0 / 0.7095 GB, free: 7.277 MB / 362.7 MB Notification: Performance of Templates: time 0.01427/0.654, allocations: 5.499 MB / 0.7148 GB, free: 1.934 MB / 362.7 MB