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.0008692/0.0008696, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006521/0.006521, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.511/1.511, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3139/0.3139, allocations: 38.03 MB / 308.8 MB, free: 10.38 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.0005721/0.0005721, allocations: 20 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1196, allocations: 57.52 MB / 434.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002436/0.1221, allocations: 1.719 MB / 436.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1237, allocations: 1.107 MB / 437.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1237, allocations: 0 / 437.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.124, allocations: 55.73 kB / 437.5 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1242, allocations: 67.59 kB / 437.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.1246, allocations: 139.6 kB / 437.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.125, allocations: 410.4 kB / 438.1 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.1251, allocations: 33 kB / 438.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.1253, allocations: 111.4 kB / 438.2 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1255, allocations: 147.2 kB / 438.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1255, allocations: 8 kB / 438.4 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.1259, allocations: 191.7 kB / 438.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.126, allocations: 71.66 kB / 438.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1261, allocations: 148.9 kB / 438.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.1266, allocations: 378.5 kB / 439.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1266, allocations: 0 / 439.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1266, allocations: 0 / 439.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1266, allocations: 0 / 439.1 MB, free: 0.6016 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.001072/0.1277, allocations: 0.5849 MB / 439.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1278, allocations: 8.031 kB / 439.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.1278, allocations: 32.56 kB / 439.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1281, allocations: 267.7 kB / 440 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1282, allocations: 24.44 kB / 440.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.1282, allocations: 28 kB / 440.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.1289, allocations: 437.9 kB / 440.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1289, allocations: 3.938 kB / 440.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.129, allocations: 12 kB / 440.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.129, allocations: 20.48 kB / 440.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.1298, allocations: 346 kB / 440.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1311, allocations: 1.1 MB / 442 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.1316, allocations: 255.7 kB / 442.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1319, allocations: 126.5 kB / 442.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.132, allocations: 7.984 kB / 442.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.132, allocations: 42.5 kB / 442.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.132, allocations: 0 / 442.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001041/0.1331, allocations: 393.2 kB / 442.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.1331, allocations: 110.8 kB / 442.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.1336, allocations: 409.4 kB / 443.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1336, allocations: 29.7 kB / 443.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1337, allocations: 187.8 kB / 443.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1338, allocations: 51.28 kB / 443.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1338, allocations: 25.72 kB / 443.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.134, allocations: 346.8 kB / 443.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.1344, allocations: 132.1 kB / 444.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.1347, allocations: 244.5 kB / 444.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.1354, allocations: 395.3 kB / 444.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1354, allocations: 0 / 444.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008306/0.1363, allocations: 428.8 kB / 445.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1363, allocations: 8 kB / 445.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.1363, allocations: 20 kB / 445.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1364, allocations: 4 kB / 445.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.1366, allocations: 60.33 kB / 445.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1366, allocations: 11.88 kB / 445.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.1369, allocations: 63.5 kB / 445.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.137, allocations: 16 kB / 445.3 MB, free: 10.07 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.0001728/0.1371, allocations: 181.7 kB / 445.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.1372, allocations: 31.62 kB / 445.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.1379, allocations: 292.2 kB / 445.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1379, allocations: 4.094 kB / 445.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1379, allocations: 7.875 kB / 445.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1379, allocations: 4 kB / 445.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.1384, allocations: 309.3 kB / 446.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.1384, allocations: 16 kB / 446.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1386, allocations: 31.97 kB / 446.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1386, allocations: 4 kB / 446.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.1386, allocations: 15.98 kB / 446.2 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1387, allocations: 4 kB / 446.2 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1387, allocations: 3.938 kB / 446.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.1394, allocations: 0.5288 MB / 446.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1396, allocations: 108.7 kB / 446.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.1396, allocations: 4 kB / 446.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.1399, allocations: 19.98 kB / 446.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.14, allocations: 19.92 kB / 446.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.14, allocations: 11.92 kB / 446.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.1403, allocations: 295.1 kB / 447.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1403, allocations: 0 / 447.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005122/0.1408, allocations: 91.92 kB / 447.2 MB, free: 8.012 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.000295/0.1411, allocations: 151.1 kB / 447.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007951/0.1419, allocations: 457.9 kB / 447.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1419, allocations: 0.875 kB / 447.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.1423, allocations: 290 kB / 448.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.1429, allocations: 73.81 kB / 448.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.144, allocations: 0.7097 MB / 448.9 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1444, allocations: 0.7989 MB / 449.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1446, allocations: 58.94 kB / 449.7 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.1446, allocations: 27.42 kB / 449.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1446, allocations: 3.938 kB / 449.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of Templates: time 0.1978/0.3424, allocations: 5.334 MB / 455.1 MB, free: 50.65 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: