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.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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001452/0.001452, allocations: 213 kB / 22.24 MB, free: 4.855 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9147/0.9147, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: BuildSysPro 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.002004/0.002004, allocations: 70.83 kB / 0.6336 GB, free: 6.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1723, allocations: 87.9 MB / 0.7194 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002748/0.1751, allocations: 1.539 MB / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.1754, allocations: 140.4 kB / 0.721 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.1755, allocations: 0 / 0.721 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.1755, allocations: 3.938 kB / 0.721 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.1755, allocations: 3.938 kB / 0.721 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1758, allocations: 35.89 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.1759, allocations: 35.92 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.176, allocations: 15.97 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.176, allocations: 11.94 kB / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.1761, allocations: 23.91 kB / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1761, allocations: 7.938 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.1762, allocations: 19.97 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1762, allocations: 8 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.1762, allocations: 19.92 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1764, allocations: 43.81 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1764, allocations: 0 / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1764, allocations: 0 / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1764, allocations: 0 / 0.7213 GB, free: 12.37 MB / 0.545 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.0004654/0.1768, allocations: 282.2 kB / 0.7215 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1769, allocations: 8.031 kB / 0.7215 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.1769, allocations: 4.938 kB / 0.7215 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.177, allocations: 118.4 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.177, allocations: 4.375 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.177, allocations: 384 / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1772, allocations: 70.16 kB / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1772, allocations: 192 / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1773, allocations: 3.938 kB / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1773, allocations: 0 / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.1775, allocations: 47.94 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1778, allocations: 220.5 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.1781, allocations: 58.42 kB / 0.722 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1782, allocations: 28.89 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.1784, allocations: 15.98 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1784, allocations: 34.56 kB / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1784, allocations: 0 / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003944/0.1788, allocations: 101.6 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1788, allocations: 51.41 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.1789, allocations: 105.8 kB / 0.7224 GB, free: 11.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1789, allocations: 29.69 kB / 0.7224 GB, free: 11.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.179, allocations: 84.14 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.179, allocations: 7.953 kB / 0.7225 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.179, allocations: 17.66 kB / 0.7225 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1792, allocations: 318.8 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.1793, allocations: 19.98 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.1794, allocations: 23.97 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1795, allocations: 40.83 kB / 0.7229 GB, free: 10.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1795, allocations: 7.875 kB / 0.7229 GB, free: 10.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002198/0.1798, allocations: 81.59 kB / 0.723 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1798, allocations: 4 kB / 0.723 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1798, allocations: 3.938 kB / 0.723 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1798, allocations: 0 / 0.723 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.1799, allocations: 15.98 kB / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.1799, allocations: 4 kB / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.1799, allocations: 0 / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1799, allocations: 4 kB / 0.723 GB, free: 10.41 MB / 0.545 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 0.0001024/0.18, allocations: 121.8 kB / 0.7231 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1801, allocations: 4.328 kB / 0.7231 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.1803, allocations: 81.31 kB / 0.7232 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.1803, allocations: 8 kB / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1803, allocations: 0 / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1803, allocations: 256 / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1805, allocations: 113.2 kB / 0.7233 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1805, allocations: 4 kB / 0.7233 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.1806, allocations: 19.92 kB / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1806, allocations: 0 / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1806, allocations: 0 / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1806, allocations: 0 / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1806, allocations: 0 / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.1809, allocations: 179.4 kB / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.1809, allocations: 4 kB / 0.7235 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1809, allocations: 0 / 0.7235 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.181, allocations: 4 kB / 0.7235 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.181, allocations: 11.98 kB / 0.7235 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.181, allocations: 0 / 0.7235 GB, free: 9.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.1811, allocations: 83.27 kB / 0.7236 GB, free: 9.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1811, allocations: 0 / 0.7236 GB, free: 9.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002343/0.1813, allocations: 15.94 kB / 0.7236 GB, free: 9.707 MB / 0.545 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.000146/0.1815, allocations: 107.2 kB / 0.7237 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1817, allocations: 43.95 kB / 0.7238 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1817, allocations: 0 / 0.7238 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.821e-05/0.1818, allocations: 23.97 kB / 0.7238 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1821, allocations: 17.02 kB / 0.7238 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1823, allocations: 121.5 kB / 0.7239 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.588e-05/0.1824, allocations: 75.28 kB / 0.724 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.1824, allocations: 0 / 0.724 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1825, allocations: 11.44 kB / 0.724 GB, free: 9.262 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1825, allocations: 0 / 0.724 GB, free: 9.262 MB / 0.545 GB Notification: Performance of Templates: time 0.003156/0.1856, allocations: 0.7741 MB / 0.7248 GB, free: 8.504 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.471899524331093] Failed to read output from testmodel.py, exit status != 0: 0.19357646070420742 0.207641442 0.028351828000000003 Calling exit ...