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.001881/0.001881, 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.002408/0.002408, allocations: 211 kB / 22.99 MB, free: 4.609 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9977/0.9977, allocations: 149.9 MB / 463 MB, free: 10.36 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.002303/0.002303, allocations: 67.77 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1747, allocations: 89.17 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001649/0.1764, allocations: 0.5876 MB / 0.7288 GB, free: 452 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.1766, allocations: 55.8 kB / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.1766, allocations: 0 / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1767, allocations: 0 / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-06/0.1767, allocations: 0 / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1769, allocations: 27.91 kB / 0.7288 GB, free: 368 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.177, allocations: 31.97 kB / 0.7289 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.1771, allocations: 0 / 0.7289 GB, free: 336 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.1771, allocations: 11.98 kB / 0.7289 GB, free: 324 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.1771, allocations: 15.98 kB / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1771, allocations: 0 / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.1772, allocations: 19.97 kB / 0.7289 GB, free: 288 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1772, allocations: 15.92 kB / 0.7289 GB, free: 272 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1773, allocations: 11.94 kB / 0.7289 GB, free: 260 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.1774, allocations: 36.11 kB / 0.729 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1774, allocations: 0 / 0.729 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1774, allocations: 0 / 0.729 GB, free: 224 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.1774, allocations: 4 kB / 0.729 GB, free: 220 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.0003286/0.1777, allocations: 262.3 kB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1777, allocations: 8.031 kB / 0.7292 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.1778, allocations: 42.73 kB / 0.7293 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1778, allocations: 4.875 kB / 0.7293 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.1779, allocations: 106.5 kB / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1779, allocations: 384 / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1779, allocations: 12.31 kB / 0.7294 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1781, allocations: 63.86 kB / 0.7295 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1781, allocations: 7.938 kB / 0.7295 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1781, allocations: 0 / 0.7295 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1781, allocations: 4 kB / 0.7295 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1782, allocations: 95.81 kB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1784, allocations: 136.8 kB / 0.7297 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1785, allocations: 74.47 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.1786, allocations: 28.84 kB / 0.7298 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.1787, allocations: 19.97 kB / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1788, allocations: 34.56 kB / 0.7298 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1788, allocations: 0 / 0.7298 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002456/0.179, allocations: 124.5 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.179, allocations: 51.41 kB / 0.73 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.1791, allocations: 101.8 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1791, allocations: 29.7 kB / 0.7301 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.1791, allocations: 80.14 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1792, allocations: 23.8 kB / 0.7302 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.1792, allocations: 37.64 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1794, allocations: 310.8 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.1794, allocations: 19.98 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.1794, allocations: 19.98 kB / 0.7306 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1795, allocations: 64.83 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1796, allocations: 0 / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000145/0.1797, allocations: 93.56 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1797, allocations: 14.12 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1797, allocations: 4 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1797, allocations: 0 / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1798, allocations: 23.92 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1798, allocations: 0 / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.1799, allocations: 7.938 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1799, allocations: 4 kB / 0.7308 GB, free: 14.15 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.0001407/0.18, allocations: 121.8 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.18, allocations: 7.891 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1802, allocations: 134.8 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1802, allocations: 0 / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1803, allocations: 3.938 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1803, allocations: 3.984 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1804, allocations: 144.7 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1804, allocations: 0 / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.1805, allocations: 16 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1805, allocations: 3.938 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1805, allocations: 7.984 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1805, allocations: 0 / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1805, allocations: 4 kB / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1806, allocations: 121 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.1807, allocations: 19.81 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1807, allocations: 0 / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.1807, allocations: 4 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1807, allocations: 7.984 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1807, allocations: 4 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.1808, allocations: 75.28 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1808, allocations: 0 / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000203/0.181, allocations: 16 kB / 0.7315 GB, free: 13.39 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.0005101/0.1815, allocations: 0.6736 MB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1816, allocations: 55.91 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1816, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.1817, allocations: 31.92 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.1818, allocations: 8 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.1822, allocations: 174.5 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.404e-05/0.1823, allocations: 67.28 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.161e-05/0.1823, allocations: 39.95 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1824, allocations: 19.42 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.1824, allocations: 4 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.209, allocations: 2.056 MB / 0.7345 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.42, allocations: 5.828 kB / 0.7345 GB, free: 10.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 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.206617738120258] Failed to read output from testmodel.py, exit status != 0: 11.527444784995168 11.545536622 11.364726841 Calling exit ...