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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001479/0.001479, allocations: 211.3 kB / 22.24 MB, free: 5.262 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.816 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.9103/0.9103, allocations: 145 MB / 457.4 MB, free: 15.28 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.00223/0.00223, allocations: 64.53 kB / 0.6336 GB, free: 6.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1768, allocations: 87.9 MB / 0.7194 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001824/0.1786, allocations: 0.5807 MB / 0.72 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1789, allocations: 59.8 kB / 0.7201 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.1789, allocations: 0 / 0.7201 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.1789, allocations: 0 / 0.7201 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.1789, allocations: 0 / 0.7201 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1792, allocations: 19.92 kB / 0.7201 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.1793, allocations: 35.95 kB / 0.7201 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.1793, allocations: 3.938 kB / 0.7201 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.1793, allocations: 8 kB / 0.7201 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.1794, allocations: 19.97 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1794, allocations: 0 / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.1795, allocations: 23.92 kB / 0.7202 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.1795, allocations: 7.984 kB / 0.7202 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.1795, allocations: 15.92 kB / 0.7202 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.641e-05/0.1796, allocations: 35.89 kB / 0.7202 GB, free: 13.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1796, allocations: 0 / 0.7202 GB, free: 13.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1796, allocations: 4 kB / 0.7202 GB, free: 13.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1796, allocations: 0 / 0.7202 GB, free: 13.49 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.000346/0.18, allocations: 264.6 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.18, allocations: 8.031 kB / 0.7205 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.18, allocations: 8.938 kB / 0.7205 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.117e-05/0.1801, allocations: 106.5 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1801, allocations: 4.375 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1802, allocations: 8.312 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1803, allocations: 62.22 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1803, allocations: 192 / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1803, allocations: 11.92 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1803, allocations: 4 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1805, allocations: 95.81 kB / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1806, allocations: 117.3 kB / 0.7209 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1808, allocations: 70.48 kB / 0.7209 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.1808, allocations: 32.84 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.181, allocations: 15.98 kB / 0.721 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.181, allocations: 34.56 kB / 0.721 GB, free: 12.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.181, allocations: 0 / 0.721 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000254/0.1813, allocations: 117.8 kB / 0.7211 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1813, allocations: 51.41 kB / 0.7212 GB, free: 12.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.1814, allocations: 101.8 kB / 0.7213 GB, free: 12.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1814, allocations: 25.7 kB / 0.7213 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.1814, allocations: 80.14 kB / 0.7214 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1814, allocations: 23.8 kB / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1815, allocations: 41.64 kB / 0.7215 GB, free: 12.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1816, allocations: 314.8 kB / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.1817, allocations: 19.98 kB / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.1817, allocations: 19.98 kB / 0.7218 GB, free: 11.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.1818, allocations: 65.38 kB / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1818, allocations: 0 / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001503/0.182, allocations: 93.59 kB / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.182, allocations: 8 kB / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.182, allocations: 0 / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.182, allocations: 3.938 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1821, allocations: 23.92 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1821, allocations: 4 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.1821, allocations: 11.95 kB / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1821, allocations: 4 kB / 0.722 GB, free: 11.5 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.0001413/0.1823, allocations: 125.8 kB / 0.7221 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.1823, allocations: 0 / 0.7221 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1825, allocations: 141.2 kB / 0.7222 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1825, allocations: 0 / 0.7222 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1825, allocations: 0 / 0.7222 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1825, allocations: 0 / 0.7222 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1827, allocations: 121.3 kB / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1827, allocations: 0 / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.1827, allocations: 19.98 kB / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1827, allocations: 0 / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1827, allocations: 4 kB / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1828, allocations: 3.938 kB / 0.7224 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1828, allocations: 0 / 0.7224 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1829, allocations: 132.9 kB / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.1829, allocations: 3.938 kB / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.183, allocations: 3.938 kB / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.352e-05/0.183, allocations: 4 kB / 0.7225 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.183, allocations: 15.98 kB / 0.7225 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.183, allocations: 0 / 0.7225 GB, free: 10.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.1831, allocations: 75.28 kB / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1831, allocations: 0 / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004686/0.1835, allocations: 16 kB / 0.7226 GB, free: 10.78 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.000164/0.1837, allocations: 107.2 kB / 0.7227 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1838, allocations: 55.91 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1838, allocations: 0 / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.1839, allocations: 39.97 kB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.1842, allocations: 7.938 kB / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.1844, allocations: 148.7 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.697e-05/0.1845, allocations: 66.19 kB / 0.723 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.779e-05/0.1846, allocations: 35.94 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1846, allocations: 19.36 kB / 0.7231 GB, free: 10.25 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1846, allocations: 4 kB / 0.7231 GB, free: 10.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002858/0.1875, allocations: 0.5894 MB / 0.7237 GB, free: 9.664 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: 5.398418117314577] Failed to read output from testmodel.py, exit status != 0: 0.19580850563943386 0.211037571 0.028295592 Calling exit ...