Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001752/0.001751, allocations: 194 kB / 16.25 MB, free: 6.625 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.4236/0.4236, allocations: 39.93 MB / 309.4 MB, free: 9.008 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.001419/0.001419, allocations: 70.41 kB / 377.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 56.87 MB / 434 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003665/0.1454, allocations: 2.189 MB / 436.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.1485, allocations: 1.91 MB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.1487, allocations: 4 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1492, allocations: 55.67 kB / 438.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.1496, allocations: 139.3 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.151, allocations: 0.5301 MB / 438.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.1515, allocations: 382.2 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.1516, allocations: 36.72 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.152, allocations: 163.3 kB / 439.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1523, allocations: 207.1 kB / 439.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.1524, allocations: 8 kB / 439.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.1555, allocations: 1.61 MB / 441.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.1558, allocations: 95.59 kB / 441.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.1561, allocations: 147 kB / 441.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.1583, allocations: 1.052 MB / 442.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1583, allocations: 0 / 442.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1584, allocations: 0 / 442.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1584, allocations: 0 / 442.5 MB, free: 11.18 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001655/0.16, allocations: 0.67 MB / 443.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/0.1601, allocations: 15.89 kB / 443.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1603, allocations: 44.41 kB / 443.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.1608, allocations: 275.5 kB / 443.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.1609, allocations: 25.02 kB / 443.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.161, allocations: 36.11 kB / 443.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1623, allocations: 499.9 kB / 444.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1623, allocations: 0 / 444.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.1624, allocations: 15.98 kB / 444.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1625, allocations: 52.95 kB / 444.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.1637, allocations: 0.5308 MB / 444.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.1667, allocations: 1.297 MB / 445.9 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1679, allocations: 374.3 kB / 446.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.1683, allocations: 128.8 kB / 446.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-05/0.1684, allocations: 11.92 kB / 446.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.1685, allocations: 34.56 kB / 446.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 5.791e-06/0.1685, allocations: 0 / 446.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001425/0.1699, allocations: 421.1 kB / 446.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.17, allocations: 59.41 kB / 447 MB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.1706, allocations: 314.4 kB / 447.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.1706, allocations: 29.7 kB / 447.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.1709, allocations: 196.1 kB / 447.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.171, allocations: 98.58 kB / 447.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1712, allocations: 61.7 kB / 447.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.1715, allocations: 342.8 kB / 448 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.1718, allocations: 115.9 kB / 448.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.1723, allocations: 154.7 kB / 448.2 MB, free: 5.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.1731, allocations: 296 kB / 448.5 MB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.1731, allocations: 4 kB / 448.5 MB, free: 4.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009811/0.1741, allocations: 374.1 kB / 448.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.1741, allocations: 4 kB / 448.9 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1742, allocations: 0 / 448.9 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1742, allocations: 4 kB / 448.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/0.175, allocations: 127.9 kB / 449 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.1772, allocations: 3.008 MB / 452 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.1776, allocations: 43.58 kB / 452.1 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.1776, allocations: 12 kB / 452.1 MB, free: 1.176 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003591/0.178, allocations: 185.6 kB / 452.3 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.1781, allocations: 31.75 kB / 452.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.1797, allocations: 459.2 kB / 452.8 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.1797, allocations: 4 kB / 452.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.1797, allocations: 3.938 kB / 452.8 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1798, allocations: 4 kB / 452.8 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.1805, allocations: 369.2 kB / 453.1 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.1806, allocations: 0 / 453.1 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2952/0.4757, allocations: 121.3 kB / 453.2 MB, free: 52.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.4758, allocations: 3.75 kB / 453.2 MB, free: 52.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.4759, allocations: 10.59 kB / 453.3 MB, free: 52.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.4771, allocations: 3.004 MB / 456.3 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4771, allocations: 0 / 456.3 MB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.4779, allocations: 449.4 kB / 456.7 MB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.478, allocations: 104.3 kB / 456.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.4781, allocations: 6.375 kB / 456.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4783, allocations: 12.16 kB / 456.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.4784, allocations: 26.75 kB / 456.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.4784, allocations: 10.09 kB / 456.9 MB, free: 49.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.4786, allocations: 227.5 kB / 457.1 MB, free: 49.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.4786, allocations: 0.8438 kB / 457.1 MB, free: 49.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.4793, allocations: 188.7 kB / 457.3 MB, free: 49.52 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000546/0.4799, allocations: 228.7 kB / 457.5 MB, free: 49.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.4809, allocations: 424.7 kB / 457.9 MB, free: 49.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4809, allocations: 3.219 kB / 457.9 MB, free: 49.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.4815, allocations: 229.8 kB / 458.1 MB, free: 49.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.4821, allocations: 67.19 kB / 458.2 MB, free: 49.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.4835, allocations: 0.8351 MB / 459 MB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.4839, allocations: 0.8299 MB / 459.9 MB, free: 48.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.4843, allocations: 127.9 kB / 460 MB, free: 48.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4844, allocations: 35.89 kB / 460 MB, free: 48.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4845, allocations: 3.906 kB / 460 MB, free: 48.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01339/0.4979, allocations: 7.489 MB / 467.5 MB, free: 47.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)