Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.0007844/0.0007844, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009174/0.0009174, 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.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2914/0.2914, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.1. 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.0005835/0.000584, allocations: 16 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1297, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002186/0.1319, allocations: 1.509 MB / 435.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1343, allocations: 1.545 MB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.1344, allocations: 0 / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1346, allocations: 31.83 kB / 437.1 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.135, allocations: 75.64 kB / 437.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.1359, allocations: 355 kB / 437.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.1363, allocations: 266.8 kB / 437.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.1364, allocations: 32.66 kB / 437.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1366, allocations: 99.5 kB / 437.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1369, allocations: 123.4 kB / 438 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.1369, allocations: 8 kB / 438 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.1381, allocations: 0.6587 MB / 438.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1382, allocations: 71.72 kB / 438.7 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/0.1383, allocations: 69.52 kB / 438.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.1391, allocations: 363.1 kB / 439.2 MB, free: 344 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1391, allocations: 0 / 439.2 MB, free: 344 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1391, allocations: 3.938 kB / 439.2 MB, free: 340 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1391, allocations: 0 / 439.2 MB, free: 340 kB / 366.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.001081/0.1402, allocations: 0.581 MB / 439.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1402, allocations: 8.031 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1404, allocations: 35.58 kB / 439.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1407, allocations: 234.6 kB / 440 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.1408, allocations: 24.55 kB / 440 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.1408, allocations: 20 kB / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.1417, allocations: 479.2 kB / 440.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1417, allocations: 0 / 440.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1418, allocations: 15.98 kB / 440.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/0.1418, allocations: 44.97 kB / 440.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/0.1427, allocations: 0.5581 MB / 441.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1446, allocations: 1.319 MB / 442.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.1451, allocations: 274.5 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.1453, allocations: 100.8 kB / 442.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.1454, allocations: 11.98 kB / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1454, allocations: 34.5 kB / 442.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.715e-06/0.1454, allocations: 0 / 442.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006824/0.1461, allocations: 349.2 kB / 443.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1461, allocations: 55.41 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1463, allocations: 138 kB / 443.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1463, allocations: 29.7 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1464, allocations: 204.1 kB / 443.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.1465, allocations: 82.77 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.1465, allocations: 4 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1466, allocations: 330.8 kB / 444 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1468, allocations: 95.78 kB / 444.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.1471, allocations: 182.1 kB / 444.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1473, allocations: 120.7 kB / 444.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1474, allocations: 0 / 444.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005704/0.1479, allocations: 333.4 kB / 444.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.148, allocations: 8 kB / 444.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.148, allocations: 7.984 kB / 444.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.148, allocations: 7.938 kB / 444.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.1484, allocations: 119.9 kB / 444.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.1497, allocations: 2.367 MB / 447.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1499, allocations: 39.95 kB / 447.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1499, allocations: 16 kB / 447.3 MB, free: 7.754 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.0002135/0.1501, allocations: 174.8 kB / 447.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.1502, allocations: 11.81 kB / 447.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008006/0.151, allocations: 375.1 kB / 447.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.151, allocations: 4 kB / 447.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.151, allocations: 7.891 kB / 447.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.151, allocations: 3.984 kB / 447.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1514, allocations: 345.2 kB / 448.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1515, allocations: 0 / 448.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.1519, allocations: 103.9 kB / 448.3 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1519, allocations: 8 kB / 448.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1519, allocations: 12 kB / 448.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1531, allocations: 2.371 MB / 450.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1531, allocations: 0 / 450.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.1536, allocations: 375.4 kB / 451.1 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.1537, allocations: 96.86 kB / 451.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1537, allocations: 7.953 kB / 451.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1539, allocations: 15.98 kB / 451.2 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.154, allocations: 27.91 kB / 451.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.154, allocations: 8 kB / 451.2 MB, free: 3.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.782e-05/0.1541, allocations: 107.8 kB / 451.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1541, allocations: 0 / 451.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006229/0.1547, allocations: 163.6 kB / 451.5 MB, free: 3.379 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 (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.0004638/0.1552, allocations: 227 kB / 451.7 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.156, allocations: 308.3 kB / 452 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.156, allocations: 0 / 452 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.1564, allocations: 183.8 kB / 452.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1568, allocations: 12 kB / 452.2 MB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.158, allocations: 0.7079 MB / 452.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1584, allocations: 0.7987 MB / 453.7 MB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.1587, allocations: 101.7 kB / 453.8 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.1588, allocations: 23.42 kB / 453.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1588, allocations: 0 / 453.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of Templates: time 0.2264/0.3851, allocations: 4.309 MB / 458.2 MB, free: 50.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: