Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00675/0.00675, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.669/1.669, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3953/0.3953, allocations: 40 MB / 310.7 MB, free: 9.566 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.0005813/0.0005813, allocations: 12 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1604, allocations: 57.97 MB / 437.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002972/0.1635, allocations: 1.535 MB / 439 MB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1658, allocations: 1.365 MB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.1659, allocations: 3.938 kB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1662, allocations: 59.73 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1665, allocations: 71.64 kB / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.167, allocations: 199.3 kB / 440.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.1676, allocations: 449.7 kB / 441.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1677, allocations: 52.72 kB / 441.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.168, allocations: 147.1 kB / 441.3 MB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1683, allocations: 175.1 kB / 441.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.1683, allocations: 12 kB / 441.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007222/0.1691, allocations: 467 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1692, allocations: 123.4 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1694, allocations: 220.3 kB / 442.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.1702, allocations: 0.6035 MB / 442.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1702, allocations: 0 / 442.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1702, allocations: 0 / 442.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1702, allocations: 0 / 442.9 MB, free: 12.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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001093/0.1713, allocations: 0.698 MB / 443.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1714, allocations: 8.031 kB / 443.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1715, allocations: 56.22 kB / 443.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.1718, allocations: 327.3 kB / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.1719, allocations: 33.38 kB / 444 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.172, allocations: 44.12 kB / 444 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.173, allocations: 0.7031 MB / 444.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1731, allocations: 0 / 444.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.1731, allocations: 19.98 kB / 444.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.483e-05/0.1732, allocations: 61.28 kB / 444.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1742, allocations: 0.7312 MB / 445.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.1766, allocations: 1.704 MB / 447.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.1773, allocations: 367.4 kB / 447.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.1776, allocations: 149.2 kB / 447.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.1776, allocations: 8.219 kB / 447.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1777, allocations: 38.8 kB / 447.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.1777, allocations: 4 kB / 447.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001106/0.1788, allocations: 0.491 MB / 448.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.1789, allocations: 63.34 kB / 448.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.1794, allocations: 453.6 kB / 448.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.1795, allocations: 29.7 kB / 448.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1797, allocations: 255.5 kB / 449.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.1798, allocations: 102.6 kB / 449.2 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.1798, allocations: 33.7 kB / 449.2 MB, free: 5.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.18, allocations: 354.7 kB / 449.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.1803, allocations: 147.9 kB / 449.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1807, allocations: 257.4 kB / 450 MB, free: 4.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/0.1814, allocations: 454.1 kB / 450.4 MB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1814, allocations: 0 / 450.4 MB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008675/0.1822, allocations: 488.9 kB / 450.9 MB, free: 4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1823, allocations: 12.09 kB / 450.9 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1823, allocations: 4 kB / 450.9 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1823, allocations: 4 kB / 450.9 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.1829, allocations: 163.8 kB / 451.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.1849, allocations: 3.61 MB / 454.7 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.1852, allocations: 59.38 kB / 454.7 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.304/0.4892, allocations: 24.66 kB / 454.7 MB, free: 48.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004264/0.4897, allocations: 224.2 kB / 455 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.4899, allocations: 39.16 kB / 455 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.4912, allocations: 0.5435 MB / 455.5 MB, free: 48.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.4912, allocations: 5.062 kB / 455.6 MB, free: 48.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4912, allocations: 3.047 kB / 455.6 MB, free: 48.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4912, allocations: 0 / 455.6 MB, free: 48.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.4918, allocations: 452.3 kB / 456 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4918, allocations: 1.406 kB / 456 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.4923, allocations: 141 kB / 456.1 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4923, allocations: 1.969 kB / 456.1 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4923, allocations: 14.88 kB / 456.2 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.4937, allocations: 3.607 MB / 459.8 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4937, allocations: 3.562 kB / 459.8 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009897/0.4947, allocations: 0.6805 MB / 460.4 MB, free: 44.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.4949, allocations: 164.4 kB / 460.6 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.495, allocations: 6.906 kB / 460.6 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.4952, allocations: 15.16 kB / 460.6 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.4953, allocations: 28.89 kB / 460.7 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.4953, allocations: 19 kB / 460.7 MB, free: 44.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.4957, allocations: 346.1 kB / 461 MB, free: 44.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4957, allocations: 0 / 461 MB, free: 44.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.4963, allocations: 166 kB / 461.2 MB, free: 44.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003535/0.4967, allocations: 182.7 kB / 461.3 MB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009676/0.4976, allocations: 451.5 kB / 461.8 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4977, allocations: 0 / 461.8 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.4982, allocations: 269.6 kB / 462.1 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4987, allocations: 37.41 kB / 462.1 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.5002, allocations: 1.157 MB / 463.2 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.5006, allocations: 0.9012 MB / 464.1 MB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.501, allocations: 145.6 kB / 464.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5011, allocations: 47.75 kB / 464.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5011, allocations: 0 / 464.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01091/0.512, allocations: 6.095 MB / 470.4 MB, free: 42.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: