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.001184/0.001184, allocations: 107.1 kB / 16.41 MB, free: 6.449 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.001202/0.001202, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 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.8581/0.8581, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.47 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1675, allocations: 82.04 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001907/0.1695, allocations: 0.5789 MB / 0.6769 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003203/0.1698, allocations: 59.8 kB / 0.677 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.1699, allocations: 0 / 0.677 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.1699, allocations: 0 / 0.677 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.17, allocations: 4 kB / 0.677 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1703, allocations: 15.92 kB / 0.677 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.1704, allocations: 31.95 kB / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1704, allocations: 4 kB / 0.677 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.1704, allocations: 8 kB / 0.677 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.1705, allocations: 15.97 kB / 0.6771 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1705, allocations: 0 / 0.6771 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.1706, allocations: 15.98 kB / 0.6771 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.1706, allocations: 15.94 kB / 0.6771 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1707, allocations: 15.92 kB / 0.6771 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1708, allocations: 43.88 kB / 0.6771 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1708, allocations: 0 / 0.6771 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1708, allocations: 0 / 0.6771 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.1708, allocations: 0 / 0.6771 GB, free: 9.504 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.0003494/0.1712, allocations: 327.9 kB / 0.6775 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1712, allocations: 12.03 kB / 0.6775 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1713, allocations: 4.844 kB / 0.6775 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1714, allocations: 168.3 kB / 0.6776 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1714, allocations: 12.36 kB / 0.6776 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1714, allocations: 8.312 kB / 0.6776 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1716, allocations: 66.22 kB / 0.6777 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1716, allocations: 192 / 0.6777 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1716, allocations: 3.938 kB / 0.6777 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1716, allocations: 4 kB / 0.6777 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1718, allocations: 103.8 kB / 0.6778 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.172, allocations: 165.7 kB / 0.678 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1721, allocations: 78.47 kB / 0.6781 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.1721, allocations: 32.84 kB / 0.6781 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.1725, allocations: 401.5 kB / 0.6785 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1725, allocations: 38.56 kB / 0.6785 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1725, allocations: 0 / 0.6785 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002478/0.1728, allocations: 122.1 kB / 0.6786 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1728, allocations: 55.41 kB / 0.6787 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.1729, allocations: 97.77 kB / 0.6788 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1729, allocations: 25.7 kB / 0.6788 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.1729, allocations: 84.14 kB / 0.6789 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.173, allocations: 23.73 kB / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.173, allocations: 33.7 kB / 0.6789 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.1731, allocations: 314.8 kB / 0.6792 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.1732, allocations: 23.98 kB / 0.6792 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.1732, allocations: 28.03 kB / 0.6793 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.1733, allocations: 52.84 kB / 0.6793 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1733, allocations: 4 kB / 0.6793 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001382/0.1735, allocations: 97.44 kB / 0.6794 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1735, allocations: 12 kB / 0.6794 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1735, allocations: 3.938 kB / 0.6794 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1735, allocations: 0 / 0.6794 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1736, allocations: 20 kB / 0.6795 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1737, allocations: 0 / 0.6795 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.1737, allocations: 3.984 kB / 0.6795 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1737, allocations: 7.984 kB / 0.6795 GB, free: 6.801 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.0001568/0.1739, allocations: 118.5 kB / 0.6796 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.1739, allocations: 11.89 kB / 0.6796 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.1741, allocations: 133.4 kB / 0.6797 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1741, allocations: 0 / 0.6797 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1741, allocations: 0 / 0.6797 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1741, allocations: 0 / 0.6797 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1742, allocations: 173.6 kB / 0.6799 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1743, allocations: 3.938 kB / 0.6799 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.1743, allocations: 16 kB / 0.6799 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1743, allocations: 7.938 kB / 0.6799 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1744, allocations: 3.984 kB / 0.6799 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1744, allocations: 7.984 kB / 0.6799 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1744, allocations: 0 / 0.6799 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1745, allocations: 121 kB / 0.68 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.1746, allocations: 92.88 kB / 0.6801 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1746, allocations: 4 kB / 0.6801 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.1746, allocations: 4 kB / 0.6801 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1747, allocations: 7.984 kB / 0.6801 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1747, allocations: 0 / 0.6801 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.929e-05/0.1747, allocations: 79.28 kB / 0.6802 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 4 kB / 0.6802 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001963/0.1749, allocations: 12 kB / 0.6802 GB, free: 5.914 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.0001837/0.1751, allocations: 111.2 kB / 0.6803 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1753, allocations: 64.44 kB / 0.6804 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1753, allocations: 0 / 0.6804 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.1753, allocations: 44.08 kB / 0.6804 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1755, allocations: 8.219 kB / 0.6804 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.1758, allocations: 174.5 kB / 0.6806 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.176, allocations: 0.6846 MB / 0.6813 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.1761, allocations: 11.44 kB / 0.6813 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1761, allocations: 0 / 0.6813 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of Templates: time 0.002329/0.1784, allocations: 0.9901 MB / 0.6823 GB, free: 3.77 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)