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.0008384/0.0008433, allocations: 91.84 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.005962/0.005963, allocations: 170 kB / 16.26 MB, free: 6.613 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.547/1.547, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.3256/0.3256, allocations: 38.03 MB / 308.8 MB, free: 10.13 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.000603/0.000603, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002206/0.127, allocations: 1.586 MB / 436.2 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1284, allocations: 0.8345 MB / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.1285, allocations: 0 / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1287, allocations: 51.8 kB / 437.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.129, allocations: 75.62 kB / 437.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1292, allocations: 67.81 kB / 437.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1296, allocations: 362.6 kB / 437.6 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.449e-05/0.1297, allocations: 32.64 kB / 437.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1298, allocations: 91.53 kB / 437.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.13, allocations: 127.4 kB / 437.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1301, allocations: 8 kB / 437.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1303, allocations: 115.8 kB / 437.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.1304, allocations: 67.67 kB / 438 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1305, allocations: 125 kB / 438.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1308, allocations: 294.7 kB / 438.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1308, allocations: 0 / 438.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1309, allocations: 0 / 438.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1309, allocations: 4 kB / 438.4 MB, free: 1.352 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.0007882/0.1317, allocations: 0.507 MB / 438.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1317, allocations: 12.03 kB / 438.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1318, allocations: 28.56 kB / 438.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1321, allocations: 239.9 kB / 439.2 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1321, allocations: 16.94 kB / 439.2 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.1321, allocations: 24.12 kB / 439.2 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.1328, allocations: 385.2 kB / 439.6 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1328, allocations: 0 / 439.6 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1328, allocations: 15.94 kB / 439.6 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.1329, allocations: 28.62 kB / 439.6 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.1335, allocations: 386.3 kB / 440 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.1346, allocations: 0.8383 MB / 440.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.1351, allocations: 262.3 kB / 441.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.1353, allocations: 96.83 kB / 441.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1353, allocations: 15.92 kB / 441.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1353, allocations: 38.5 kB / 441.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1353, allocations: 0 / 441.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000734/0.1361, allocations: 353 kB / 441.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1361, allocations: 59.39 kB / 441.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.1365, allocations: 342.8 kB / 442 MB, free: 13.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1365, allocations: 25.7 kB / 442 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1366, allocations: 168 kB / 442.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1367, allocations: 55.2 kB / 442.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.1367, allocations: 29.7 kB / 442.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1369, allocations: 334.8 kB / 442.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.1371, allocations: 108.4 kB / 442.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.1374, allocations: 191.9 kB / 442.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.1379, allocations: 318.8 kB / 443.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1379, allocations: 0 / 443.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005797/0.1385, allocations: 360.7 kB / 443.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1385, allocations: 4 kB / 443.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1385, allocations: 4 kB / 443.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1385, allocations: 4 kB / 443.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.1391, allocations: 124.2 kB / 443.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.141, allocations: 3.649 MB / 447.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1412, allocations: 51.8 kB / 447.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.1412, allocations: 8 kB / 447.4 MB, free: 7.914 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1415, allocations: 181.7 kB / 447.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.1415, allocations: 27.56 kB / 447.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.1422, allocations: 339.5 kB / 447.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1422, allocations: 4 kB / 447.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1422, allocations: 0 / 447.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1422, allocations: 3.984 kB / 447.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.1425, allocations: 297.4 kB / 448.2 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1425, allocations: 3.938 kB / 448.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.143, allocations: 115.9 kB / 448.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.143, allocations: 0 / 448.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.143, allocations: 15.98 kB / 448.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.1446, allocations: 3.645 MB / 452 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1446, allocations: 3.938 kB / 452 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.1451, allocations: 364 kB / 452.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.1452, allocations: 108.7 kB / 452.5 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1453, allocations: 4 kB / 452.5 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1454, allocations: 15.92 kB / 452.5 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.1455, allocations: 19.92 kB / 452.5 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1455, allocations: 4 kB / 452.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.1457, allocations: 245.9 kB / 452.8 MB, free: 2.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1457, allocations: 4 kB / 452.8 MB, free: 2.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1461, allocations: 75.94 kB / 452.8 MB, free: 2.234 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002002/0.1463, allocations: 135.1 kB / 453 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.1471, allocations: 328.5 kB / 453.3 MB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1471, allocations: 4 kB / 453.3 MB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.1477, allocations: 195.7 kB / 453.5 MB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.1482, allocations: 68.78 kB / 453.5 MB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.1491, allocations: 0.6564 MB / 454.2 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1858/0.3349, allocations: 0.791 MB / 455 MB, free: 50.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.3353, allocations: 83.42 kB / 455.1 MB, free: 50.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.3353, allocations: 22.44 kB / 455.1 MB, free: 50.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3354, allocations: 0 / 455.1 MB, free: 50.81 MB / 382.1 MB Notification: Performance of Templates: time 0.007276/0.3426, allocations: 5.031 MB / 460.1 MB, free: 50.61 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: