Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001379/0.001379, 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.001646/0.001646, allocations: 216.9 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9453/0.9453, allocations: 145 MB / 458.2 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.002175/0.002175, allocations: 65.25 kB / 0.6344 GB, free: 6.148 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1639, allocations: 87.9 MB / 0.7202 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001818/0.1657, allocations: 0.568 MB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002893/0.166, allocations: 55.81 kB / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.166, allocations: 0 / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.166, allocations: 0 / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.166, allocations: 0 / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1663, allocations: 23.91 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.1664, allocations: 35.91 kB / 0.7209 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1664, allocations: 3.938 kB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.1665, allocations: 15.98 kB / 0.7209 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.1665, allocations: 7.984 kB / 0.7209 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1665, allocations: 4 kB / 0.7209 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.1666, allocations: 19.97 kB / 0.7209 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.1666, allocations: 19.98 kB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1667, allocations: 7.938 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1668, allocations: 35.89 kB / 0.721 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1668, allocations: 0 / 0.721 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.42e-07/0.1668, allocations: 0 / 0.721 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.1668, allocations: 0 / 0.721 GB, free: 13.46 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003351/0.1671, allocations: 264.6 kB / 0.7212 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1672, allocations: 12.03 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1672, allocations: 0.9375 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.1673, allocations: 110.5 kB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1673, allocations: 4.375 kB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1673, allocations: 20.25 kB / 0.7214 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1675, allocations: 62.22 kB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1675, allocations: 4.172 kB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1675, allocations: 7.938 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1675, allocations: 0 / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1676, allocations: 91.88 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1678, allocations: 121.3 kB / 0.7216 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1679, allocations: 66.48 kB / 0.7217 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.168, allocations: 28.84 kB / 0.7217 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.1681, allocations: 19.97 kB / 0.7217 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1682, allocations: 34.56 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1682, allocations: 4 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002644/0.1684, allocations: 113.9 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1685, allocations: 55.41 kB / 0.7219 GB, free: 12.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.1685, allocations: 97.81 kB / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1686, allocations: 25.7 kB / 0.7221 GB, free: 12.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.1686, allocations: 80.14 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1686, allocations: 31.77 kB / 0.7222 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1687, allocations: 33.66 kB / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1688, allocations: 318.8 kB / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.1689, allocations: 19.98 kB / 0.7225 GB, free: 11.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.1689, allocations: 31.86 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.169, allocations: 65.42 kB / 0.7226 GB, free: 11.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.169, allocations: 0 / 0.7226 GB, free: 11.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001434/0.1692, allocations: 85.67 kB / 0.7227 GB, free: 11.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1692, allocations: 4 kB / 0.7227 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1692, allocations: 0 / 0.7227 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1692, allocations: 3.938 kB / 0.7227 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1693, allocations: 27.92 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1693, allocations: 0 / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1694, allocations: 11.89 kB / 0.7227 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1694, allocations: 0 / 0.7227 GB, free: 11.47 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: 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.0001591/0.1695, allocations: 129.8 kB / 0.7229 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.1695, allocations: 4 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1698, allocations: 133.3 kB / 0.723 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1698, allocations: 0 / 0.723 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1698, allocations: 4 kB / 0.723 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1698, allocations: 0 / 0.723 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1699, allocations: 113.3 kB / 0.7231 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1699, allocations: 0 / 0.7231 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.17, allocations: 19.98 kB / 0.7231 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.17, allocations: 4 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.17, allocations: 4 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.17, allocations: 3.938 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.17, allocations: 0 / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1702, allocations: 128.9 kB / 0.7233 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.1702, allocations: 7.938 kB / 0.7233 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1702, allocations: 7.938 kB / 0.7233 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.1702, allocations: 4 kB / 0.7233 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1702, allocations: 7.984 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1702, allocations: 4 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.1703, allocations: 79.28 kB / 0.7234 GB, free: 10.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 0 / 0.7234 GB, free: 10.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002036/0.1705, allocations: 19.98 kB / 0.7234 GB, free: 10.74 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: 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.0001526/0.1706, allocations: 99.25 kB / 0.7235 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1708, allocations: 67.83 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1708, allocations: 0 / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.1708, allocations: 31.98 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.171, allocations: 0 / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.1713, allocations: 182.4 kB / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.1714, allocations: 67.34 kB / 0.7238 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1714, allocations: 19.38 kB / 0.7238 GB, free: 10.22 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1714, allocations: 0 / 0.7238 GB, free: 10.22 MB / 0.545 GB Notification: Performance of Templates: time 0.002705/0.1741, allocations: 0.9881 MB / 0.7248 GB, free: 9.238 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.883850725833327] Failed to read output from testmodel.py, exit status != 0: 0.18244501575827599 0.197590759 0.027696658000000002 Calling exit ...