Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007718/0.007718, allocations: 164.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.353/1.353, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00168/0.00168, allocations: 107.4 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.347/0.347, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 8 kB / 362.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 48.71 MB / 411.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5298, allocations: 79.32 MB / 490.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.5302, allocations: 94.44 kB / 491 MB, free: 8.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03061/0.5608, allocations: 11.84 MB / 0.4911 GB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5609, allocations: 0 / 0.4911 GB, free: 14.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5609, allocations: 8 kB / 0.4911 GB, free: 14.43 MB / 346.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.0007709/0.5617, allocations: 0.5003 MB / 0.4916 GB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5617, allocations: 8.031 kB / 0.4916 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.5618, allocations: 27.72 kB / 0.4916 GB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.5621, allocations: 238.6 kB / 0.4918 GB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5622, allocations: 17.94 kB / 0.4918 GB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.5622, allocations: 23.81 kB / 0.4919 GB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.5629, allocations: 372.8 kB / 0.4922 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5629, allocations: 3.938 kB / 0.4922 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.5629, allocations: 11.06 kB / 0.4922 GB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.563, allocations: 20.34 kB / 0.4922 GB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.5635, allocations: 384.3 kB / 0.4926 GB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.5649, allocations: 0.8514 MB / 0.4934 GB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.5653, allocations: 276.9 kB / 0.4937 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.5654, allocations: 3.844 kB / 0.4937 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5654, allocations: 34.56 kB / 0.4937 GB, free: 11.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.5654, allocations: 0 / 0.4937 GB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007612/0.5662, allocations: 347.7 kB / 0.4941 GB, free: 11.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.5663, allocations: 51.41 kB / 0.4941 GB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.5666, allocations: 312.1 kB / 0.4944 GB, free: 11.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5666, allocations: 29.52 kB / 0.4945 GB, free: 11.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5668, allocations: 166.6 kB / 0.4946 GB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.5668, allocations: 65.8 kB / 0.4947 GB, free: 11.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.5668, allocations: 3.312 kB / 0.4947 GB, free: 11.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.567, allocations: 337.8 kB / 0.495 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5672, allocations: 94.88 kB / 0.4951 GB, free: 10.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.5675, allocations: 195.3 kB / 0.4953 GB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.5677, allocations: 133.8 kB / 0.4954 GB, free: 10.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5677, allocations: 0 / 0.4954 GB, free: 10.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005842/0.5683, allocations: 357.9 kB / 0.4957 GB, free: 9.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5683, allocations: 4 kB / 0.4958 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5684, allocations: 4 kB / 0.4958 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5684, allocations: 7.953 kB / 0.4958 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.569, allocations: 123 kB / 0.4959 GB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.571, allocations: 3.655 MB / 0.4994 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.5712, allocations: 34.8 kB / 0.4995 GB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.5713, allocations: 12 kB / 0.4995 GB, free: 6.055 MB / 346.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.0002197/0.5715, allocations: 181.9 kB / 0.4997 GB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.5715, allocations: 27.62 kB / 0.4997 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.5722, allocations: 331.6 kB / 0.5 GB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5722, allocations: 3.953 kB / 0.5 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5722, allocations: 3.984 kB / 0.5 GB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5723, allocations: 0 / 0.5 GB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.5726, allocations: 294.1 kB / 0.5003 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5726, allocations: 0 / 0.5003 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.5731, allocations: 107 kB / 0.5004 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5731, allocations: 0 / 0.5004 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.5731, allocations: 15.86 kB / 0.5004 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.5753, allocations: 3.655 MB / 0.504 GB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5753, allocations: 4.094 kB / 0.504 GB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.5759, allocations: 355.6 kB / 0.5043 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.576, allocations: 104.8 kB / 0.5044 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5761, allocations: 7.625 kB / 0.5044 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.5762, allocations: 8 kB / 0.5044 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.5763, allocations: 23.3 kB / 0.5045 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.5763, allocations: 4 kB / 0.5045 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002902/0.5766, allocations: 240.6 kB / 0.5047 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5766, allocations: 0 / 0.5047 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004764/0.5771, allocations: 74.56 kB / 0.5048 GB, free: 0.6133 MB / 346.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.0003754/0.5775, allocations: 158.9 kB / 0.5049 GB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009371/0.5785, allocations: 308 kB / 0.5052 GB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5785, allocations: 0 / 0.5052 GB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.579, allocations: 174.9 kB / 0.5054 GB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.5793, allocations: 59.27 kB / 0.5054 GB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5805, allocations: 0.6376 MB / 0.5061 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.5809, allocations: 0.7976 MB / 0.5068 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.5812, allocations: 78.83 kB / 0.5069 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.5812, allocations: 23.42 kB / 0.5069 GB, free: 14.42 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5812, allocations: 4 kB / 0.5069 GB, free: 14.42 MB / 362.7 MB Notification: Performance of Templates: time 0.009717/0.591, allocations: 4.968 MB / 0.5118 GB, free: 9.508 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)