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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008381/0.0008435, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009818/0.0009819, allocations: 168.7 kB / 15.95 MB, free: 204 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.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3339/0.3339, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0006417/0.0006419, allocations: 15.98 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 57.52 MB / 434 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002208/0.1172, allocations: 1.556 MB / 435.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1186, allocations: 0.7572 MB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1187, allocations: 3.938 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.119, allocations: 43.8 kB / 436.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.1193, allocations: 91.56 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1196, allocations: 59.81 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.1199, allocations: 306.6 kB / 436.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.12, allocations: 44.62 kB / 436.8 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1202, allocations: 91.52 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1204, allocations: 123.5 kB / 437 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1204, allocations: 4 kB / 437.1 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1207, allocations: 119.8 kB / 437.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.1207, allocations: 59.73 kB / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.1208, allocations: 69.52 kB / 437.3 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1211, allocations: 211.3 kB / 437.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1211, allocations: 0 / 437.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1211, allocations: 0 / 437.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1211, allocations: 0 / 437.5 MB, free: 1.98 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006893/0.1218, allocations: 0.5068 MB / 438 MB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1219, allocations: 16.03 kB / 438 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1219, allocations: 31.58 kB / 438.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1222, allocations: 234.6 kB / 438.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1222, allocations: 16.55 kB / 438.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1223, allocations: 24 kB / 438.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.1229, allocations: 377.3 kB / 438.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1229, allocations: 0 / 438.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1229, allocations: 7.984 kB / 438.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.123, allocations: 36.59 kB / 438.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.1235, allocations: 386.2 kB / 439.1 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1247, allocations: 0.8346 MB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.1252, allocations: 254.3 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1254, allocations: 108.8 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1254, allocations: 4 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1254, allocations: 42.44 kB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1255, allocations: 0 / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007187/0.1262, allocations: 349.5 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1262, allocations: 59.39 kB / 440.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.1266, allocations: 330.9 kB / 441.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1266, allocations: 33.7 kB / 441.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1267, allocations: 168 kB / 441.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1268, allocations: 55.2 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.1268, allocations: 8 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1269, allocations: 342.8 kB / 441.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1271, allocations: 100.4 kB / 441.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1274, allocations: 191.9 kB / 441.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1276, allocations: 131.8 kB / 442.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1276, allocations: 4 kB / 442.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000596/0.1282, allocations: 357.1 kB / 442.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1283, allocations: 8 kB / 442.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1283, allocations: 0 / 442.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1283, allocations: 11.94 kB / 442.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.1289, allocations: 119.9 kB / 442.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.131, allocations: 3.657 MB / 446.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1312, allocations: 47.52 kB / 446.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.1313, allocations: 12 kB / 446.3 MB, free: 8.797 MB / 382.1 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.0002418/0.1315, allocations: 182.9 kB / 446.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.1316, allocations: 27.62 kB / 446.5 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/0.1322, allocations: 331.7 kB / 446.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1322, allocations: 3.984 kB / 446.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1323, allocations: 4 kB / 446.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1323, allocations: 0 / 446.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.1326, allocations: 301.3 kB / 447.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1326, allocations: 0 / 447.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.1331, allocations: 115.9 kB / 447.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1331, allocations: 0 / 447.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1331, allocations: 8 kB / 447.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.135, allocations: 3.649 MB / 450.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.135, allocations: 4.281 kB / 450.9 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.1355, allocations: 355.5 kB / 451.2 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.1356, allocations: 112.7 kB / 451.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.1357, allocations: 3.938 kB / 451.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1358, allocations: 16 kB / 451.4 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.1359, allocations: 11.97 kB / 451.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1359, allocations: 12 kB / 451.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1362, allocations: 241.9 kB / 451.6 MB, free: 3.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1362, allocations: 0 / 451.6 MB, free: 3.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.1366, allocations: 79.84 kB / 451.7 MB, free: 3.137 MB / 382.1 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.0002465/0.1369, allocations: 135.2 kB / 451.8 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008465/0.1377, allocations: 332.6 kB / 452.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1377, allocations: 0 / 452.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.1382, allocations: 192 kB / 452.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1387, allocations: 60.75 kB / 452.4 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1397, allocations: 0.6408 MB / 453 MB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.1402, allocations: 0.7988 MB / 453.8 MB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.1404, allocations: 78.89 kB / 453.9 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.1405, allocations: 19.44 kB / 453.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1405, allocations: 0 / 453.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of Templates: time 0.2047/0.3452, allocations: 4.888 MB / 458.8 MB, free: 50.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: