Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 204.6 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9502/0.9502, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 65.19 kB / 0.6423 GB, free: 9.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1766, allocations: 89.18 MB / 0.7294 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002794/0.1794, allocations: 1.548 MB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003818/0.1798, allocations: 131.6 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1798, allocations: 8 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.1799, allocations: 3.938 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.1799, allocations: 7.922 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1802, allocations: 23.92 kB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.1803, allocations: 47.83 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.1804, allocations: 11.98 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.1804, allocations: 11.98 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.1805, allocations: 19.92 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1805, allocations: 4 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.1806, allocations: 19.97 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.1806, allocations: 15.92 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1806, allocations: 15.94 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1807, allocations: 43.81 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1807, allocations: 0 / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1807, allocations: 0 / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1807, allocations: 0 / 0.7312 GB, free: 14.57 MB / 0.5606 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.0004816/0.1812, allocations: 282.3 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1813, allocations: 8.031 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1813, allocations: 4.891 kB / 0.7315 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1814, allocations: 110.5 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1814, allocations: 8.312 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1814, allocations: 8.375 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1816, allocations: 58.22 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1816, allocations: 8.125 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1817, allocations: 7.938 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1817, allocations: 0 / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1819, allocations: 43.95 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1822, allocations: 220.4 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1826, allocations: 70.41 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1827, allocations: 24.91 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1828, allocations: 11.98 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1828, allocations: 30.56 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1828, allocations: 4 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003896/0.1832, allocations: 97.56 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1832, allocations: 55.41 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.1833, allocations: 105.8 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1833, allocations: 25.7 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1834, allocations: 88.09 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1834, allocations: 7.953 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1835, allocations: 21.7 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1836, allocations: 310.8 kB / 0.7328 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.1837, allocations: 19.98 kB / 0.7328 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.282e-05/0.1838, allocations: 19.97 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.184, allocations: 44.83 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.184, allocations: 7.922 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.1842, allocations: 77.59 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1842, allocations: 4 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1842, allocations: 0 / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1842, allocations: 0 / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.1843, allocations: 11.98 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1843, allocations: 4.25 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.1844, allocations: 7.984 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1844, allocations: 11.94 kB / 0.733 GB, free: 12.61 MB / 0.5606 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 9.475e-05/0.1845, allocations: 113.8 kB / 0.7331 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1845, allocations: 8.281 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1848, allocations: 85.25 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1848, allocations: 0 / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1848, allocations: 4 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1848, allocations: 4 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1849, allocations: 117.2 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.185, allocations: 4 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.185, allocations: 7.984 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.185, allocations: 4 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.185, allocations: 0 / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.185, allocations: 0 / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.185, allocations: 0 / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1853, allocations: 171.4 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.1853, allocations: 11.95 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1853, allocations: 0 / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1854, allocations: 15.92 kB / 0.7335 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1855, allocations: 7.922 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1855, allocations: 4 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.1855, allocations: 83.28 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1855, allocations: 0 / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002336/0.1858, allocations: 8 kB / 0.7336 GB, free: 11.91 MB / 0.5606 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.0001453/0.1859, allocations: 99.25 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.1862, allocations: 47.94 kB / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1862, allocations: 4 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1863, allocations: 23.92 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1865, allocations: 10.12 kB / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.1869, allocations: 143.2 kB / 0.7339 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.187, allocations: 67.34 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.187, allocations: 11.44 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.187, allocations: 0 / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.002421/0.1894, allocations: 0.7877 MB / 0.7348 GB, free: 10.66 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.152294149622321] Failed to read output from testmodel.py, exit status != 0: 0.19824976986274123 0.21401234400000002 0.030025925000000002 Calling exit ...