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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002067/0.002067, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.746 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.3371/0.3371, allocations: 39.93 MB / 309.3 MB, free: 9.672 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.001298/0.001298, allocations: 62.41 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1566, allocations: 56.89 MB / 433.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.004843/0.1615, allocations: 1.858 MB / 435.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.1644, allocations: 1.4 MB / 437.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.1645, allocations: 0 / 437.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1648, allocations: 39.8 kB / 437.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.165, allocations: 39.7 kB / 437.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.1657, allocations: 215.3 kB / 437.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1659, allocations: 99.47 kB / 437.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1659, allocations: 12.97 kB / 437.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1661, allocations: 43.78 kB / 437.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1662, allocations: 51.7 kB / 437.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1663, allocations: 8 kB / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.1672, allocations: 0.4912 MB / 438.1 MB, free: 108 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.1673, allocations: 11.91 kB / 438.1 MB, free: 96 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.1674, allocations: 47.67 kB / 438.1 MB, free: 48 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.168, allocations: 347.3 kB / 438.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.168, allocations: 4 kB / 438.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1681, allocations: 0 / 438.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1681, allocations: 0 / 438.5 MB, free: 15.7 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.0007144/0.1688, allocations: 447 kB / 438.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1689, allocations: 12.03 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.1689, allocations: 8.844 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1691, allocations: 176.3 kB / 439.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1691, allocations: 12.31 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1693, allocations: 16.12 kB / 439.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.1697, allocations: 150.3 kB / 439.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1697, allocations: 0 / 439.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1697, allocations: 4 kB / 439.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1698, allocations: 11.98 kB / 439.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.1702, allocations: 131.9 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1714, allocations: 0.5143 MB / 439.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.1718, allocations: 106.5 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.172, allocations: 48.83 kB / 440.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.172, allocations: 4 kB / 440.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1721, allocations: 38.56 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1721, allocations: 0 / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006617/0.1728, allocations: 161.5 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1728, allocations: 55.34 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1729, allocations: 109.8 kB / 440.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.173, allocations: 33.7 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1731, allocations: 119.7 kB / 440.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.1731, allocations: 35.41 kB / 440.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.1732, allocations: 33.7 kB / 440.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1734, allocations: 318.8 kB / 441 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1735, allocations: 39.97 kB / 441 MB, free: 12.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1737, allocations: 80.92 kB / 441.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.1741, allocations: 140.9 kB / 441.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1741, allocations: 3.984 kB / 441.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000495/0.1746, allocations: 153.4 kB / 441.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1747, allocations: 4 kB / 441.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1747, allocations: 4 kB / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1747, allocations: 0 / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.175, allocations: 52.12 kB / 441.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004523/0.1755, allocations: 0.5898 MB / 442 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1756, allocations: 15.88 kB / 442.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1757, allocations: 11.98 kB / 442.1 MB, free: 11.81 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.0001288/0.1758, allocations: 117.9 kB / 442.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.1759, allocations: 11.91 kB / 442.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.1765, allocations: 170.2 kB / 442.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1765, allocations: 4 kB / 442.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1765, allocations: 7.938 kB / 442.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.1765, allocations: 3.984 kB / 442.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.177, allocations: 221.4 kB / 442.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.177, allocations: 0 / 442.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.1773, allocations: 39.97 kB / 442.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1774, allocations: 4 kB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1774, allocations: 4 kB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004423/0.1778, allocations: 0.5937 MB / 443.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1779, allocations: 4.031 kB / 443.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.1786, allocations: 283.4 kB / 443.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1787, allocations: 96.95 kB / 443.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1787, allocations: 4 kB / 443.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1789, allocations: 12.14 kB / 443.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.179, allocations: 11.98 kB / 443.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.179, allocations: 8 kB / 443.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.07e-05/0.1791, allocations: 99.14 kB / 443.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1791, allocations: 0 / 443.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006517/0.1798, allocations: 71.88 kB / 443.8 MB, free: 9.949 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.0004688/0.1803, allocations: 167.2 kB / 444 MB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.1808, allocations: 124.7 kB / 444.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1808, allocations: 4.062 kB / 444.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.1811, allocations: 75.89 kB / 444.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.1817, allocations: 15.8 kB / 444.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1828, allocations: 358.3 kB / 444.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1832, allocations: 0.7043 MB / 445.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1833, allocations: 20.77 kB / 445.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.1834, allocations: 15.44 kB / 445.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1834, allocations: 4 kB / 445.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of Templates: time 0.007887/0.1913, allocations: 2.138 MB / 447.4 MB, free: 6.281 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)