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.001316/0.001317, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 196 kB / 16.53 MB, free: 6.664 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.736/1.736, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.4334/0.4334, allocations: 39.94 MB / 309.7 MB, free: 9.285 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.001673/0.001673, allocations: 74.39 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.159, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003771/0.1628, allocations: 1.806 MB / 436.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1657, allocations: 1.688 MB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.1658, allocations: 0 / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1661, allocations: 43.7 kB / 438.1 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.1665, allocations: 79.62 kB / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.1673, allocations: 402.8 kB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1676, allocations: 238.6 kB / 438.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.1677, allocations: 40.38 kB / 438.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1679, allocations: 99.44 kB / 438.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.168, allocations: 119.4 kB / 439 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1681, allocations: 8 kB / 439 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009291/0.169, allocations: 0.7056 MB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.1691, allocations: 71.67 kB / 439.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1692, allocations: 119.2 kB / 439.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007361/0.17, allocations: 0.604 MB / 440.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.17, allocations: 0 / 440.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.17, allocations: 0 / 440.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.17, allocations: 0 / 440.5 MB, free: 13.64 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.0009067/0.1709, allocations: 0.6317 MB / 441.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.171, allocations: 11.89 kB / 441.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.171, allocations: 28.56 kB / 441.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1713, allocations: 247.3 kB / 441.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1713, allocations: 24.55 kB / 441.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.1714, allocations: 20 kB / 441.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.1721, allocations: 467.3 kB / 441.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1721, allocations: 0 / 441.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.1722, allocations: 19.98 kB / 442 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.327e-05/0.1722, allocations: 48.91 kB / 442 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.173, allocations: 0.5503 MB / 442.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.175, allocations: 1.315 MB / 443.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.1756, allocations: 274.5 kB / 444.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1758, allocations: 96.73 kB / 444.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.1759, allocations: 11.98 kB / 444.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.1759, allocations: 38.5 kB / 444.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.335e-06/0.1759, allocations: 0 / 444.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008753/0.1768, allocations: 333.2 kB / 444.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.1769, allocations: 55.41 kB / 444.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1771, allocations: 141.2 kB / 444.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1771, allocations: 33.7 kB / 444.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1773, allocations: 188.3 kB / 445 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.1774, allocations: 90.73 kB / 445.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1775, allocations: 73.45 kB / 445.2 MB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1776, allocations: 330.8 kB / 445.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1778, allocations: 87.92 kB / 445.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.1781, allocations: 170.2 kB / 445.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.1787, allocations: 298.8 kB / 446 MB, free: 7.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1787, allocations: 3.984 kB / 446 MB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006006/0.1793, allocations: 325 kB / 446.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1793, allocations: 4 kB / 446.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1793, allocations: 7.984 kB / 446.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.1794, allocations: 4 kB / 446.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.1799, allocations: 124.1 kB / 446.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.1815, allocations: 2.36 MB / 448.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1817, allocations: 35.61 kB / 448.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.1817, allocations: 16 kB / 448.9 MB, free: 4.793 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.0002186/0.1819, allocations: 181.6 kB / 449.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.182, allocations: 15.81 kB / 449.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008067/0.1828, allocations: 358.5 kB / 449.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1828, allocations: 4 kB / 449.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1828, allocations: 0 / 449.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1829, allocations: 7.922 kB / 449.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.1833, allocations: 337.3 kB / 449.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1833, allocations: 0 / 449.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.1837, allocations: 107.9 kB / 449.9 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1837, allocations: 8 kB / 449.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1838, allocations: 8 kB / 449.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.1852, allocations: 2.364 MB / 452.3 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1852, allocations: 4 kB / 452.3 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.1859, allocations: 376.4 kB / 452.6 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.186, allocations: 100.8 kB / 452.7 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.186, allocations: 4 kB / 452.7 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1862, allocations: 15.98 kB / 452.8 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.1862, allocations: 15.97 kB / 452.8 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1863, allocations: 12 kB / 452.8 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.232e-05/0.1864, allocations: 103.2 kB / 452.9 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1864, allocations: 0 / 452.9 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006276/0.187, allocations: 167.6 kB / 453.1 MB, free: 456 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.0005023/0.1875, allocations: 230.8 kB / 453.3 MB, free: 216 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2346/0.4222, allocations: 353.2 kB / 453.6 MB, free: 52.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.4222, allocations: 0 / 453.6 MB, free: 52.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.4227, allocations: 178.8 kB / 453.8 MB, free: 52.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.4232, allocations: 18.44 kB / 453.8 MB, free: 52.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4243, allocations: 0.5669 MB / 454.4 MB, free: 52.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.4246, allocations: 0.803 MB / 455.2 MB, free: 52.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.4249, allocations: 100.9 kB / 455.3 MB, free: 52.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.4249, allocations: 28.7 kB / 455.3 MB, free: 52.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4249, allocations: 0 / 455.3 MB, free: 52.02 MB / 382.1 MB Notification: Performance of Templates: time 0.008685/0.4336, allocations: 4.541 MB / 459.9 MB, free: 51.83 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)