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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001808, 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.002255/0.002255, allocations: 194.3 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.636/1.636, 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.3913/0.3913, allocations: 39.93 MB / 309.7 MB, free: 9.242 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.00148/0.00148, allocations: 71.89 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.157, allocations: 56.89 MB / 434.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004005/0.1611, allocations: 1.787 MB / 436.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1626, allocations: 0.8344 MB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1627, allocations: 8 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1631, allocations: 47.67 kB / 437.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.1635, allocations: 71.59 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1637, allocations: 63.73 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1639, allocations: 139.4 kB / 437.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.164, allocations: 16.27 kB / 437.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1642, allocations: 75.73 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1643, allocations: 75.73 kB / 437.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1644, allocations: 4 kB / 437.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.1646, allocations: 67.89 kB / 437.7 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.1646, allocations: 31.89 kB / 437.7 MB, free: 424 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.1647, allocations: 39.73 kB / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.165, allocations: 143.5 kB / 437.9 MB, free: 240 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.165, allocations: 3.938 kB / 437.9 MB, free: 236 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.165, allocations: 0 / 437.9 MB, free: 236 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.165, allocations: 3.984 kB / 437.9 MB, free: 232 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006833/0.1657, allocations: 403.2 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.1658, allocations: 15.89 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.1662, allocations: 32.81 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1665, allocations: 196.1 kB / 438.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1665, allocations: 8.312 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.1665, allocations: 16.12 kB / 438.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.1669, allocations: 172.1 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.167, allocations: 0 / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.167, allocations: 11.98 kB / 438.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.167, allocations: 8 kB / 438.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.1674, allocations: 131.8 kB / 438.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.1684, allocations: 0.6406 MB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1687, allocations: 110.6 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1689, allocations: 40.83 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1689, allocations: 4 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1689, allocations: 30.56 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1689, allocations: 4 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005023/0.1695, allocations: 133.5 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1695, allocations: 55.56 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1696, allocations: 122 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1697, allocations: 29.7 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.1698, allocations: 131.8 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1698, allocations: 23.66 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.1699, allocations: 37.64 kB / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1701, allocations: 318.8 kB / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1702, allocations: 35.95 kB / 440.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1704, allocations: 95.44 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1707, allocations: 155.8 kB / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1707, allocations: 0 / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003429/0.171, allocations: 157.5 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1711, allocations: 8 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1711, allocations: 0 / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.1711, allocations: 4 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1713, allocations: 43.91 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1713, allocations: 0 / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1714, allocations: 27.81 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1714, allocations: 8 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1715, allocations: 137.8 kB / 441.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1716, allocations: 11.91 kB / 441.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.1719, allocations: 122 kB / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1719, allocations: 0 / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1719, allocations: 4 kB / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1719, allocations: 0 / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1722, allocations: 197.6 kB / 441.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1722, allocations: 4 kB / 441.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.1724, allocations: 27.97 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1724, allocations: 3.938 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1724, allocations: 0 / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1724, allocations: 4 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1724, allocations: 0 / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.1727, allocations: 215.3 kB / 441.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1727, allocations: 92.94 kB / 441.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1728, allocations: 0 / 441.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.1729, allocations: 4 kB / 441.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1729, allocations: 7.984 kB / 441.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1729, allocations: 4 kB / 441.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.31e-05/0.173, allocations: 91.77 kB / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 8 kB / 442 MB, free: 11.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1733, allocations: 16 kB / 442 MB, free: 11.73 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.1735, allocations: 115.1 kB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.1738, allocations: 100.4 kB / 442.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1738, allocations: 0 / 442.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.174, allocations: 51.89 kB / 442.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1742, allocations: 11.8 kB / 442.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.1748, allocations: 258.6 kB / 442.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1751, allocations: 0.7119 MB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.705e-05/0.1752, allocations: 24.53 kB / 443.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1752, allocations: 11.44 kB / 443.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1752, allocations: 4 kB / 443.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.004005/0.1793, allocations: 0.9267 MB / 444.2 MB, free: 9.473 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)