Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 106.3 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 189.5 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9876/0.9876, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.64 kB / 0.5962 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1711, allocations: 82.03 MB / 0.6764 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001585/0.1726, allocations: 0.5905 MB / 0.6769 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000271/0.1729, allocations: 63.77 kB / 0.677 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.628e-05/0.1729, allocations: 0 / 0.677 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.173, allocations: 0 / 0.677 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.017e-06/0.173, allocations: 0 / 0.677 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1732, allocations: 19.92 kB / 0.677 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.1733, allocations: 23.98 kB / 0.677 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.1733, allocations: 0 / 0.677 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.1733, allocations: 19.97 kB / 0.6771 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.1733, allocations: 8 kB / 0.6771 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1734, allocations: 0 / 0.6771 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.1734, allocations: 19.98 kB / 0.6771 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.1735, allocations: 23.91 kB / 0.6771 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.1735, allocations: 11.94 kB / 0.6771 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.745e-05/0.1736, allocations: 35.83 kB / 0.6771 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1736, allocations: 0 / 0.6771 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1736, allocations: 0 / 0.6771 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1736, allocations: 0 / 0.6771 GB, free: 9.75 MB / 0.5137 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.0003298/0.1739, allocations: 343.7 kB / 0.6775 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.1739, allocations: 8.031 kB / 0.6775 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.174, allocations: 0.9375 kB / 0.6775 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1741, allocations: 172.4 kB / 0.6776 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1741, allocations: 384 / 0.6776 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1741, allocations: 8.312 kB / 0.6777 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1742, allocations: 66.16 kB / 0.6777 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1742, allocations: 192 / 0.6777 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1742, allocations: 15.88 kB / 0.6777 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1743, allocations: 7.938 kB / 0.6777 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1744, allocations: 95.88 kB / 0.6778 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1746, allocations: 177.6 kB / 0.678 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1747, allocations: 70.48 kB / 0.6781 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1747, allocations: 28.84 kB / 0.6781 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.1751, allocations: 405.5 kB / 0.6785 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1751, allocations: 38.56 kB / 0.6785 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 2.936e-06/0.1751, allocations: 3.984 kB / 0.6785 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002328/0.1753, allocations: 113.9 kB / 0.6786 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1754, allocations: 55.41 kB / 0.6787 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.1754, allocations: 101.8 kB / 0.6788 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1755, allocations: 25.7 kB / 0.6788 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.1755, allocations: 80.14 kB / 0.6789 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1755, allocations: 23.83 kB / 0.6789 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.1756, allocations: 37.64 kB / 0.6789 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1757, allocations: 310.8 kB / 0.6792 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.1757, allocations: 19.98 kB / 0.6793 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.1758, allocations: 19.98 kB / 0.6793 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1759, allocations: 64.83 kB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1759, allocations: 3.938 kB / 0.6793 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001447/0.176, allocations: 89.62 kB / 0.6794 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.176, allocations: 4 kB / 0.6794 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1761, allocations: 3.938 kB / 0.6794 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1761, allocations: 4 kB / 0.6794 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.1762, allocations: 19.92 kB / 0.6795 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.1762, allocations: 4 kB / 0.6795 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.1762, allocations: 7.938 kB / 0.6795 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1762, allocations: 4 kB / 0.6795 GB, free: 7.047 MB / 0.5137 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.1763, allocations: 125.8 kB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.1763, allocations: 3.953 kB / 0.6796 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1766, allocations: 126.2 kB / 0.6797 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1766, allocations: 4 kB / 0.6797 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1766, allocations: 0 / 0.6797 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1766, allocations: 0 / 0.6797 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1767, allocations: 177.6 kB / 0.6799 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1767, allocations: 0 / 0.6799 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.1768, allocations: 23.98 kB / 0.6799 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1768, allocations: 3.938 kB / 0.6799 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1768, allocations: 8 kB / 0.6799 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1768, allocations: 3.938 kB / 0.6799 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1768, allocations: 0 / 0.6799 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.177, allocations: 125 kB / 0.68 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.177, allocations: 92.94 kB / 0.6801 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.177, allocations: 0 / 0.6801 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1771, allocations: 12 kB / 0.6801 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1771, allocations: 7.984 kB / 0.6802 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1771, allocations: 4 kB / 0.6802 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.1771, allocations: 75.28 kB / 0.6802 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1771, allocations: 0 / 0.6802 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001969/0.1773, allocations: 16 kB / 0.6802 GB, free: 6.152 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.1775, allocations: 107.2 kB / 0.6803 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.1776, allocations: 67.91 kB / 0.6804 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1776, allocations: 0 / 0.6804 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.1777, allocations: 35.91 kB / 0.6804 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1778, allocations: 6.406 kB / 0.6805 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.1781, allocations: 174.4 kB / 0.6806 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1784, allocations: 0.6807 MB / 0.6813 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.1784, allocations: 23.42 kB / 0.6813 GB, free: 5 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1784, allocations: 0 / 0.6813 GB, free: 5 MB / 0.5137 GB Notification: Performance of Templates: time 0.002287/0.1807, allocations: 0.9868 MB / 0.6823 GB, free: 4.016 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)