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_suddenChange_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_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108 kB / 15.6 MB, free: 128 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.00168/0.00168, allocations: 198.3 kB / 16.53 MB, free: 6.668 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.589/1.589, 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.4068/0.4068, allocations: 39.94 MB / 309.7 MB, free: 9.281 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.002035/0.002035, allocations: 70.55 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1579, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.005286/0.1632, allocations: 1.794 MB / 436.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.1665, allocations: 1.372 MB / 437.7 MB, free: 492 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1667, allocations: 3.938 kB / 437.7 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.1671, allocations: 39.77 kB / 437.7 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1673, allocations: 55.61 kB / 437.8 MB, free: 392 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.1681, allocations: 243.1 kB / 438 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1683, allocations: 107.4 kB / 438.1 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.1684, allocations: 20.94 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1686, allocations: 43.86 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1687, allocations: 51.7 kB / 438.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1687, allocations: 4 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.1696, allocations: 0.4911 MB / 438.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1697, allocations: 19.86 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1697, allocations: 51.66 kB / 438.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000778/0.1705, allocations: 351.3 kB / 439.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1706, allocations: 0 / 439.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1706, allocations: 4 kB / 439.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1706, allocations: 0 / 439.1 MB, free: 15.01 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008251/0.1714, allocations: 435.1 kB / 439.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/0.1715, allocations: 15.89 kB / 439.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.1716, allocations: 8.844 kB / 439.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1718, allocations: 184.2 kB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1718, allocations: 8.375 kB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1718, allocations: 20.12 kB / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.1723, allocations: 141.5 kB / 439.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1723, allocations: 4 kB / 439.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1723, allocations: 7.938 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1723, allocations: 4 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1726, allocations: 131.9 kB / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1737, allocations: 0.5105 MB / 440.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.174, allocations: 106.6 kB / 440.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1741, allocations: 48.83 kB / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1742, allocations: 7.938 kB / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1742, allocations: 30.56 kB / 440.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1742, allocations: 0 / 440.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005402/0.1748, allocations: 169.5 kB / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1748, allocations: 55.39 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1749, allocations: 113.8 kB / 441.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.175, allocations: 33.7 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.1751, allocations: 115.7 kB / 441.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1751, allocations: 39.39 kB / 441.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1752, allocations: 33.7 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1753, allocations: 318.8 kB / 441.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1755, allocations: 43.91 kB / 441.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.1756, allocations: 80.91 kB / 441.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.176, allocations: 137.4 kB / 441.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.176, allocations: 0 / 441.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005043/0.1765, allocations: 165.4 kB / 442.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1765, allocations: 4 kB / 442.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1766, allocations: 4 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1766, allocations: 0 / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1768, allocations: 47.91 kB / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005985/0.1774, allocations: 0.5861 MB / 442.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1776, allocations: 23.92 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1776, allocations: 8 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1777, allocations: 121.7 kB / 442.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.1778, allocations: 7.906 kB / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.1783, allocations: 178.3 kB / 443 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1783, allocations: 3.938 kB / 443 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1783, allocations: 7.938 kB / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1783, allocations: 0 / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.1786, allocations: 217.5 kB / 443.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1787, allocations: 0 / 443.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.1789, allocations: 39.97 kB / 443.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1789, allocations: 8 kB / 443.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1789, allocations: 0 / 443.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003111/0.1792, allocations: 0.586 MB / 443.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1792, allocations: 7.969 kB / 443.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.1797, allocations: 291.5 kB / 444.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1798, allocations: 92.97 kB / 444.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1798, allocations: 4 kB / 444.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.18, allocations: 7.984 kB / 444.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.18, allocations: 15.92 kB / 444.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.18, allocations: 8 kB / 444.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.1801, allocations: 87.27 kB / 444.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1801, allocations: 4.062 kB / 444.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.1805, allocations: 79.86 kB / 444.5 MB, free: 9.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003757/0.1809, allocations: 167.3 kB / 444.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.1815, allocations: 131.8 kB / 444.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1815, allocations: 0 / 444.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1817, allocations: 71.84 kB / 444.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1821, allocations: 11.98 kB / 444.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.1829, allocations: 324.6 kB / 445.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1832, allocations: 0.7041 MB / 445.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.1833, allocations: 12.56 kB / 445.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.1834, allocations: 19.42 kB / 445.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1834, allocations: 0 / 445.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of Templates: time 0.006093/0.1895, allocations: 2.232 MB / 448.1 MB, free: 5.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)