Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.002099/0.002099, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.509/1.509, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.848/0.848, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 65.45 kB / 0.5912 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 83.27 MB / 0.6725 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001711/0.1729, allocations: 0.5688 MB / 0.6731 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002771/0.1731, allocations: 66.36 kB / 0.6731 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.1732, allocations: 4 kB / 0.6731 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.1732, allocations: 0 / 0.6731 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.1732, allocations: 0 / 0.6731 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1735, allocations: 23.91 kB / 0.6732 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.1736, allocations: 27.97 kB / 0.6732 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1736, allocations: 0 / 0.6732 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.1736, allocations: 15.92 kB / 0.6732 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.1736, allocations: 19.92 kB / 0.6732 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1737, allocations: 0 / 0.6732 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.1737, allocations: 15.98 kB / 0.6732 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1738, allocations: 15.98 kB / 0.6733 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1738, allocations: 15.92 kB / 0.6733 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1739, allocations: 35.83 kB / 0.6733 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1739, allocations: 0 / 0.6733 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1739, allocations: 0 / 0.6733 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1739, allocations: 0 / 0.6733 GB, free: 3.035 MB / 0.4981 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.0003988/0.1743, allocations: 335.5 kB / 0.6736 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1744, allocations: 12.03 kB / 0.6736 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1744, allocations: 4.891 kB / 0.6736 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1745, allocations: 172.2 kB / 0.6738 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1745, allocations: 8.375 kB / 0.6738 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1746, allocations: 4.375 kB / 0.6738 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1747, allocations: 58.23 kB / 0.6739 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1747, allocations: 192 / 0.6739 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1747, allocations: 7.938 kB / 0.6739 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1747, allocations: 4 kB / 0.6739 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1749, allocations: 99.86 kB / 0.674 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.1751, allocations: 165.7 kB / 0.6741 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1752, allocations: 74.47 kB / 0.6742 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.1752, allocations: 32.84 kB / 0.6742 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/0.1756, allocations: 401.5 kB / 0.6746 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1757, allocations: 38.89 kB / 0.6747 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.61e-07/0.1757, allocations: 0 / 0.6747 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002697/0.1759, allocations: 125.4 kB / 0.6748 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.176, allocations: 51.41 kB / 0.6748 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.176, allocations: 98.2 kB / 0.6749 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1761, allocations: 29.7 kB / 0.6749 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.1761, allocations: 80.14 kB / 0.675 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1761, allocations: 23.8 kB / 0.675 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.1762, allocations: 33.7 kB / 0.6751 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1763, allocations: 314.8 kB / 0.6754 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.1764, allocations: 19.98 kB / 0.6754 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.1764, allocations: 23.92 kB / 0.6754 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.942e-05/0.1765, allocations: 56.84 kB / 0.6755 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1765, allocations: 4 kB / 0.6755 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002256/0.1767, allocations: 102.1 kB / 0.6756 GB, free: 396 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1768, allocations: 4 kB / 0.6756 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1768, allocations: 3.938 kB / 0.6756 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1768, allocations: 7.938 kB / 0.6756 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.1769, allocations: 16 kB / 0.6756 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1769, allocations: 7.984 kB / 0.6756 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.1769, allocations: 3.938 kB / 0.6756 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1769, allocations: 4 kB / 0.6756 GB, free: 348 kB / 0.4981 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.0001206/0.177, allocations: 121.8 kB / 0.6757 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.177, allocations: 7.938 kB / 0.6757 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.1773, allocations: 129.5 kB / 0.6759 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1773, allocations: 4 kB / 0.6759 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1773, allocations: 0 / 0.6759 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1773, allocations: 0 / 0.6759 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1775, allocations: 173.6 kB / 0.676 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1775, allocations: 0 / 0.676 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.1775, allocations: 16 kB / 0.6761 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1775, allocations: 7.938 kB / 0.6761 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1775, allocations: 11.98 kB / 0.6761 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1775, allocations: 0 / 0.6761 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.1775, allocations: 7.875 kB / 0.6761 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1777, allocations: 113.1 kB / 0.6762 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1778, allocations: 92.97 kB / 0.6763 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1778, allocations: 3.984 kB / 0.6763 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.1778, allocations: 4 kB / 0.6763 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1779, allocations: 11.98 kB / 0.6763 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1779, allocations: 4 kB / 0.6763 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.1779, allocations: 75.28 kB / 0.6764 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1779, allocations: 0 / 0.6764 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002047/0.1781, allocations: 16 kB / 0.6764 GB, free: 15.45 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.0001785/0.1783, allocations: 115.2 kB / 0.6765 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1784, allocations: 55.91 kB / 0.6766 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1784, allocations: 4 kB / 0.6766 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/0.1785, allocations: 35.92 kB / 0.6766 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1786, allocations: 5.203 kB / 0.6766 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1789, allocations: 156.8 kB / 0.6767 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1792, allocations: 0.6807 MB / 0.6774 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.5e-05/0.1793, allocations: 35.95 kB / 0.6774 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1793, allocations: 19.44 kB / 0.6775 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1793, allocations: 0 / 0.6775 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.003042/0.1824, allocations: 0.6102 MB / 0.6781 GB, free: 13.68 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480]