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.607/1.607, allocations: 288.4 MB / 304.3 MB, free: 8.023 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.001159/0.001159, allocations: 185.7 kB / 372.9 MB, free: 10.17 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.438/1.438, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0007469/0.000747, allocations: 102.3 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 18.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006355/0.1756, allocations: 315.8 kB / 0.981 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002121/0.1758, allocations: 55.84 kB / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1758, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.1759, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.463e-06/0.1759, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1761, allocations: 19.97 kB / 0.9811 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.1762, allocations: 27.97 kB / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1762, allocations: 0 / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.1762, allocations: 15.94 kB / 0.9812 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.1763, allocations: 11.97 kB / 0.9812 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1763, allocations: 0 / 0.9812 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.1764, allocations: 15.98 kB / 0.9812 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.1764, allocations: 16 kB / 0.9812 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1765, allocations: 37.62 kB / 0.9812 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.595e-05/0.1765, allocations: 19.97 kB / 0.9813 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1765, allocations: 0 / 0.9813 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1765, allocations: 0 / 0.9813 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1766, allocations: 0 / 0.9813 GB, free: 26.81 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.0002415/0.1768, allocations: 323.8 kB / 0.9816 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1769, allocations: 8.031 kB / 0.9816 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1769, allocations: 8.844 kB / 0.9816 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.94e-05/0.177, allocations: 176.3 kB / 0.9818 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.177, allocations: 4.375 kB / 0.9818 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.177, allocations: 4.359 kB / 0.9818 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1771, allocations: 66.17 kB / 0.9818 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1771, allocations: 192 / 0.9818 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1772, allocations: 11.94 kB / 0.9818 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1772, allocations: 0 / 0.9818 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1773, allocations: 103.9 kB / 0.9819 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1775, allocations: 169.7 kB / 0.9821 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.1776, allocations: 82.41 kB / 0.9822 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.1776, allocations: 32.84 kB / 0.9822 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.1779, allocations: 401.5 kB / 0.9826 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1779, allocations: 34.56 kB / 0.9826 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1779, allocations: 0 / 0.9826 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002176/0.1781, allocations: 118 kB / 0.9827 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.1781, allocations: 59.39 kB / 0.9828 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.545e-05/0.1782, allocations: 97.86 kB / 0.9829 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.1782, allocations: 25.7 kB / 0.9829 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.1782, allocations: 80.14 kB / 0.983 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1782, allocations: 23.66 kB / 0.983 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.1782, allocations: 4 kB / 0.983 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.1783, allocations: 318.8 kB / 0.9833 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.1783, allocations: 19.98 kB / 0.9833 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.1784, allocations: 24.03 kB / 0.9834 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.1784, allocations: 60.78 kB / 0.9834 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1785, allocations: 4 kB / 0.9834 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.916e-05/0.1786, allocations: 89.59 kB / 0.9835 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1786, allocations: 5.406 kB / 0.9835 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1786, allocations: 4 kB / 0.9835 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1786, allocations: 3.938 kB / 0.9835 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.1787, allocations: 16 kB / 0.9835 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1787, allocations: 3.984 kB / 0.9835 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.1787, allocations: 7.906 kB / 0.9835 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1787, allocations: 4 kB / 0.9835 GB, free: 24.16 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.0001038/0.1789, allocations: 125.8 kB / 0.9837 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-06/0.1789, allocations: 3.938 kB / 0.9837 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.179, allocations: 129.3 kB / 0.9838 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.179, allocations: 0 / 0.9838 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1791, allocations: 4 kB / 0.9838 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.1791, allocations: 81.11 kB / 0.9839 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1791, allocations: 0 / 0.9839 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.1791, allocations: 4 kB / 0.9839 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.1791, allocations: 15.97 kB / 0.9839 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000114/0.1793, allocations: 176.9 kB / 0.9841 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001204/0.1794, allocations: 271.2 kB / 0.9843 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.328e-05/0.1794, allocations: 35.97 kB / 0.9844 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.143e-05/0.1795, allocations: 79.28 kB / 0.9844 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of Backend: time 2.5e-07/0.1795, allocations: 0 / 0.9844 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.1798, allocations: 129.2 kB / 0.9846 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002212/0.1801, allocations: 0.5741 MB / 0.9851 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.002499/0.1826, allocations: 0.7737 MB / 0.9859 GB, free: 21.67 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)