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.001608/0.001608, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002236/0.002236, allocations: 217.8 kB / 23.05 MB, free: 5.074 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.9312/0.9312, allocations: 145 MB / 458.2 MB, free: 15.47 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [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.001961/0.001961, allocations: 70.36 kB / 0.634 GB, free: 7.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1818, allocations: 87.89 MB / 0.7198 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001705/0.1835, allocations: 0.5806 MB / 0.7204 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.1838, allocations: 63.78 kB / 0.7204 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.1838, allocations: 0 / 0.7204 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1839, allocations: 0 / 0.7204 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-06/0.1839, allocations: 4 kB / 0.7204 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1842, allocations: 19.91 kB / 0.7205 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.1842, allocations: 31.91 kB / 0.7205 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1843, allocations: 7.938 kB / 0.7205 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.1843, allocations: 11.98 kB / 0.7205 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.1843, allocations: 11.98 kB / 0.7205 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1843, allocations: 4 kB / 0.7205 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.1844, allocations: 19.98 kB / 0.7205 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.1845, allocations: 19.97 kB / 0.7206 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.1845, allocations: 11.88 kB / 0.7206 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.1846, allocations: 35.89 kB / 0.7206 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1846, allocations: 0 / 0.7206 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1846, allocations: 0 / 0.7206 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1846, allocations: 0 / 0.7206 GB, free: 14.52 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.0003364/0.1849, allocations: 258.3 kB / 0.7208 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.185, allocations: 12.03 kB / 0.7209 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.714e-05/0.185, allocations: 8.172 kB / 0.7209 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.1851, allocations: 38.75 kB / 0.7209 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1851, allocations: 0.9375 kB / 0.7209 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.1852, allocations: 110.5 kB / 0.721 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1852, allocations: 4.312 kB / 0.721 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1852, allocations: 4.375 kB / 0.721 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1853, allocations: 65.97 kB / 0.7211 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.1853, allocations: 0 / 0.7211 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1854, allocations: 4 kB / 0.7211 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1854, allocations: 4 kB / 0.7211 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1855, allocations: 99.88 kB / 0.7212 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1857, allocations: 152.6 kB / 0.7213 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1858, allocations: 70.42 kB / 0.7214 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.1859, allocations: 28.84 kB / 0.7214 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.186, allocations: 23.97 kB / 0.7214 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1861, allocations: 38.48 kB / 0.7215 GB, free: 13.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1861, allocations: 0 / 0.7215 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002539/0.1863, allocations: 110 kB / 0.7216 GB, free: 13.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1864, allocations: 55.34 kB / 0.7216 GB, free: 13.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.1864, allocations: 101.8 kB / 0.7217 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1864, allocations: 25.7 kB / 0.7218 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.1865, allocations: 80.14 kB / 0.7218 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1865, allocations: 27.73 kB / 0.7219 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.1865, allocations: 33.7 kB / 0.7219 GB, free: 13.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1867, allocations: 318.8 kB / 0.7222 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.1867, allocations: 27.92 kB / 0.7222 GB, free: 12.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.1868, allocations: 19.98 kB / 0.7222 GB, free: 12.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.793e-05/0.1869, allocations: 56.84 kB / 0.7223 GB, free: 12.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1869, allocations: 0 / 0.7223 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001455/0.187, allocations: 97.59 kB / 0.7224 GB, free: 12.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.187, allocations: 7.938 kB / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.187, allocations: 0 / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.187, allocations: 0 / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.1871, allocations: 23.92 kB / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1871, allocations: 0 / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.1872, allocations: 11.95 kB / 0.7224 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1872, allocations: 0 / 0.7224 GB, free: 12.45 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.0001377/0.1873, allocations: 121.8 kB / 0.7226 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.1873, allocations: 11.94 kB / 0.7226 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1876, allocations: 130.1 kB / 0.7227 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1876, allocations: 4 kB / 0.7227 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1876, allocations: 0 / 0.7227 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1876, allocations: 4 kB / 0.7227 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1877, allocations: 144.7 kB / 0.7228 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1877, allocations: 3.984 kB / 0.7228 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1878, allocations: 23.92 kB / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1878, allocations: 0 / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1878, allocations: 4 kB / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1878, allocations: 0 / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1878, allocations: 0 / 0.7229 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.188, allocations: 133 kB / 0.723 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.188, allocations: 8 kB / 0.723 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.188, allocations: 0 / 0.723 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.188, allocations: 0 / 0.723 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.188, allocations: 11.92 kB / 0.723 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.188, allocations: 8 kB / 0.723 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.1881, allocations: 75.28 kB / 0.7231 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1881, allocations: 0 / 0.7231 GB, free: 11.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001943/0.1883, allocations: 15.94 kB / 0.7231 GB, free: 11.68 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.0005396/0.1888, allocations: 0.6734 MB / 0.7238 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1889, allocations: 59.91 kB / 0.7238 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.189, allocations: 0 / 0.7238 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.189, allocations: 31.92 kB / 0.7238 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1891, allocations: 8.562 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.1895, allocations: 190.3 kB / 0.724 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1898, allocations: 0.6807 MB / 0.7247 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.385e-05/0.1899, allocations: 35.94 kB / 0.7247 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1899, allocations: 23.42 kB / 0.7248 GB, free: 9.891 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1899, allocations: 0 / 0.7248 GB, free: 9.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.2125, allocations: 1.747 MB / 0.7265 GB, free: 8.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.08, allocations: 19.14 kB / 0.7265 GB, free: 8.277 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.898204882978462] Failed to read output from testmodel.py, exit status != 0: 11.239320349064656 11.256556973 11.068839667 Calling exit ...