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.001006/0.001006, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01241/0.01241, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.799/1.799, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4187/0.4187, allocations: 40 MB / 310.7 MB, free: 9.551 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.0005459/0.0005458, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1544, allocations: 57.97 MB / 437.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002387/0.1568, allocations: 1.516 MB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1592, allocations: 1.369 MB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.1593, allocations: 0 / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1596, allocations: 43.75 kB / 440.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1598, allocations: 43.69 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1602, allocations: 203.4 kB / 440.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1604, allocations: 107.4 kB / 440.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.1605, allocations: 12.97 kB / 440.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1606, allocations: 51.72 kB / 440.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.1607, allocations: 47.7 kB / 440.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1607, allocations: 8 kB / 440.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000684/0.1614, allocations: 0.4951 MB / 441.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.1615, allocations: 11.92 kB / 441.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.1616, allocations: 73.38 kB / 441.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.162, allocations: 339.3 kB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1621, allocations: 0 / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1621, allocations: 0 / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1621, allocations: 0 / 441.7 MB, free: 13.55 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.0006754/0.1628, allocations: 427.2 kB / 442.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.1628, allocations: 12.03 kB / 442.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.1629, allocations: 16.75 kB / 442.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1631, allocations: 180.2 kB / 442.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1631, allocations: 12.31 kB / 442.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1632, allocations: 16.12 kB / 442.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1635, allocations: 154.4 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1635, allocations: 3.938 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1636, allocations: 4 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1636, allocations: 7.984 kB / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1639, allocations: 139.9 kB / 442.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.165, allocations: 0.5143 MB / 443.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1652, allocations: 114.6 kB / 443.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1654, allocations: 56.77 kB / 443.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1654, allocations: 4 kB / 443.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1655, allocations: 34.56 kB / 443.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1655, allocations: 0 / 443.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005952/0.1661, allocations: 177.5 kB / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1661, allocations: 59.41 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.1662, allocations: 113.8 kB / 443.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1663, allocations: 29.7 kB / 443.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.1663, allocations: 111.7 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1664, allocations: 39.39 kB / 443.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.1664, allocations: 21.7 kB / 443.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1666, allocations: 322.8 kB / 444.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1668, allocations: 43.97 kB / 444.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1669, allocations: 85.11 kB / 444.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.1672, allocations: 141 kB / 444.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1672, allocations: 0 / 444.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003506/0.1676, allocations: 173.5 kB / 444.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1676, allocations: 8 kB / 444.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1676, allocations: 0 / 444.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1676, allocations: 4 kB / 444.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1678, allocations: 51.91 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003649/0.1682, allocations: 0.586 MB / 445.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1683, allocations: 27.92 kB / 445.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1684, allocations: 4 kB / 445.4 MB, free: 9.613 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.0001023/0.1685, allocations: 125.7 kB / 445.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1685, allocations: 4 kB / 445.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.169, allocations: 186.1 kB / 445.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.169, allocations: 0 / 445.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.169, allocations: 3.938 kB / 445.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.169, allocations: 0 / 445.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1693, allocations: 221.5 kB / 445.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1693, allocations: 0 / 445.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.1695, allocations: 47.97 kB / 445.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1695, allocations: 0 / 445.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.1696, allocations: 4 kB / 446 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004085/0.17, allocations: 0.5898 MB / 446.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.17, allocations: 4.062 kB / 446.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.1705, allocations: 303.4 kB / 446.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/0.1706, allocations: 96.97 kB / 446.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1707, allocations: 7.922 kB / 446.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1708, allocations: 16 kB / 447 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.1709, allocations: 7.984 kB / 447 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1709, allocations: 4 kB / 447 MB, free: 7.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.1709, allocations: 91.27 kB / 447.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 0 / 447.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.1713, allocations: 79.89 kB / 447.1 MB, free: 7.727 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.000379/0.1717, allocations: 179.6 kB / 447.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.1722, allocations: 140.4 kB / 447.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1722, allocations: 0 / 447.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.1724, allocations: 84.2 kB / 447.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1728, allocations: 19.75 kB / 447.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.1737, allocations: 380 kB / 447.9 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.1742, allocations: 0.7082 MB / 448.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.375e-05/0.1743, allocations: 16.55 kB / 448.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.1743, allocations: 19.44 kB / 448.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1744, allocations: 4 kB / 448.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of Templates: time 0.006526/0.1809, allocations: 2.107 MB / 450.8 MB, free: 4.031 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: