Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001144/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001363/0.001363, allocations: 186.6 kB / 16.25 MB, free: 6.578 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.609/1.609, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.3534/0.3534, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.001493/0.001492, allocations: 67.19 kB / 374.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1494, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.0041/0.1536, allocations: 2.197 MB / 433.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.1568, allocations: 1.898 MB / 435.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.157, allocations: 0 / 435.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.1575, allocations: 71.64 kB / 435.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.158, allocations: 139.4 kB / 435.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1594, allocations: 0.5221 MB / 436 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.1599, allocations: 390.1 kB / 436.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.16, allocations: 40.72 kB / 436.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1603, allocations: 163.3 kB / 436.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.1606, allocations: 191.2 kB / 436.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.1606, allocations: 12 kB / 436.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.1627, allocations: 1.614 MB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1629, allocations: 107.5 kB / 438.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1631, allocations: 143.1 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.1645, allocations: 1.048 MB / 439.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1645, allocations: 0 / 439.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1645, allocations: 0 / 439.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1646, allocations: 0 / 439.7 MB, free: 14.41 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.001146/0.1657, allocations: 0.6746 MB / 440.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.1658, allocations: 11.89 kB / 440.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.1659, allocations: 32.56 kB / 440.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1662, allocations: 275.6 kB / 440.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1663, allocations: 21.03 kB / 440.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.1663, allocations: 36.11 kB / 440.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.1671, allocations: 0.496 MB / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1671, allocations: 4 kB / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1672, allocations: 8 kB / 441.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.1672, allocations: 48.97 kB / 441.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.168, allocations: 0.5308 MB / 441.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1699, allocations: 1.298 MB / 443.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.1706, allocations: 378.2 kB / 443.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1709, allocations: 120.8 kB / 443.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.1709, allocations: 11.94 kB / 443.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.171, allocations: 34.56 kB / 443.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.171, allocations: 4 kB / 443.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008852/0.1719, allocations: 433 kB / 444.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1719, allocations: 51.41 kB / 444.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1722, allocations: 306.5 kB / 444.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1723, allocations: 29.7 kB / 444.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1724, allocations: 200 kB / 444.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.1725, allocations: 90.69 kB / 444.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1726, allocations: 77.53 kB / 444.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1727, allocations: 342.8 kB / 445.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.173, allocations: 119.9 kB / 445.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1732, allocations: 154.7 kB / 445.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.1737, allocations: 296 kB / 445.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1737, allocations: 0 / 445.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006353/0.1744, allocations: 374.1 kB / 446.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1744, allocations: 8 kB / 446.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1744, allocations: 0 / 446.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1744, allocations: 4.062 kB / 446.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.175, allocations: 123.9 kB / 446.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.1765, allocations: 3.008 MB / 449.2 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1767, allocations: 43.61 kB / 449.3 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1768, allocations: 16.28 kB / 449.3 MB, free: 4.402 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.0001927/0.177, allocations: 185.6 kB / 449.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1771, allocations: 27.66 kB / 449.5 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008877/0.1779, allocations: 459.1 kB / 450 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.178, allocations: 4 kB / 450 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.178, allocations: 0 / 450 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.178, allocations: 3.984 kB / 450 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.1784, allocations: 373.3 kB / 450.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1784, allocations: 0 / 450.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.1789, allocations: 115.9 kB / 450.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1789, allocations: 3.938 kB / 450.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.179, allocations: 8 kB / 450.5 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.1804, allocations: 3.012 MB / 453.5 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1804, allocations: 0 / 453.5 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.255/0.4354, allocations: 438.9 kB / 453.9 MB, free: 54.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4356, allocations: 107.2 kB / 454 MB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.4356, allocations: 14.19 kB / 454 MB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.4358, allocations: 7.469 kB / 454 MB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.4359, allocations: 28.73 kB / 454.1 MB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.436, allocations: 13.19 kB / 454.1 MB, free: 54.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.4362, allocations: 228.9 kB / 454.3 MB, free: 54.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4362, allocations: 0 / 454.3 MB, free: 54.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.4368, allocations: 184.5 kB / 454.5 MB, free: 54.56 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.0004856/0.4373, allocations: 223.5 kB / 454.7 MB, free: 54.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000921/0.4382, allocations: 434.7 kB / 455.1 MB, free: 54.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4382, allocations: 0 / 455.1 MB, free: 54.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.4387, allocations: 225 kB / 455.3 MB, free: 54.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.4392, allocations: 66.28 kB / 455.4 MB, free: 54.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.4403, allocations: 0.8336 MB / 456.2 MB, free: 54.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.4406, allocations: 0.8398 MB / 457.1 MB, free: 53.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.4409, allocations: 122.7 kB / 457.2 MB, free: 53.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.441, allocations: 36.94 kB / 457.2 MB, free: 53.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.441, allocations: 0 / 457.2 MB, free: 53.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01099/0.452, allocations: 7.501 MB / 464.7 MB, free: 53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)