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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0009729/0.0009731, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 176.3 kB / 16.91 MB, free: 6.68 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7356/0.7356, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8.234 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1762, allocations: 77.55 MB / 0.56 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0008242/0.1771, allocations: 307.7 kB / 0.5603 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.1774, allocations: 58.47 kB / 0.5603 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.1774, allocations: 0 / 0.5603 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.1775, allocations: 3.984 kB / 0.5603 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.1775, allocations: 0 / 0.5603 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1777, allocations: 15.92 kB / 0.5603 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.1778, allocations: 27.97 kB / 0.5604 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1779, allocations: 0 / 0.5604 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.1779, allocations: 19.98 kB / 0.5604 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.533e-05/0.1779, allocations: 11.98 kB / 0.5604 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.178, allocations: 4 kB / 0.5604 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.178, allocations: 11.98 kB / 0.5604 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.1781, allocations: 15.92 kB / 0.5604 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.1781, allocations: 37.64 kB / 0.5605 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.661e-05/0.1782, allocations: 35.89 kB / 0.5605 GB, free: 8.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1783, allocations: 3.984 kB / 0.5605 GB, free: 8.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1783, allocations: 0 / 0.5605 GB, free: 8.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1783, allocations: 0 / 0.5605 GB, free: 8.441 MB / 430.1 MB 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.0003127/0.1786, allocations: 323.6 kB / 0.5608 GB, free: 8.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1786, allocations: 8.031 kB / 0.5608 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.1787, allocations: 12.84 kB / 0.5608 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.1788, allocations: 164.6 kB / 0.561 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1788, allocations: 4.375 kB / 0.561 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1788, allocations: 4.375 kB / 0.561 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.179, allocations: 70.09 kB / 0.5611 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.179, allocations: 192 / 0.5611 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.179, allocations: 7.938 kB / 0.5611 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.179, allocations: 0 / 0.5611 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1792, allocations: 103.9 kB / 0.5612 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1793, allocations: 169.7 kB / 0.5613 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1795, allocations: 74.55 kB / 0.5614 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1795, allocations: 28.84 kB / 0.5614 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.1799, allocations: 413.4 kB / 0.5618 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1799, allocations: 30.56 kB / 0.5619 GB, free: 6.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.1799, allocations: 4 kB / 0.5619 GB, free: 6.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002349/0.1802, allocations: 121.5 kB / 0.562 GB, free: 6.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1802, allocations: 59.34 kB / 0.562 GB, free: 6.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.261e-05/0.1803, allocations: 93.86 kB / 0.5621 GB, free: 6.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1803, allocations: 25.7 kB / 0.5621 GB, free: 6.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.1803, allocations: 84.14 kB / 0.5622 GB, free: 6.387 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1804, allocations: 23.64 kB / 0.5622 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1804, allocations: 17.72 kB / 0.5623 GB, free: 6.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1805, allocations: 322.8 kB / 0.5626 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.1806, allocations: 23.98 kB / 0.5626 GB, free: 5.992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.1806, allocations: 23.92 kB / 0.5626 GB, free: 5.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1807, allocations: 60.78 kB / 0.5627 GB, free: 5.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1807, allocations: 0 / 0.5627 GB, free: 5.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001237/0.1809, allocations: 89.66 kB / 0.5628 GB, free: 5.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1809, allocations: 4 kB / 0.5628 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1809, allocations: 3.938 kB / 0.5628 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.1809, allocations: 0 / 0.5628 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.181, allocations: 23.92 kB / 0.5628 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.181, allocations: 0 / 0.5628 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.1811, allocations: 15.91 kB / 0.5628 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1811, allocations: 0 / 0.5628 GB, free: 5.766 MB / 430.1 MB 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.0001371/0.1812, allocations: 121.8 kB / 0.5629 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.1812, allocations: 4 kB / 0.5629 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.1814, allocations: 127 kB / 0.563 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1815, allocations: 4 kB / 0.5631 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1815, allocations: 4 kB / 0.5631 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1815, allocations: 3.938 kB / 0.5631 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1816, allocations: 173.6 kB / 0.5632 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1816, allocations: 3.984 kB / 0.5632 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.1817, allocations: 16 kB / 0.5632 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1817, allocations: 7.922 kB / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1817, allocations: 0 / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1817, allocations: 4 kB / 0.5633 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1817, allocations: 0 / 0.5633 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1819, allocations: 125 kB / 0.5634 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.1819, allocations: 88.95 kB / 0.5635 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.182, allocations: 0 / 0.5635 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/0.182, allocations: 3.938 kB / 0.5635 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.182, allocations: 11.98 kB / 0.5635 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.182, allocations: 4 kB / 0.5635 GB, free: 4.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.694e-05/0.1821, allocations: 75.28 kB / 0.5635 GB, free: 4.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 0 / 0.5635 GB, free: 4.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.1823, allocations: 16 kB / 0.5636 GB, free: 4.887 MB / 430.1 MB 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.000195/0.1825, allocations: 126.5 kB / 0.5637 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1826, allocations: 70.3 kB / 0.5638 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1826, allocations: 0 / 0.5638 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.1827, allocations: 31.98 kB / 0.5638 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1828, allocations: 11.94 kB / 0.5638 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.1831, allocations: 146.7 kB / 0.5639 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1834, allocations: 0.6809 MB / 0.5646 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.1835, allocations: 43.89 kB / 0.5646 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.1835, allocations: 19.44 kB / 0.5647 GB, free: 3.711 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1835, allocations: 0 / 0.5647 GB, free: 3.711 MB / 430.1 MB Notification: Performance of Templates: time 0.002657/0.1862, allocations: 0.5793 MB / 0.5652 GB, free: 3.133 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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)