Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00169/0.00169, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002255/0.002255, allocations: 214.9 kB / 22.25 MB, free: 5.129 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002552/0.002552, allocations: 298.4 kB / 312.7 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002807/0.002807, allocations: 106.4 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1789, allocations: 95.38 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001882/0.1808, allocations: 0.5999 MB / 0.8334 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.1811, allocations: 60.19 kB / 0.8334 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.1812, allocations: 0 / 0.8334 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.1812, allocations: 4 kB / 0.8334 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.1812, allocations: 0 / 0.8334 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1815, allocations: 15.92 kB / 0.8334 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.1816, allocations: 31.95 kB / 0.8335 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.1816, allocations: 8 kB / 0.8335 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.1816, allocations: 11.94 kB / 0.8335 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.1817, allocations: 19.97 kB / 0.8335 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1817, allocations: 4 kB / 0.8335 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.1818, allocations: 19.92 kB / 0.8335 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.1818, allocations: 19.97 kB / 0.8335 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.1818, allocations: 7.938 kB / 0.8335 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1819, allocations: 36.11 kB / 0.8336 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1819, allocations: 0 / 0.8336 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1819, allocations: 0 / 0.8336 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1819, allocations: 0 / 0.8336 GB, free: 7.777 MB / 0.5762 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.0003435/0.1823, allocations: 270.3 kB / 0.8338 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1823, allocations: 13.34 kB / 0.8338 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.1824, allocations: 34.75 kB / 0.8339 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.1824, allocations: 4.938 kB / 0.8339 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.1825, allocations: 110.5 kB / 0.834 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1825, allocations: 4.375 kB / 0.834 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1825, allocations: 4.375 kB / 0.834 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1827, allocations: 62.22 kB / 0.8341 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1827, allocations: 3.938 kB / 0.8341 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1827, allocations: 4 kB / 0.8341 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1827, allocations: 0 / 0.8341 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1828, allocations: 99.88 kB / 0.8342 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.183, allocations: 152.6 kB / 0.8343 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1831, allocations: 70.47 kB / 0.8344 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.1832, allocations: 33.17 kB / 0.8344 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.1834, allocations: 23.91 kB / 0.8344 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.1834, allocations: 38.55 kB / 0.8345 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1834, allocations: 0 / 0.8345 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002641/0.1837, allocations: 113.5 kB / 0.8346 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1837, allocations: 55.41 kB / 0.8346 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.1838, allocations: 101.8 kB / 0.8347 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1838, allocations: 25.7 kB / 0.8347 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1838, allocations: 84.14 kB / 0.8348 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1839, allocations: 23.84 kB / 0.8349 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.1839, allocations: 25.72 kB / 0.8349 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1841, allocations: 326.8 kB / 0.8352 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.1841, allocations: 23.98 kB / 0.8352 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.1841, allocations: 19.98 kB / 0.8352 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1843, allocations: 52.84 kB / 0.8353 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1843, allocations: 3.984 kB / 0.8353 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001555/0.1844, allocations: 89.61 kB / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1844, allocations: 15.88 kB / 0.8354 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1844, allocations: 0 / 0.8354 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1845, allocations: 0 / 0.8354 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1846, allocations: 23.92 kB / 0.8354 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1846, allocations: 0 / 0.8354 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.1846, allocations: 11.89 kB / 0.8354 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1846, allocations: 8 kB / 0.8354 GB, free: 5.688 MB / 0.5762 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.0001646/0.1848, allocations: 122.5 kB / 0.8355 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1848, allocations: 7.938 kB / 0.8356 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.185, allocations: 125.4 kB / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.185, allocations: 0 / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1851, allocations: 0 / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1851, allocations: 0 / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1852, allocations: 152.7 kB / 0.8358 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1852, allocations: 3.938 kB / 0.8358 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.1853, allocations: 19.98 kB / 0.8358 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1853, allocations: 3.938 kB / 0.8358 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1853, allocations: 0 / 0.8358 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1853, allocations: 0 / 0.8358 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1853, allocations: 4 kB / 0.8358 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1855, allocations: 121.9 kB / 0.836 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.1855, allocations: 15.88 kB / 0.836 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1855, allocations: 4 kB / 0.836 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.1855, allocations: 0 / 0.836 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.1856, allocations: 7.984 kB / 0.836 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1856, allocations: 8 kB / 0.836 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.1856, allocations: 75.28 kB / 0.8361 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1856, allocations: 0 / 0.8361 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002021/0.1858, allocations: 8 kB / 0.8361 GB, free: 4.941 MB / 0.5762 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.0006352/0.1865, allocations: 0.6792 MB / 0.8367 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1866, allocations: 63.91 kB / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1866, allocations: 0 / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.1867, allocations: 31.92 kB / 0.8368 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.1868, allocations: 7.031 kB / 0.8368 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.1873, allocations: 179.9 kB / 0.837 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1877, allocations: 0.6923 MB / 0.8377 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.1878, allocations: 31.73 kB / 0.8377 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.1878, allocations: 23.42 kB / 0.8377 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1878, allocations: 3.938 kB / 0.8377 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.2149, allocations: 1.72 MB / 0.8394 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.61, allocations: 4.062 kB / 0.8394 GB, free: 1.555 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.893147684000724] Failed to read output from testmodel.py, exit status != 0: 10.709269069000584 10.736698557 10.549680033 Calling exit ...