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.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,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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004287/0.004287, allocations: 360.2 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.436/4.436, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003586/0.003586, allocations: 227.5 kB / 451 MB, free: 145 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.7146/0.7146, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004758, allocations: 16.95 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 54.86 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5684/0.6748, allocations: 87.65 MB / 0.7657 GB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/0.6752, allocations: 103 kB / 0.7658 GB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0627/0.7379, allocations: 13.35 MB / 0.7788 GB, free: 2.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.738, allocations: 0 / 0.7788 GB, free: 2.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.738, allocations: 4 kB / 0.7788 GB, free: 2.219 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.00138/0.7394, allocations: 0.5797 MB / 0.7794 GB, free: 1.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7395, allocations: 12.03 kB / 0.7794 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.7396, allocations: 27.62 kB / 0.7795 GB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.74, allocations: 262.6 kB / 0.7797 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.7401, allocations: 23.11 kB / 0.7797 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.7402, allocations: 26.31 kB / 0.7797 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.7414, allocations: 437.6 kB / 0.7802 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.7414, allocations: 3.938 kB / 0.7802 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.7415, allocations: 17.58 kB / 0.7802 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.7416, allocations: 16.55 kB / 0.7802 GB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.7428, allocations: 344 kB / 0.7805 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.7453, allocations: 1.1 MB / 0.7816 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.7462, allocations: 249.5 kB / 0.7818 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.7467, allocations: 121.2 kB / 0.782 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.7468, allocations: 11.92 kB / 0.782 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.7469, allocations: 37.75 kB / 0.782 GB, free: 15.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.477e-06/0.7469, allocations: 0 / 0.782 GB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001831/0.7487, allocations: 394.9 kB / 0.7824 GB, free: 14.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.7488, allocations: 114.7 kB / 0.7825 GB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.7495, allocations: 395.4 kB / 0.7829 GB, free: 14.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.7496, allocations: 25.7 kB / 0.7829 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.7498, allocations: 199.4 kB / 0.7831 GB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.7499, allocations: 46.23 kB / 0.7831 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.7499, allocations: 3.375 kB / 0.7831 GB, free: 14.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.7501, allocations: 352.6 kB / 0.7835 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.7507, allocations: 125.7 kB / 0.7836 GB, free: 13.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.7513, allocations: 246.4 kB / 0.7838 GB, free: 13.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.752, allocations: 165.8 kB / 0.784 GB, free: 13.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.7521, allocations: 0 / 0.784 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001527/0.7536, allocations: 426.5 kB / 0.7844 GB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.7536, allocations: 8 kB / 0.7844 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-05/0.7537, allocations: 22.98 kB / 0.7844 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.7538, allocations: 11.95 kB / 0.7844 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.7542, allocations: 55.02 kB / 0.7845 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.7543, allocations: 8 kB / 0.7845 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.7548, allocations: 62.62 kB / 0.7845 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.7548, allocations: 15.38 kB / 0.7846 GB, free: 12.69 MB / 378.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.0002984/0.7552, allocations: 179.7 kB / 0.7847 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.7553, allocations: 27.62 kB / 0.7848 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.7563, allocations: 299.5 kB / 0.785 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.7564, allocations: 4 kB / 0.785 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.7564, allocations: 3.953 kB / 0.7851 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7564, allocations: 4 kB / 0.7851 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.7571, allocations: 311.5 kB / 0.7854 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.789e-05/0.7572, allocations: 15.91 kB / 0.7854 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.7575, allocations: 40.66 kB / 0.7854 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.7575, allocations: 0 / 0.7854 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.7576, allocations: 9.547 kB / 0.7854 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7576, allocations: 0 / 0.7854 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7576, allocations: 4 kB / 0.7854 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.7588, allocations: 0.5293 MB / 0.7859 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.759, allocations: 112.7 kB / 0.786 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.7591, allocations: 4 kB / 0.786 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.7596, allocations: 30.61 kB / 0.7861 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.7597, allocations: 21.75 kB / 0.7861 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.7597, allocations: 9.484 kB / 0.7861 GB, free: 11.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005029/0.7602, allocations: 289.6 kB / 0.7864 GB, free: 10.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7602, allocations: 0 / 0.7864 GB, free: 10.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007731/0.761, allocations: 98.42 kB / 0.7865 GB, free: 10.81 MB / 378.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.0004301/0.7615, allocations: 174.1 kB / 0.7866 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.7629, allocations: 454.3 kB / 0.7871 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7629, allocations: 0 / 0.7871 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.7636, allocations: 286.9 kB / 0.7874 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.7646, allocations: 75.81 kB / 0.7874 GB, free: 9.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.7663, allocations: 0.6764 MB / 0.7881 GB, free: 9.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.7669, allocations: 0.8057 MB / 0.7889 GB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.7672, allocations: 66.92 kB / 0.7889 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.7673, allocations: 23.42 kB / 0.789 GB, free: 8.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7673, allocations: 3.938 kB / 0.789 GB, free: 8.234 MB / 378.7 MB Notification: Performance of Templates: time 0.01635/0.7837, allocations: 5.512 MB / 0.7943 GB, free: 2.801 MB / 378.7 MB