Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.771/2.771, allocations: 287.9 MB / 302.9 MB, free: 8.328 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.002269/0.002269, allocations: 190.7 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.288/2.288, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001029/0.001029, allocations: 100.9 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 18.25 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005847/0.1542, allocations: 317.8 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000207/0.1545, allocations: 57.48 kB / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.1545, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.1545, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-06/0.1546, allocations: 0 / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1548, allocations: 11.98 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.1548, allocations: 19.98 kB / 0.9792 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.1549, allocations: 4 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.1549, allocations: 15.97 kB / 0.9792 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.1549, allocations: 8 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.155, allocations: 4 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.155, allocations: 11.98 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.1551, allocations: 15.92 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1551, allocations: 29.64 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.532e-05/0.1552, allocations: 19.97 kB / 0.9793 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.376e-06/0.1552, allocations: 0 / 0.9793 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1552, allocations: 0 / 0.9793 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.795e-06/0.1552, allocations: 4 kB / 0.9793 GB, free: 27.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002223/0.1555, allocations: 331.7 kB / 0.9796 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1555, allocations: 8.031 kB / 0.9796 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1555, allocations: 3.906 kB / 0.9796 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.699e-05/0.1556, allocations: 178.9 kB / 0.9798 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1556, allocations: 0 / 0.9798 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1557, allocations: 4 kB / 0.9798 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1558, allocations: 57.67 kB / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-06/0.1558, allocations: 0 / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1558, allocations: 8 kB / 0.9798 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-06/0.1559, allocations: 4 kB / 0.9798 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.156, allocations: 99.86 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1562, allocations: 181.5 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1563, allocations: 74.48 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.1566, allocations: 401.5 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1566, allocations: 30.56 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.1566, allocations: 4 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002631/0.1569, allocations: 117.5 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1569, allocations: 55.41 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.51e-05/0.157, allocations: 90.19 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.157, allocations: 29.7 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.605e-05/0.157, allocations: 84.27 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1571, allocations: 27.59 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-06/0.1571, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.1571, allocations: 322.8 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.526e-05/0.1572, allocations: 23.98 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.1572, allocations: 19.98 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/0.1573, allocations: 19.98 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-06/0.1573, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001749/0.1575, allocations: 98.22 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1575, allocations: 4 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1575, allocations: 0 / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1576, allocations: 4 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1577, allocations: 19.92 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.195e-06/0.1577, allocations: 4 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.1578, allocations: 7.906 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1578, allocations: 8 kB / 0.9815 GB, free: 25.08 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001131/0.1579, allocations: 121.8 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.1579, allocations: 3.953 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1582, allocations: 129.7 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1582, allocations: 11.94 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-06/0.1582, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-06/0.1582, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.1583, allocations: 173.6 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-06/0.1583, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.1584, allocations: 19.98 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.843e-06/0.1585, allocations: 11.88 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-06/0.1585, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-06/0.1585, allocations: 4 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.202e-06/0.1585, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.1587, allocations: 121.4 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.1587, allocations: 84.98 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1587, allocations: 11.95 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.1588, allocations: 0 / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1588, allocations: 7.984 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-06/0.1588, allocations: 4 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.472e-05/0.1588, allocations: 79.22 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.43e-07/0.1589, allocations: 0 / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002694/0.1591, allocations: 16 kB / 0.9822 GB, free: 24.2 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000164/0.1593, allocations: 115.2 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1595, allocations: 59.84 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1595, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.306e-05/0.1596, allocations: 35.97 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.1597, allocations: 4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.1599, allocations: 150.7 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1601, allocations: 0.6887 MB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.292e-05/0.1602, allocations: 39.92 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1602, allocations: 15.44 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.338e-06/0.1602, allocations: 0 / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.002921/0.1632, allocations: 0.5599 MB / 0.9839 GB, free: 22.48 MB / 0.6198 GB