Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.0008372/0.0008371, allocations: 90.52 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.005965/0.005966, allocations: 171.1 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.846/1.846, 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.2+maint.om/package.mo): time 0.4415/0.4415, allocations: 40 MB / 310.7 MB, free: 9.566 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.2. 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.0005812/0.0005813, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.145, allocations: 57.96 MB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002343/0.1474, allocations: 1.583 MB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1488, allocations: 0.8228 MB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.1489, allocations: 4 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1492, allocations: 47.8 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1495, allocations: 75.64 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1497, allocations: 87.7 kB / 440.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.1501, allocations: 362.6 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.1502, allocations: 32.66 kB / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1504, allocations: 91.45 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1506, allocations: 131.4 kB / 440.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1506, allocations: 8 kB / 440.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.1508, allocations: 115.8 kB / 440.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.1509, allocations: 55.75 kB / 440.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1511, allocations: 136.9 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.1514, allocations: 290.8 kB / 441.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1514, allocations: 0 / 441.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.654e-06/0.1515, allocations: 0 / 441.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1515, allocations: 3.938 kB / 441.3 MB, free: 14.05 MB / 382.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.000854/0.1523, allocations: 0.5146 MB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1524, allocations: 8.031 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.1525, allocations: 24.66 kB / 441.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1527, allocations: 235.9 kB / 442 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1528, allocations: 24.92 kB / 442.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.1528, allocations: 32.06 kB / 442.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.1535, allocations: 381.2 kB / 442.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1535, allocations: 0 / 442.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.1535, allocations: 11.98 kB / 442.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.1536, allocations: 24.64 kB / 442.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.1542, allocations: 386.3 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1555, allocations: 0.8306 MB / 443.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1559, allocations: 270.4 kB / 444 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1562, allocations: 96.78 kB / 444.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1562, allocations: 7.938 kB / 444.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1562, allocations: 34.55 kB / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1562, allocations: 4 kB / 444.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007823/0.157, allocations: 353.1 kB / 444.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1571, allocations: 51.41 kB / 444.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.1575, allocations: 342.9 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1575, allocations: 33.7 kB / 444.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1576, allocations: 171.9 kB / 445 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1577, allocations: 55.2 kB / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1578, allocations: 29.7 kB / 445.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1579, allocations: 338.8 kB / 445.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1581, allocations: 104.4 kB / 445.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.1584, allocations: 184 kB / 445.7 MB, free: 9.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.1589, allocations: 326.1 kB / 446 MB, free: 8.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1589, allocations: 0 / 446 MB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006208/0.1596, allocations: 360.8 kB / 446.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1596, allocations: 8 kB / 446.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1596, allocations: 4 kB / 446.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1596, allocations: 4 kB / 446.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.1602, allocations: 123.9 kB / 446.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.1625, allocations: 3.653 MB / 450.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1627, allocations: 51.73 kB / 450.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1628, allocations: 20 kB / 450.3 MB, free: 4.598 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.0002629/0.163, allocations: 173.7 kB / 450.4 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.1631, allocations: 27.72 kB / 450.5 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.1638, allocations: 339.4 kB / 450.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1638, allocations: 0 / 450.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1638, allocations: 0 / 450.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1638, allocations: 0 / 450.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.1642, allocations: 305.3 kB / 451.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1642, allocations: 0 / 451.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.1646, allocations: 111.9 kB / 451.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1647, allocations: 0 / 451.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.1647, allocations: 8 kB / 451.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.286/0.4507, allocations: 3.647 MB / 454.9 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4508, allocations: 3.75 kB / 454.9 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.4515, allocations: 359.3 kB / 455.2 MB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.4516, allocations: 108.2 kB / 455.3 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.4516, allocations: 9.156 kB / 455.3 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4518, allocations: 11.84 kB / 455.3 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.4519, allocations: 14.59 kB / 455.3 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4519, allocations: 7.531 kB / 455.4 MB, free: 48.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.4522, allocations: 246.5 kB / 455.6 MB, free: 48.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4522, allocations: 0 / 455.6 MB, free: 48.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.4526, allocations: 76.89 kB / 455.7 MB, free: 48.84 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.0002472/0.4528, allocations: 129.2 kB / 455.8 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008661/0.4537, allocations: 339.6 kB / 456.1 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4537, allocations: 0 / 456.1 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.4542, allocations: 199.3 kB / 456.3 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4547, allocations: 62.27 kB / 456.4 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00098/0.4557, allocations: 0.6632 MB / 457 MB, free: 48.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.4559, allocations: 0.7928 MB / 457.8 MB, free: 47.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.4561, allocations: 82.81 kB / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.4562, allocations: 25.91 kB / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4562, allocations: 0 / 457.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of Templates: time 0.008607/0.4648, allocations: 5.017 MB / 463 MB, free: 47.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) Environment - environmentSimulation: