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.001618/0.001618, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001897/0.001897, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9588/0.9588, allocations: 145 MB / 458.2 MB, free: 15.29 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.002118/0.002118, allocations: 66.19 kB / 0.6343 GB, free: 6.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1809, allocations: 87.89 MB / 0.7201 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002908/0.1838, allocations: 1.539 MB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.1842, allocations: 136.3 kB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.1842, allocations: 4 kB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.1843, allocations: 7.938 kB / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.1843, allocations: 0 / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1846, allocations: 31.91 kB / 0.7218 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.1847, allocations: 35.92 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1848, allocations: 11.98 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/0.1849, allocations: 15.92 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.1849, allocations: 23.86 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1849, allocations: 4 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.185, allocations: 19.97 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.185, allocations: 11.98 kB / 0.7219 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1851, allocations: 15.94 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1852, allocations: 55.67 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1852, allocations: 0 / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1852, allocations: 0 / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1852, allocations: 0 / 0.722 GB, free: 12.39 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.0005189/0.1857, allocations: 274.3 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1858, allocations: 8.031 kB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1858, allocations: 4.938 kB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.186, allocations: 122.4 kB / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.186, allocations: 4.375 kB / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.186, allocations: 4.375 kB / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1862, allocations: 66.22 kB / 0.7225 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1862, allocations: 192 / 0.7225 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1862, allocations: 7.922 kB / 0.7225 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1862, allocations: 0 / 0.7225 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1864, allocations: 47.89 kB / 0.7225 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1868, allocations: 208.6 kB / 0.7227 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.1871, allocations: 66.47 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.1872, allocations: 20.91 kB / 0.7228 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.1874, allocations: 19.92 kB / 0.7228 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1874, allocations: 38.55 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1874, allocations: 0 / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003902/0.1878, allocations: 93.59 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1878, allocations: 51.41 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.1879, allocations: 109.8 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1879, allocations: 25.7 kB / 0.7231 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.188, allocations: 88.08 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.188, allocations: 11.94 kB / 0.7232 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.188, allocations: 13.72 kB / 0.7232 GB, free: 10.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1882, allocations: 314.8 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.1883, allocations: 23.97 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.1884, allocations: 19.92 kB / 0.7236 GB, free: 10.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1885, allocations: 48.81 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1885, allocations: 3.938 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002161/0.1888, allocations: 77.61 kB / 0.7237 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1888, allocations: 4 kB / 0.7237 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1888, allocations: 0 / 0.7237 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1888, allocations: 0 / 0.7237 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.1889, allocations: 15.92 kB / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1889, allocations: 0 / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1889, allocations: 11.98 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1889, allocations: 4 kB / 0.7237 GB, free: 10.44 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 9.571e-05/0.189, allocations: 121.7 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.1891, allocations: 4 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.1893, allocations: 77.66 kB / 0.7239 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1893, allocations: 4 kB / 0.7239 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1893, allocations: 0 / 0.7239 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1893, allocations: 12.02 kB / 0.7239 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1895, allocations: 117.3 kB / 0.7241 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1895, allocations: 4.234 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.1896, allocations: 12 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1896, allocations: 0 / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1896, allocations: 3.984 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1896, allocations: 0 / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1896, allocations: 0 / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1899, allocations: 175.3 kB / 0.7242 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.1899, allocations: 8 kB / 0.7243 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1899, allocations: 0 / 0.7243 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.19, allocations: 7.984 kB / 0.7243 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.19, allocations: 7.984 kB / 0.7243 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.19, allocations: 7.938 kB / 0.7243 GB, free: 9.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.1901, allocations: 83.28 kB / 0.7244 GB, free: 9.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1901, allocations: 0 / 0.7244 GB, free: 9.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002253/0.1903, allocations: 11.94 kB / 0.7244 GB, free: 9.727 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.0001756/0.1905, allocations: 99.23 kB / 0.7245 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1907, allocations: 55.89 kB / 0.7245 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1907, allocations: 0 / 0.7245 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.1908, allocations: 19.97 kB / 0.7245 GB, free: 9.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1911, allocations: 11.94 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.1915, allocations: 142.6 kB / 0.7247 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.1915, allocations: 67.34 kB / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.1916, allocations: 15.44 kB / 0.7248 GB, free: 9.262 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.1916, allocations: 0 / 0.7248 GB, free: 9.262 MB / 0.545 GB Notification: Performance of Templates: time 0.002571/0.1941, allocations: 0.8076 MB / 0.7256 GB, free: 8.461 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: 7.7652567201294005] Failed to read output from testmodel.py, exit status != 0: 0.2023669108748436 0.218431501 0.030217656000000002 Calling exit ...