Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001266/0.001266, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.623/1.623, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3707/0.3707, allocations: 39.93 MB / 309.4 MB, free: 8.875 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.001442/0.001442, allocations: 64.52 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1478, allocations: 56.88 MB / 434 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003768/0.1516, allocations: 1.89 MB / 435.9 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1541, allocations: 1.668 MB / 437.6 MB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.1542, allocations: 4 kB / 437.6 MB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1545, allocations: 43.77 kB / 437.6 MB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1548, allocations: 71.7 kB / 437.7 MB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.1557, allocations: 371 kB / 438.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.156, allocations: 242.8 kB / 438.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.1561, allocations: 24.67 kB / 438.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1563, allocations: 99.5 kB / 438.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1565, allocations: 127.4 kB / 438.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1565, allocations: 8 kB / 438.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1576, allocations: 0.6978 MB / 439.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1577, allocations: 79.59 kB / 439.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1579, allocations: 107.2 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.1588, allocations: 0.6153 MB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1588, allocations: 8 kB / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1588, allocations: 0 / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1588, allocations: 0 / 440 MB, free: 13.67 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001172/0.16, allocations: 0.6162 MB / 440.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1601, allocations: 15.89 kB / 440.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.1602, allocations: 32.55 kB / 440.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1605, allocations: 243.3 kB / 440.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1605, allocations: 20.56 kB / 441 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.1606, allocations: 27.98 kB / 441 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.1614, allocations: 471.2 kB / 441.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1615, allocations: 0 / 441.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1615, allocations: 8 kB / 441.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.1616, allocations: 48.97 kB / 441.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.1624, allocations: 0.5464 MB / 442.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1645, allocations: 1.323 MB / 443.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.165, allocations: 270.5 kB / 443.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.1652, allocations: 100.7 kB / 443.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1653, allocations: 4 kB / 443.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1653, allocations: 46.48 kB / 443.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.1653, allocations: 0 / 443.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.000807/0.1661, allocations: 329.2 kB / 444.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1662, allocations: 51.41 kB / 444.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.1663, allocations: 145.8 kB / 444.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1663, allocations: 29.7 kB / 444.3 MB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1665, allocations: 191.9 kB / 444.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.1666, allocations: 91.12 kB / 444.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.1667, allocations: 77.45 kB / 444.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.1669, allocations: 326.8 kB / 445 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1671, allocations: 87.86 kB / 445.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1674, allocations: 170.2 kB / 445.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.1678, allocations: 306.8 kB / 445.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1679, allocations: 0 / 445.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005754/0.1684, allocations: 321 kB / 445.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1685, allocations: 8.344 kB / 445.9 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1685, allocations: 8 kB / 445.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.1685, allocations: 4 kB / 445.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.169, allocations: 115.9 kB / 446 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1707, allocations: 2.368 MB / 448.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.1709, allocations: 39.61 kB / 448.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.1709, allocations: 16 kB / 448.4 MB, free: 4.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.1711, allocations: 181.8 kB / 448.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.1711, allocations: 15.81 kB / 448.6 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007427/0.1719, allocations: 363.1 kB / 449 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1719, allocations: 4 kB / 449 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1719, allocations: 0 / 449 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1719, allocations: 7.922 kB / 449 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.1724, allocations: 337.4 kB / 449.3 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1724, allocations: 0 / 449.3 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.1728, allocations: 107.9 kB / 449.4 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1728, allocations: 4 kB / 449.4 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1728, allocations: 8 kB / 449.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.1742, allocations: 2.367 MB / 451.8 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1742, allocations: 0 / 451.8 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.1748, allocations: 375.5 kB / 452.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1748, allocations: 96.8 kB / 452.3 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.1749, allocations: 4 kB / 452.3 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.175, allocations: 11.98 kB / 452.3 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.1751, allocations: 19.97 kB / 452.3 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1751, allocations: 12 kB / 452.3 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.203e-05/0.1752, allocations: 107.2 kB / 452.4 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1752, allocations: 0 / 452.4 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1758, allocations: 171.6 kB / 452.6 MB, free: 492 kB / 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004584/0.1763, allocations: 226.8 kB / 452.8 MB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2322/0.4085, allocations: 346.9 kB / 453.1 MB, free: 52.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.4085, allocations: 3.344 kB / 453.1 MB, free: 52.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.409, allocations: 179.9 kB / 453.3 MB, free: 52.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4094, allocations: 19.36 kB / 453.3 MB, free: 52.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4105, allocations: 0.7048 MB / 454 MB, free: 52.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.4107, allocations: 0.8033 MB / 454.8 MB, free: 51.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.411, allocations: 102.8 kB / 454.9 MB, free: 51.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.4111, allocations: 27.83 kB / 455 MB, free: 51.4 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4111, allocations: 0 / 455 MB, free: 51.4 MB / 382.1 MB Notification: Performance of Templates: time 0.008806/0.4199, allocations: 4.485 MB / 459.5 MB, free: 51.19 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)