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.001363/0.001363, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001366/0.001365, 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.847/1.847, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3826/0.3826, allocations: 40 MB / 310.4 MB, free: 10.17 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.0008882/0.0008884, allocations: 12 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1704, allocations: 57.96 MB / 436.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002351/0.1729, allocations: 1.501 MB / 438.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1756, allocations: 1.538 MB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.1757, allocations: 4 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1759, allocations: 43.75 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1762, allocations: 75.64 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.1769, allocations: 355.1 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.1772, allocations: 266.8 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.1773, allocations: 32.66 kB / 440.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1775, allocations: 95.5 kB / 440.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1777, allocations: 123.5 kB / 440.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1777, allocations: 8 kB / 440.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.1786, allocations: 0.6626 MB / 441.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.1787, allocations: 63.73 kB / 441.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1789, allocations: 69.52 kB / 441.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.1793, allocations: 363.1 kB / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1794, allocations: 4 kB / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1794, allocations: 0 / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1794, allocations: 0 / 442 MB, free: 13.32 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.0008541/0.1802, allocations: 0.5964 MB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1803, allocations: 8.031 kB / 442.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.1804, allocations: 27.62 kB / 442.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1806, allocations: 230.7 kB / 442.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1807, allocations: 20.56 kB / 442.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.1807, allocations: 31.92 kB / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1815, allocations: 475.3 kB / 443.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1816, allocations: 0 / 443.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.1816, allocations: 8 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.1817, allocations: 48.92 kB / 443.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.1826, allocations: 0.5582 MB / 444 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.1848, allocations: 1.323 MB / 445.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.1854, allocations: 270.5 kB / 445.6 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1856, allocations: 104.8 kB / 445.7 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.1856, allocations: 12.38 kB / 445.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1857, allocations: 38.5 kB / 445.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.1857, allocations: 0 / 445.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.00077/0.1865, allocations: 337.3 kB / 446 MB, free: 9.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.1865, allocations: 55.41 kB / 446.1 MB, free: 8.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1867, allocations: 145.7 kB / 446.2 MB, free: 8.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1867, allocations: 25.7 kB / 446.3 MB, free: 8.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1869, allocations: 195.7 kB / 446.5 MB, free: 8.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/0.187, allocations: 86.75 kB / 446.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.187, allocations: 8 kB / 446.5 MB, free: 8.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1872, allocations: 326.8 kB / 446.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1874, allocations: 99.78 kB / 447 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.1877, allocations: 182 kB / 447.1 MB, free: 7.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.188, allocations: 128.7 kB / 447.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.188, allocations: 0 / 447.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005656/0.1885, allocations: 333 kB / 447.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1886, allocations: 8 kB / 447.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.1886, allocations: 4 kB / 447.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1886, allocations: 4 kB / 447.6 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.1891, allocations: 120.2 kB / 447.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.1905, allocations: 2.372 MB / 450.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1907, allocations: 31.69 kB / 450.1 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.1907, allocations: 15.98 kB / 450.1 MB, free: 4.746 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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.1909, allocations: 173.7 kB / 450.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.191, allocations: 15.97 kB / 450.3 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.1917, allocations: 383 kB / 450.7 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.1918, allocations: 7.953 kB / 450.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1918, allocations: 0 / 450.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1918, allocations: 4 kB / 450.7 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.1922, allocations: 345.3 kB / 451.1 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1922, allocations: 0 / 451.1 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.1926, allocations: 95.95 kB / 451.1 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.1926, allocations: 7.938 kB / 451.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1926, allocations: 15.98 kB / 451.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.194, allocations: 2.364 MB / 453.5 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1941, allocations: 4.031 kB / 453.5 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.1946, allocations: 379.2 kB / 453.9 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.1947, allocations: 109 kB / 454 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.1947, allocations: 4 kB / 454 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1949, allocations: 12 kB / 454 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.195, allocations: 19.97 kB / 454 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.195, allocations: 11.98 kB / 454.1 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.1951, allocations: 103.3 kB / 454.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1951, allocations: 0 / 454.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006984/0.1958, allocations: 163.5 kB / 454.3 MB, free: 380 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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005142/0.1963, allocations: 242.8 kB / 454.6 MB, free: 128 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2187/0.415, allocations: 299.4 kB / 454.9 MB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/0.415, allocations: 3.062 kB / 454.9 MB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.4155, allocations: 181.5 kB / 455 MB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4159, allocations: 18.97 kB / 455 MB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.417, allocations: 0.6997 MB / 455.7 MB, free: 49.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.4172, allocations: 0.7994 MB / 456.5 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.4175, allocations: 102.2 kB / 456.6 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.4176, allocations: 28.78 kB / 456.7 MB, free: 48.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4176, allocations: 0 / 456.7 MB, free: 48.72 MB / 382.1 MB Notification: Performance of Templates: time 0.007428/0.425, allocations: 4.313 MB / 461 MB, free: 48.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: