Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.678/2.678, allocations: 287.9 MB / 302.9 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001481, allocations: 186.9 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002023/0.002023, allocations: 102.8 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004685, allocations: 11.5 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1612, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001466/0.1627, allocations: 1.24 MB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00029/0.163, allocations: 124.5 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.1631, allocations: 4 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1631, allocations: 3.984 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.1632, allocations: 0 / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.1634, allocations: 31.84 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.1634, allocations: 15.97 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.1635, allocations: 16 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.1636, allocations: 7.984 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.1636, allocations: 15.92 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1636, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.1637, allocations: 19.97 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1637, allocations: 7.938 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.1638, allocations: 25.7 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.1638, allocations: 23.95 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.663e-06/0.1639, allocations: 4 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.075e-06/0.1639, allocations: 0 / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.752e-06/0.1639, allocations: 0 / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003676/0.1643, allocations: 355.5 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1643, allocations: 12.02 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.1644, allocations: 4 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.1644, allocations: 166.9 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1645, allocations: 19.88 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1645, allocations: 0 / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1647, allocations: 74.64 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.248e-06/0.1647, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1647, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-06/0.1648, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.165, allocations: 63.89 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1654, allocations: 276.7 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.1657, allocations: 66.53 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.166, allocations: 397.7 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.166, allocations: 34.55 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.358e-06/0.166, allocations: 4 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004404/0.1665, allocations: 113.5 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.1665, allocations: 55.41 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.1666, allocations: 109.8 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1666, allocations: 25.7 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1666, allocations: 88.12 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.1667, allocations: 11.91 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.1667, allocations: 0 / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.1667, allocations: 314.8 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1669, allocations: 23.98 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.167, allocations: 23.97 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1671, allocations: 28.27 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-06/0.1671, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002707/0.1674, allocations: 93.56 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1674, allocations: 8 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.966e-06/0.1674, allocations: 4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1675, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1676, allocations: 11.98 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.723e-06/0.1676, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.1677, allocations: 15.86 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-06/0.1677, allocations: 0 / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.1678, allocations: 121.8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1678, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.1681, allocations: 93.48 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.1682, allocations: 0 / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.884e-06/0.1682, allocations: 15.94 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-06/0.1682, allocations: 0 / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1684, allocations: 169.7 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-06/0.1684, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.1685, allocations: 11.98 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-06/0.1685, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-06/0.1685, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-06/0.1685, allocations: 4 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-06/0.1685, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1688, allocations: 191.4 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.1689, allocations: 77.11 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1689, allocations: 4 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.169, allocations: 15.92 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1691, allocations: 7.984 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-06/0.1691, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.1692, allocations: 91.27 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.65e-07/0.1692, allocations: 3.938 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003097/0.1695, allocations: 11.94 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.1696, allocations: 107.2 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.1699, allocations: 55.95 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.91e-06/0.1699, allocations: 0 / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1701, allocations: 27.98 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1703, allocations: 8.641 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.1706, allocations: 136.6 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.1707, allocations: 0.6809 MB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.244e-05/0.1708, allocations: 4.547 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.1708, allocations: 19.42 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.385e-06/0.1708, allocations: 0 / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.00302/0.1739, allocations: 0.6321 MB / 0.985 GB, free: 21.34 MB / 0.6198 GB