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.008591/0.008591, allocations: 104.2 kB / 15.73 MB, free: 5.992 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.001847/0.001847, allocations: 198.5 kB / 16.68 MB, free: 5.914 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.335/1.335, allocations: 222.9 MB / 240.3 MB, free: 15.1 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.846/0.846, allocations: 143.1 MB / 433.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.42 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 82.03 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003335/0.1682, allocations: 1.541 MB / 0.6771 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003899/0.1687, allocations: 132.4 kB / 0.6773 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.1687, allocations: 8 kB / 0.6773 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.1688, allocations: 3.938 kB / 0.6773 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.1688, allocations: 3.984 kB / 0.6773 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1691, allocations: 27.91 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.1692, allocations: 35.92 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1693, allocations: 15.92 kB / 0.6774 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.1694, allocations: 19.97 kB / 0.6774 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.1694, allocations: 15.92 kB / 0.6774 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1694, allocations: 8 kB / 0.6774 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.1695, allocations: 15.98 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.1695, allocations: 11.94 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1696, allocations: 19.92 kB / 0.6774 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1697, allocations: 43.88 kB / 0.6775 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1697, allocations: 0 / 0.6775 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1697, allocations: 0 / 0.6775 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1697, allocations: 0 / 0.6775 GB, free: 8.453 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.00056/0.1703, allocations: 359.3 kB / 0.6778 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1703, allocations: 16.03 kB / 0.6778 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1704, allocations: 0.9375 kB / 0.6778 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1705, allocations: 168.3 kB / 0.678 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1705, allocations: 4.375 kB / 0.678 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1705, allocations: 4.375 kB / 0.678 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1707, allocations: 62.22 kB / 0.6781 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1707, allocations: 192 / 0.6781 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1708, allocations: 3.938 kB / 0.6781 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1708, allocations: 0 / 0.6781 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.171, allocations: 55.88 kB / 0.6781 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1713, allocations: 280.7 kB / 0.6784 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1716, allocations: 58.53 kB / 0.6785 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.1717, allocations: 28.91 kB / 0.6785 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.1721, allocations: 397.5 kB / 0.6789 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.1722, allocations: 38.5 kB / 0.6789 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1722, allocations: 0 / 0.6789 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.1725, allocations: 97.53 kB / 0.679 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1726, allocations: 51.41 kB / 0.679 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1727, allocations: 113.8 kB / 0.6791 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1727, allocations: 25.7 kB / 0.6792 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.1728, allocations: 84.14 kB / 0.6793 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1728, allocations: 7.906 kB / 0.6793 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1729, allocations: 13.72 kB / 0.6793 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.173, allocations: 322.8 kB / 0.6796 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.1731, allocations: 15.98 kB / 0.6796 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.1732, allocations: 28.16 kB / 0.6796 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1733, allocations: 52.84 kB / 0.6797 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1734, allocations: 0 / 0.6797 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002122/0.1736, allocations: 73.64 kB / 0.6797 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1736, allocations: 5.719 kB / 0.6797 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1736, allocations: 0 / 0.6797 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1736, allocations: 4 kB / 0.6798 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.1737, allocations: 15.92 kB / 0.6798 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1737, allocations: 0 / 0.6798 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.1738, allocations: 11.91 kB / 0.6798 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1738, allocations: 3.984 kB / 0.6798 GB, free: 5.781 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.322e-05/0.1739, allocations: 114.4 kB / 0.6799 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1739, allocations: 3.938 kB / 0.6799 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.1742, allocations: 89.55 kB / 0.68 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1742, allocations: 0 / 0.68 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1742, allocations: 4 kB / 0.68 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1742, allocations: 0 / 0.68 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1743, allocations: 165.6 kB / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1744, allocations: 0 / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.1744, allocations: 15.98 kB / 0.6802 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1744, allocations: 0 / 0.6802 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1744, allocations: 4 kB / 0.6802 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1745, allocations: 4 kB / 0.6802 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1745, allocations: 0 / 0.6802 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1748, allocations: 179.3 kB / 0.6803 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1748, allocations: 81.05 kB / 0.6804 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1749, allocations: 3.938 kB / 0.6804 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1749, allocations: 7.984 kB / 0.6804 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.175, allocations: 15.98 kB / 0.6804 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.175, allocations: 0 / 0.6804 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.175, allocations: 87.28 kB / 0.6805 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1751, allocations: 0 / 0.6805 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000216/0.1753, allocations: 8 kB / 0.6805 GB, free: 4.91 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.000177/0.1755, allocations: 110.3 kB / 0.6806 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1757, allocations: 51.89 kB / 0.6807 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1757, allocations: 4 kB / 0.6807 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.1758, allocations: 19.98 kB / 0.6807 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.176, allocations: 12.25 kB / 0.6807 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.1763, allocations: 113.5 kB / 0.6808 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1766, allocations: 0.6807 MB / 0.6815 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.1766, allocations: 11.86 kB / 0.6815 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.1766, allocations: 11.44 kB / 0.6815 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1767, allocations: 3.938 kB / 0.6815 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.002828/0.1795, allocations: 0.7838 MB / 0.6823 GB, free: 3.059 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)