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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00751/0.00751, allocations: 101.7 kB / 15.73 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1988/0.1988, allocations: 38.01 MB / 307.9 MB, free: 5.984 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 69.62 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 56.46 MB / 489.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003521/0.1372, allocations: 1.999 MB / 491.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1389, allocations: 1.115 MB / 492.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.139, allocations: 0 / 492.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1393, allocations: 63.64 kB / 492.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1396, allocations: 83.47 kB / 492.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.1401, allocations: 163.3 kB / 492.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.1405, allocations: 318.6 kB / 493.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.1406, allocations: 36.72 kB / 493.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1408, allocations: 119.4 kB / 493.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.141, allocations: 135.3 kB / 493.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.141, allocations: 8 kB / 493.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.1414, allocations: 199.7 kB / 493.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.1415, allocations: 75.62 kB / 493.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1416, allocations: 135.1 kB / 493.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.1421, allocations: 382.6 kB / 494.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1421, allocations: 0 / 494.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1421, allocations: 0 / 494.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1421, allocations: 0 / 494.3 MB, free: 1.039 MB / 366.1 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.001146/0.1433, allocations: 0.6276 MB / 494.9 MB, free: 372 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1433, allocations: 12.03 kB / 494.9 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.1434, allocations: 32.56 kB / 495 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1437, allocations: 251.6 kB / 495.2 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1438, allocations: 24.56 kB / 495.2 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.1438, allocations: 24.05 kB / 495.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.1446, allocations: 433.8 kB / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1446, allocations: 0 / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1446, allocations: 15.94 kB / 495.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.1447, allocations: 24.48 kB / 495.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006834/0.1453, allocations: 318 kB / 496 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1469, allocations: 1.096 MB / 497.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.1474, allocations: 247.7 kB / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.1476, allocations: 114.5 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1477, allocations: 4 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1477, allocations: 38.5 kB / 497.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1477, allocations: 0 / 497.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001131/0.1489, allocations: 353.2 kB / 497.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.149, allocations: 114.7 kB / 498 MB, free: 13.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.1495, allocations: 409.5 kB / 498.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1495, allocations: 25.7 kB / 498.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1498, allocations: 195.7 kB / 498.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.1498, allocations: 47.36 kB / 498.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1499, allocations: 61.84 kB / 498.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1501, allocations: 346.8 kB / 499 MB, free: 12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.1504, allocations: 120.1 kB / 499.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.1508, allocations: 227.8 kB / 499.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.1515, allocations: 367.3 kB / 499.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1515, allocations: 4 kB / 499.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008983/0.1524, allocations: 396.8 kB / 0.4884 GB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.1524, allocations: 8 kB / 0.4884 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-05/0.1525, allocations: 24 kB / 0.4884 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.1525, allocations: 4 kB / 0.4884 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.1528, allocations: 52.08 kB / 0.4885 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.1528, allocations: 11.88 kB / 0.4885 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.1531, allocations: 67.78 kB / 0.4886 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.1531, allocations: 12 kB / 0.4886 GB, free: 10.62 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.1533, allocations: 185.5 kB / 0.4888 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.1534, allocations: 31.62 kB / 0.4888 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006473/0.1541, allocations: 288.1 kB / 0.4891 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1541, allocations: 0 / 0.4891 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.1541, allocations: 7.938 kB / 0.4891 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1541, allocations: 0 / 0.4891 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.1546, allocations: 309.3 kB / 0.4894 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/0.1547, allocations: 20 kB / 0.4894 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1548, allocations: 19.97 kB / 0.4894 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1548, allocations: 4 kB / 0.4894 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.1549, allocations: 7.984 kB / 0.4894 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1549, allocations: 8 kB / 0.4894 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1549, allocations: 7.938 kB / 0.4894 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.1556, allocations: 0.4976 MB / 0.4899 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.1557, allocations: 104.7 kB / 0.49 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.1558, allocations: 3.984 kB / 0.49 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.156, allocations: 15.98 kB / 0.49 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.1561, allocations: 19.92 kB / 0.4901 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1562, allocations: 8 kB / 0.4901 GB, free: 9.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.1565, allocations: 291.1 kB / 0.4903 GB, free: 8.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1565, allocations: 0 / 0.4903 GB, free: 8.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005118/0.157, allocations: 99.84 kB / 0.4904 GB, free: 8.625 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.1573, allocations: 155.1 kB / 0.4906 GB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.1581, allocations: 437.8 kB / 0.491 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1581, allocations: 1.062 kB / 0.491 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.1585, allocations: 274.1 kB / 0.4913 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.1591, allocations: 76.19 kB / 0.4913 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1602, allocations: 0.6045 MB / 0.4919 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.1609, allocations: 0.7948 MB / 0.4927 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.161, allocations: 66.91 kB / 0.4928 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.1611, allocations: 27.44 kB / 0.4928 GB, free: 6.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1611, allocations: 0 / 0.4928 GB, free: 6.07 MB / 382.1 MB Notification: Performance of Templates: time 0.0103/0.1714, allocations: 5.73 MB / 0.4984 GB, free: 368 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)