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_overall_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_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 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.001862/0.001862, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3586/0.3586, allocations: 39.94 MB / 309.7 MB, free: 9.309 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.001628/0.001628, allocations: 69.94 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1689, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00361/0.1725, allocations: 1.822 MB / 436.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004718/0.1773, allocations: 2.902 MB / 439.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1774, allocations: 0 / 439.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1778, allocations: 51.69 kB / 439.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.1782, allocations: 79.62 kB / 439.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.1802, allocations: 0.7198 MB / 440.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.1805, allocations: 238.8 kB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.1806, allocations: 32.66 kB / 440.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1808, allocations: 107.4 kB / 440.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.181, allocations: 119.4 kB / 440.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.181, allocations: 11.94 kB / 440.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.1829, allocations: 1.201 MB / 441.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.183, allocations: 83.59 kB / 441.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1831, allocations: 103.2 kB / 442 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1845, allocations: 0.9154 MB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1845, allocations: 0 / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1845, allocations: 0 / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1845, allocations: 0 / 442.9 MB, free: 11.27 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.001018/0.1856, allocations: 0.6669 MB / 443.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1856, allocations: 15.89 kB / 443.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.1857, allocations: 28.56 kB / 443.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.186, allocations: 243.2 kB / 443.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.186, allocations: 24.55 kB / 443.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.1861, allocations: 24 kB / 443.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.1868, allocations: 471.2 kB / 444.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1868, allocations: 0 / 444.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.1869, allocations: 15.98 kB / 444.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/0.1869, allocations: 40.97 kB / 444.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.1878, allocations: 0.5582 MB / 445 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.1897, allocations: 1.307 MB / 446.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.1903, allocations: 274.5 kB / 446.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1905, allocations: 92.8 kB / 446.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.1906, allocations: 7.984 kB / 446.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.1906, allocations: 42.5 kB / 446.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.1906, allocations: 3.938 kB / 446.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008148/0.1914, allocations: 321.2 kB / 447 MB, free: 6.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.1915, allocations: 63.39 kB / 447.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1917, allocations: 141.2 kB / 447.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1917, allocations: 33.7 kB / 447.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1919, allocations: 192.2 kB / 447.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.1919, allocations: 86.73 kB / 447.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1921, allocations: 81.45 kB / 447.6 MB, free: 6.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.1923, allocations: 322.8 kB / 447.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.1925, allocations: 91.92 kB / 448 MB, free: 5.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1928, allocations: 170.2 kB / 448.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.1933, allocations: 302.7 kB / 448.4 MB, free: 5.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1933, allocations: 0 / 448.4 MB, free: 5.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000574/0.1939, allocations: 325 kB / 448.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1939, allocations: 8 kB / 448.8 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1939, allocations: 4 kB / 448.8 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1939, allocations: 4 kB / 448.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.1944, allocations: 119.8 kB / 448.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1958, allocations: 2.364 MB / 451.3 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.196, allocations: 35.66 kB / 451.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1961, allocations: 19.98 kB / 451.3 MB, free: 2.387 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.0001992/0.1963, allocations: 169.7 kB / 451.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.1963, allocations: 19.8 kB / 451.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.1971, allocations: 354.6 kB / 451.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1971, allocations: 7.938 kB / 451.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1972, allocations: 0 / 451.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1972, allocations: 3.938 kB / 451.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.1976, allocations: 349.2 kB / 452.2 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1976, allocations: 3.984 kB / 452.2 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.198, allocations: 104 kB / 452.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.198, allocations: 0 / 452.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.198, allocations: 11.98 kB / 452.3 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2816/0.4796, allocations: 2.356 MB / 454.7 MB, free: 51.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4797, allocations: 0 / 454.7 MB, free: 51.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.4803, allocations: 373.9 kB / 455 MB, free: 51.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.4804, allocations: 99.14 kB / 455.1 MB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.4804, allocations: 5.703 kB / 455.1 MB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.4806, allocations: 14.83 kB / 455.1 MB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.4807, allocations: 21.72 kB / 455.2 MB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4807, allocations: 15.41 kB / 455.2 MB, free: 51.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.972e-05/0.4808, allocations: 98.44 kB / 455.3 MB, free: 51.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4808, allocations: 0 / 455.3 MB, free: 51.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.4815, allocations: 239.7 kB / 455.5 MB, free: 51.09 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 (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.0006166/0.4822, allocations: 341 kB / 455.8 MB, free: 50.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.483, allocations: 360.1 kB / 456.2 MB, free: 50.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.483, allocations: 0 / 456.2 MB, free: 50.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.4834, allocations: 180 kB / 456.4 MB, free: 50.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4838, allocations: 16 kB / 456.4 MB, free: 50.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.4848, allocations: 0.577 MB / 457 MB, free: 50.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.4851, allocations: 0.8091 MB / 457.8 MB, free: 50.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.4854, allocations: 96.89 kB / 457.9 MB, free: 50.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.4855, allocations: 27.75 kB / 457.9 MB, free: 50.03 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4855, allocations: 0 / 457.9 MB, free: 50.03 MB / 382.1 MB Notification: Performance of Templates: time 0.01058/0.496, allocations: 6.082 MB / 464 MB, free: 49.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)