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.000937/0.000937, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001047/0.001047, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 222.1 MB, free: 5.336 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3614/0.3614, allocations: 38.03 MB / 308.4 MB, free: 10.7 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.0006859/0.0006863, allocations: 12 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1231, allocations: 57.52 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003401/0.1265, allocations: 1.673 MB / 435.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1284, allocations: 1.014 MB / 436.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1286, allocations: 4 kB / 436.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1289, allocations: 47.73 kB / 436.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1292, allocations: 71.58 kB / 436.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.1298, allocations: 123.6 kB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.1303, allocations: 362.5 kB / 437.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.1304, allocations: 40.97 kB / 437.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1307, allocations: 123.4 kB / 437.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.1309, allocations: 135.4 kB / 437.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.131, allocations: 8 kB / 437.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.1314, allocations: 179.8 kB / 437.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.1315, allocations: 71.66 kB / 437.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1317, allocations: 65.58 kB / 437.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.1321, allocations: 271.2 kB / 438.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1321, allocations: 0 / 438.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1321, allocations: 3.938 kB / 438.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1321, allocations: 0 / 438.1 MB, free: 1.336 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.001029/0.1331, allocations: 0.5963 MB / 438.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1332, allocations: 8.031 kB / 438.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.1333, allocations: 35.58 kB / 438.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1335, allocations: 250.5 kB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1336, allocations: 16.56 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1336, allocations: 35.98 kB / 439.1 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.1344, allocations: 445.8 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1344, allocations: 0 / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.1344, allocations: 8 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.1344, allocations: 16.56 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.1351, allocations: 349.9 kB / 439.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1365, allocations: 1.092 MB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.137, allocations: 263.7 kB / 441.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.1373, allocations: 122.4 kB / 441.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.1374, allocations: 4 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1374, allocations: 38.55 kB / 441.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1374, allocations: 0 / 441.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009329/0.1383, allocations: 397.1 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1384, allocations: 106.8 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.1388, allocations: 401.5 kB / 442.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1389, allocations: 33.7 kB / 442.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.139, allocations: 187.8 kB / 442.5 MB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1391, allocations: 55.3 kB / 442.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.1391, allocations: 4 kB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1392, allocations: 342.8 kB / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.1395, allocations: 128.1 kB / 443 MB, free: 12.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.1399, allocations: 248.5 kB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.1403, allocations: 155.9 kB / 443.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.1403, allocations: 7.938 kB / 443.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008182/0.1411, allocations: 421.1 kB / 443.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1411, allocations: 8 kB / 443.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.057e-05/0.1412, allocations: 27.98 kB / 443.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1412, allocations: 7.984 kB / 443.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1415, allocations: 56.03 kB / 443.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1415, allocations: 11.98 kB / 443.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1417, allocations: 59.52 kB / 444 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1418, allocations: 16.12 kB / 444 MB, free: 11.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.142, allocations: 182.6 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.411e-05/0.1421, allocations: 35.56 kB / 444.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.1427, allocations: 292.5 kB / 444.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1427, allocations: 11.98 kB / 444.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1427, allocations: 0 / 444.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1427, allocations: 0 / 444.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.1432, allocations: 309.3 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.1432, allocations: 23.98 kB / 444.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1434, allocations: 27.97 kB / 444.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1434, allocations: 4 kB / 444.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1434, allocations: 4 kB / 444.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1434, allocations: 4 kB / 444.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1434, allocations: 0 / 444.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/0.1442, allocations: 0.5326 MB / 445.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1443, allocations: 108.7 kB / 445.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.1443, allocations: 3.938 kB / 445.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1446, allocations: 31.97 kB / 445.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.1446, allocations: 11.98 kB / 445.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1447, allocations: 12 kB / 445.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.145, allocations: 283.1 kB / 445.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.145, allocations: 0 / 445.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005159/0.1455, allocations: 99.94 kB / 446 MB, free: 9.082 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 (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.0003122/0.1458, allocations: 147.1 kB / 446.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007852/0.1466, allocations: 450.4 kB / 446.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1466, allocations: 0 / 446.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.147, allocations: 294.7 kB / 446.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.1476, allocations: 77.33 kB / 446.9 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1487, allocations: 0.6823 MB / 447.6 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.1491, allocations: 0.7989 MB / 448.4 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.1493, allocations: 66.91 kB / 448.4 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.1493, allocations: 23.44 kB / 448.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1493, allocations: 0 / 448.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of Templates: time 0.009535/0.1589, allocations: 5.213 MB / 453.7 MB, free: 1.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: