Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001324/0.001324, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00166/0.00166, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.621/1.621, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9821/0.9821, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002439/0.002439, allocations: 62.91 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1815, allocations: 89.19 MB / 0.7282 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001985/0.1835, allocations: 0.5721 MB / 0.7288 GB, free: 420 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.1838, allocations: 59.78 kB / 0.7288 GB, free: 360 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.1838, allocations: 0 / 0.7288 GB, free: 360 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.1838, allocations: 0 / 0.7288 GB, free: 360 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.1838, allocations: 0 / 0.7288 GB, free: 360 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1841, allocations: 23.86 kB / 0.7288 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.526e-05/0.1842, allocations: 23.98 kB / 0.7289 GB, free: 312 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1842, allocations: 7.984 kB / 0.7289 GB, free: 304 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.1843, allocations: 11.98 kB / 0.7289 GB, free: 292 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.155e-05/0.1843, allocations: 8 kB / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1843, allocations: 4 kB / 0.7289 GB, free: 280 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1844, allocations: 23.95 kB / 0.7289 GB, free: 256 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1844, allocations: 15.94 kB / 0.7289 GB, free: 240 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1845, allocations: 15.92 kB / 0.729 GB, free: 224 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1846, allocations: 32.11 kB / 0.729 GB, free: 192 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1846, allocations: 4 kB / 0.729 GB, free: 188 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1846, allocations: 0 / 0.729 GB, free: 188 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.1846, allocations: 0 / 0.729 GB, free: 188 kB / 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.0003624/0.185, allocations: 262.3 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.185, allocations: 8.031 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.1851, allocations: 50.67 kB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1851, allocations: 4.922 kB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.1852, allocations: 110.5 kB / 0.7294 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1852, allocations: 384 / 0.7294 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1852, allocations: 8.375 kB / 0.7294 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1854, allocations: 58.23 kB / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1854, allocations: 3.938 kB / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1854, allocations: 0 / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1854, allocations: 4 kB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1856, allocations: 95.86 kB / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1857, allocations: 140.7 kB / 0.7297 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1859, allocations: 78.09 kB / 0.7298 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.1859, allocations: 24.84 kB / 0.7298 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.1861, allocations: 24.3 kB / 0.7298 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1862, allocations: 42.5 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.1862, allocations: 0 / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.000278/0.1864, allocations: 117.5 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1865, allocations: 55.34 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.1865, allocations: 89.86 kB / 0.7301 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1866, allocations: 33.7 kB / 0.7301 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.1866, allocations: 80.14 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1866, allocations: 31.78 kB / 0.7302 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.1867, allocations: 29.7 kB / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1868, allocations: 314.8 kB / 0.7306 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.1869, allocations: 23.92 kB / 0.7306 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.1869, allocations: 19.98 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.187, allocations: 60.83 kB / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.187, allocations: 0 / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001369/0.1872, allocations: 89.62 kB / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1872, allocations: 11.88 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1872, allocations: 3.938 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1872, allocations: 7.938 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.1873, allocations: 19.98 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1873, allocations: 4 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1873, allocations: 7.938 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1873, allocations: 4 kB / 0.7308 GB, free: 14.11 MB / 0.5606 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.0001447/0.1875, allocations: 121.8 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.1875, allocations: 7.891 kB / 0.7309 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.1877, allocations: 119.5 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1877, allocations: 4 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1877, allocations: 4 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1877, allocations: 0 / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1878, allocations: 144.7 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1878, allocations: 4 kB / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.1879, allocations: 15.98 kB / 0.7312 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1879, allocations: 7.938 kB / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1879, allocations: 7.938 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1879, allocations: 0 / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1879, allocations: 3.984 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1881, allocations: 117 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.1881, allocations: 11.83 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1881, allocations: 8 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.1881, allocations: 7.984 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1882, allocations: 7.984 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1882, allocations: 0 / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.1882, allocations: 79.28 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1882, allocations: 0 / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001921/0.1884, allocations: 12 kB / 0.7315 GB, free: 13.36 MB / 0.5606 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.0005319/0.1889, allocations: 0.6682 MB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1891, allocations: 59.95 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1891, allocations: 0 / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.1891, allocations: 36.84 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.1893, allocations: 9.875 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.1897, allocations: 170.5 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.1897, allocations: 71.28 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.902e-05/0.1898, allocations: 35.95 kB / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.1898, allocations: 19.44 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1898, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.2229, allocations: 2.066 MB / 0.7345 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.62, allocations: 11.23 kB / 0.7345 GB, free: 10.27 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.623830039985478] Failed to read output from testmodel.py, exit status != 0: 11.729225052054971 11.74547266 11.557750967 Calling exit ...