Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 288.4 MB / 303.7 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009791/0.0009792, allocations: 172.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007536/0.0007535, allocations: 92.58 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 14.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006163/0.168, allocations: 319.8 kB / 0.9804 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000219/0.1682, allocations: 51.83 kB / 0.9805 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.1683, allocations: 0 / 0.9805 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.1683, allocations: 0 / 0.9805 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.1683, allocations: 0 / 0.9805 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1685, allocations: 15.98 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.1686, allocations: 23.98 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1687, allocations: 4 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.836e-05/0.1687, allocations: 15.97 kB / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.734e-05/0.1687, allocations: 11.94 kB / 0.9806 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1687, allocations: 0 / 0.9806 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.1688, allocations: 15.98 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.1688, allocations: 15.97 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.1689, allocations: 33.64 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.693e-05/0.169, allocations: 23.95 kB / 0.9807 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.169, allocations: 4 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.169, allocations: 4 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.169, allocations: 0 / 0.9807 GB, free: 26.79 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.000198/0.1692, allocations: 327.9 kB / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1692, allocations: 8.031 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1693, allocations: 4.844 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.367e-05/0.1693, allocations: 172.3 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1693, allocations: 384 / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1694, allocations: 4.375 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1695, allocations: 66.16 kB / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1695, allocations: 4.188 kB / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1695, allocations: 7.938 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1695, allocations: 4 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1696, allocations: 95.88 kB / 0.9813 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1698, allocations: 177.6 kB / 0.9815 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.1699, allocations: 70.48 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.1699, allocations: 28.84 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.1701, allocations: 405.5 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.1701, allocations: 38.56 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1701, allocations: 0 / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002024/0.1704, allocations: 125.7 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.532e-05/0.1704, allocations: 55.34 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.84e-05/0.1704, allocations: 97.84 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.1704, allocations: 29.7 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-06/0.1704, allocations: 84.12 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1705, allocations: 19.66 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1705, allocations: 8 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.1705, allocations: 314.8 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.1705, allocations: 15.98 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.1706, allocations: 23.98 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.332e-05/0.1707, allocations: 60.77 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1707, allocations: 0 / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001052/0.1708, allocations: 85.67 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1708, allocations: 4 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1708, allocations: 3.938 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1708, allocations: 7.938 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1709, allocations: 23.98 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1709, allocations: 0 / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.1709, allocations: 7.906 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.171, allocations: 4 kB / 0.9829 GB, free: 24.14 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 8.854e-05/0.1711, allocations: 121.8 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.1711, allocations: 4 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.1712, allocations: 141.3 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1713, allocations: 4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.1713, allocations: 4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1713, allocations: 3.984 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.854e-05/0.1713, allocations: 161.7 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1714, allocations: 0 / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.1714, allocations: 19.98 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1714, allocations: 3.938 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1714, allocations: 4 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1714, allocations: 8 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1715, allocations: 0 / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1716, allocations: 125.8 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.1716, allocations: 88.89 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1716, allocations: 4 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.1716, allocations: 4 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.1717, allocations: 7.984 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1717, allocations: 4 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.518e-06/0.1717, allocations: 79.28 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1717, allocations: 0 / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001862/0.1719, allocations: 15.98 kB / 0.9837 GB, free: 23.25 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.000128/0.172, allocations: 118.3 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1721, allocations: 63.89 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1721, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1722, allocations: 39.91 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1723, allocations: 15.94 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.1725, allocations: 146.7 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.211e-05/0.1726, allocations: 0.6809 MB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.617e-05/0.1727, allocations: 35.94 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.1727, allocations: 19.42 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.1727, allocations: 0 / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002052/0.1748, allocations: 0.5672 MB / 0.9853 GB, free: 21.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)