Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004115/0.004121, allocations: 360.4 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.047/4.047, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003533/0.003532, allocations: 237.4 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6603/0.6603, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004732, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5316/0.6813, allocations: 85.7 MB / 0.7638 GB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004825/0.6818, allocations: 106.8 kB / 0.7639 GB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06746/0.7493, allocations: 11.84 MB / 0.7755 GB, free: 5.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7494, allocations: 0 / 0.7755 GB, free: 5.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.7494, allocations: 7.125 kB / 0.7755 GB, free: 5.473 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.001026/0.7504, allocations: 0.5013 MB / 0.776 GB, free: 4.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7505, allocations: 12.03 kB / 0.776 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.7506, allocations: 31.36 kB / 0.776 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.751, allocations: 238.4 kB / 0.7762 GB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.7511, allocations: 26.55 kB / 0.7763 GB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.7511, allocations: 22.88 kB / 0.7763 GB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.7521, allocations: 363.1 kB / 0.7766 GB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.7522, allocations: 0 / 0.7766 GB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.7522, allocations: 11.06 kB / 0.7766 GB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.7523, allocations: 27.59 kB / 0.7767 GB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7533, allocations: 383.2 kB / 0.777 GB, free: 4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.7554, allocations: 0.832 MB / 0.7778 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.7563, allocations: 272.1 kB / 0.7781 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.7567, allocations: 101.4 kB / 0.7782 GB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.7567, allocations: 4 kB / 0.7782 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.7568, allocations: 37.94 kB / 0.7782 GB, free: 2.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/0.7568, allocations: 0 / 0.7782 GB, free: 2.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001287/0.7581, allocations: 343.4 kB / 0.7786 GB, free: 2.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.7582, allocations: 55.41 kB / 0.7786 GB, free: 2.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.7587, allocations: 339.2 kB / 0.7789 GB, free: 2.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.7588, allocations: 29.39 kB / 0.779 GB, free: 2.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.759, allocations: 164.6 kB / 0.7791 GB, free: 2.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.7591, allocations: 58 kB / 0.7792 GB, free: 1.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.7591, allocations: 3.5 kB / 0.7792 GB, free: 1.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7593, allocations: 345.1 kB / 0.7795 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.7597, allocations: 110.3 kB / 0.7796 GB, free: 1.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.7602, allocations: 197.9 kB / 0.7798 GB, free: 1.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.7607, allocations: 135 kB / 0.7799 GB, free: 1.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.7607, allocations: 0 / 0.7799 GB, free: 1.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001095/0.7618, allocations: 349.5 kB / 0.7803 GB, free: 0.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.7618, allocations: 8 kB / 0.7803 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7619, allocations: 4.375 kB / 0.7803 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.7619, allocations: 8 kB / 0.7803 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7629, allocations: 120.8 kB / 0.7804 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.7657, allocations: 3.654 MB / 0.784 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.7662, allocations: 39.3 kB / 0.784 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.7663, allocations: 14.88 kB / 0.784 GB, free: 13 MB / 378.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.000305/0.7666, allocations: 190.4 kB / 0.7842 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.7667, allocations: 27.62 kB / 0.7842 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.7678, allocations: 332.7 kB / 0.7845 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.7679, allocations: 0 / 0.7845 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7679, allocations: 0 / 0.7845 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7679, allocations: 8 kB / 0.7845 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.7686, allocations: 291.8 kB / 0.7848 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7686, allocations: 0 / 0.7848 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/0.7696, allocations: 111.9 kB / 0.7849 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.7696, allocations: 4 kB / 0.7849 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.7696, allocations: 6.125 kB / 0.7849 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.7723, allocations: 3.652 MB / 0.7885 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7724, allocations: 0 / 0.7885 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.7733, allocations: 372.2 kB / 0.7889 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.7735, allocations: 100.8 kB / 0.789 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.7736, allocations: 0 / 0.789 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.7739, allocations: 10.94 kB / 0.789 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.774, allocations: 23.47 kB / 0.789 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.774, allocations: 4 kB / 0.789 GB, free: 7.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.7744, allocations: 245.8 kB / 0.7892 GB, free: 7.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7744, allocations: 0 / 0.7892 GB, free: 7.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005769/0.775, allocations: 75.31 kB / 0.7893 GB, free: 7.578 MB / 378.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.0003545/0.7754, allocations: 157.5 kB / 0.7895 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.7771, allocations: 334.1 kB / 0.7898 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7772, allocations: 0 / 0.7898 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7783, allocations: 188.2 kB / 0.79 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.7791, allocations: 70.11 kB / 0.79 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.7808, allocations: 0.6358 MB / 0.7906 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.7813, allocations: 0.794 MB / 0.7914 GB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.7818, allocations: 86.81 kB / 0.7915 GB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.7819, allocations: 27.38 kB / 0.7915 GB, free: 5.363 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7819, allocations: 0 / 0.7915 GB, free: 5.363 MB / 378.7 MB Notification: Performance of Templates: time 0.01611/0.798, allocations: 5.103 MB / 0.7965 GB, free: 336 kB / 378.7 MB