Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.565/1.565, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.000917/0.0009172, allocations: 186.4 kB / 371.8 MB, free: 10.82 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.352/1.352, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009313/0.0009313, allocations: 99.55 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 22 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006226/0.1771, allocations: 327.5 kB / 0.9796 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.1774, allocations: 47.84 kB / 0.9796 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.1774, allocations: 0 / 0.9796 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.1774, allocations: 0 / 0.9796 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1774, allocations: 4 kB / 0.9796 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1777, allocations: 11.98 kB / 0.9797 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.1778, allocations: 23.97 kB / 0.9797 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.1778, allocations: 0 / 0.9797 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.1779, allocations: 15.98 kB / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.1779, allocations: 7.984 kB / 0.9797 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1779, allocations: 4 kB / 0.9797 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.178, allocations: 23.98 kB / 0.9797 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.178, allocations: 15.92 kB / 0.9797 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.178, allocations: 29.7 kB / 0.9798 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.026e-05/0.1781, allocations: 15.97 kB / 0.9798 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1781, allocations: 0 / 0.9798 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1781, allocations: 0 / 0.9798 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.1781, allocations: 0 / 0.9798 GB, free: 27.68 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.0002536/0.1784, allocations: 325.2 kB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1784, allocations: 12.02 kB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1785, allocations: 12.84 kB / 0.9801 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.312e-05/0.1785, allocations: 172.3 kB / 0.9803 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1786, allocations: 384 / 0.9803 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1786, allocations: 12.31 kB / 0.9803 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1787, allocations: 66.17 kB / 0.9804 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1787, allocations: 192 / 0.9804 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1787, allocations: 7.922 kB / 0.9804 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1787, allocations: 4 kB / 0.9804 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1789, allocations: 99.86 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.179, allocations: 173.7 kB / 0.9806 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.1791, allocations: 74.48 kB / 0.9807 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.1791, allocations: 36.78 kB / 0.9807 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/0.1794, allocations: 405.5 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1794, allocations: 34.56 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1794, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002057/0.1796, allocations: 117.8 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.295e-05/0.1796, allocations: 55.34 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.189e-05/0.1797, allocations: 101.9 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.1797, allocations: 25.7 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.668e-06/0.1797, allocations: 80.14 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1797, allocations: 27.64 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.1797, allocations: 0 / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.1798, allocations: 318.8 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.1798, allocations: 15.98 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.1798, allocations: 23.98 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.341e-05/0.1799, allocations: 56.77 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1799, allocations: 4 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001065/0.18, allocations: 89.67 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1801, allocations: 4 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1801, allocations: 3.938 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1801, allocations: 3.938 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.1802, allocations: 19.98 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1802, allocations: 0 / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.1802, allocations: 7.906 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1802, allocations: 4 kB / 0.9821 GB, free: 25.02 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.0001056/0.1804, allocations: 127 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.1804, allocations: 4 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.1806, allocations: 134 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1806, allocations: 0 / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1806, allocations: 0 / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.1806, allocations: 85.09 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1806, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.1806, allocations: 11.94 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1807, allocations: 4 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001217/0.1808, allocations: 176.9 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001501/0.181, allocations: 270.8 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.441e-05/0.181, allocations: 31.97 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.181, allocations: 79.28 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.181, allocations: 3.938 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.1814, allocations: 124.6 kB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002627/0.1817, allocations: 0.5741 MB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.002445/0.1842, allocations: 0.7621 MB / 0.9844 GB, free: 22.55 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)