Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005895/0.005895, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.00108/0.00108, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.322/1.322, allocations: 222.9 MB / 240.4 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.8394/0.8394, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.45 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1648, allocations: 82.02 MB / 0.6756 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002994/0.1678, allocations: 1.547 MB / 0.6771 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.1682, allocations: 136.4 kB / 0.6773 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.1683, allocations: 0 / 0.6773 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.1683, allocations: 3.984 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.1684, allocations: 3.938 kB / 0.6773 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1687, allocations: 27.91 kB / 0.6773 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.1689, allocations: 39.91 kB / 0.6773 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.169, allocations: 11.94 kB / 0.6773 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.169, allocations: 19.98 kB / 0.6774 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.1691, allocations: 19.91 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1691, allocations: 4 kB / 0.6774 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.581e-05/0.1692, allocations: 19.98 kB / 0.6774 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1692, allocations: 11.94 kB / 0.6774 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.1693, allocations: 15.92 kB / 0.6774 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1694, allocations: 47.88 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1694, allocations: 0 / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.657e-06/0.1694, allocations: 3.984 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.1695, allocations: 0 / 0.6775 GB, free: 8.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005766/0.17, allocations: 351.3 kB / 0.6778 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1701, allocations: 15.97 kB / 0.6778 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1701, allocations: 0.9375 kB / 0.6778 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1702, allocations: 168.3 kB / 0.678 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.1703, allocations: 16.36 kB / 0.678 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1703, allocations: 8.312 kB / 0.678 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1705, allocations: 58.23 kB / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1705, allocations: 192 / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1705, allocations: 3.938 kB / 0.6781 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1705, allocations: 0 / 0.6781 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1707, allocations: 47.95 kB / 0.6781 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1711, allocations: 288.7 kB / 0.6784 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.1715, allocations: 54.55 kB / 0.6785 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.1716, allocations: 28.89 kB / 0.6785 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.1718, allocations: 397.5 kB / 0.6789 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1719, allocations: 38.5 kB / 0.6789 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1719, allocations: 0 / 0.6789 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003892/0.1723, allocations: 97.53 kB / 0.679 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1723, allocations: 51.41 kB / 0.679 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.1724, allocations: 109.8 kB / 0.6791 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1724, allocations: 25.7 kB / 0.6792 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.1725, allocations: 84.14 kB / 0.6792 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.1726, allocations: 11.91 kB / 0.6793 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1726, allocations: 21.7 kB / 0.6793 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1727, allocations: 314.8 kB / 0.6796 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.1728, allocations: 23.97 kB / 0.6796 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.1729, allocations: 16.17 kB / 0.6796 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1731, allocations: 56.83 kB / 0.6797 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1731, allocations: 0 / 0.6797 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002148/0.1734, allocations: 73.66 kB / 0.6797 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1734, allocations: 5.875 kB / 0.6797 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1734, allocations: 0 / 0.6797 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1734, allocations: 0 / 0.6797 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.1735, allocations: 15.92 kB / 0.6798 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1735, allocations: 0 / 0.6798 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.1736, allocations: 15.89 kB / 0.6798 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1736, allocations: 8 kB / 0.6798 GB, free: 5.738 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.808e-05/0.1737, allocations: 110.4 kB / 0.6799 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1737, allocations: 4 kB / 0.6799 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.174, allocations: 85.8 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.174, allocations: 0 / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.174, allocations: 0 / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.174, allocations: 8 kB / 0.68 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1741, allocations: 165.6 kB / 0.6801 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1742, allocations: 4 kB / 0.6801 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.1742, allocations: 7.984 kB / 0.6802 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1742, allocations: 4 kB / 0.6802 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1743, allocations: 7.938 kB / 0.6802 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1743, allocations: 0 / 0.6802 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1743, allocations: 3.984 kB / 0.6802 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1745, allocations: 179.3 kB / 0.6803 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1746, allocations: 85.03 kB / 0.6804 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1746, allocations: 8 kB / 0.6804 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.1747, allocations: 0 / 0.6804 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1748, allocations: 11.98 kB / 0.6804 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1748, allocations: 4 kB / 0.6804 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.1748, allocations: 87.27 kB / 0.6805 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1748, allocations: 4 kB / 0.6805 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002236/0.1751, allocations: 8 kB / 0.6805 GB, free: 4.863 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001462/0.1752, allocations: 99.25 kB / 0.6806 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.1755, allocations: 51.89 kB / 0.6807 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1755, allocations: 0 / 0.6807 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.1756, allocations: 27.97 kB / 0.6807 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1758, allocations: 10 kB / 0.6807 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.1762, allocations: 117.8 kB / 0.6808 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1764, allocations: 0.6807 MB / 0.6815 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.1765, allocations: 11.84 kB / 0.6815 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1765, allocations: 7.438 kB / 0.6815 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1765, allocations: 3.938 kB / 0.6815 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of Templates: time 0.002689/0.1792, allocations: 0.7757 MB / 0.6823 GB, free: 3.027 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)