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.001326/0.001326, allocations: 101.9 kB / 20.48 MB, free: 1.379 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.0016/0.0016, allocations: 218.2 kB / 23.78 MB, free: 4.547 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.9818/0.9818, allocations: 150 MB / 463.9 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",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.002112/0.002112, allocations: 66.95 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1761, allocations: 89.18 MB / 0.7291 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001735/0.1778, allocations: 0.5783 MB / 0.7296 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.1781, allocations: 55.8 kB / 0.7297 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.1781, allocations: 0 / 0.7297 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.1781, allocations: 0 / 0.7297 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.1781, allocations: 0 / 0.7297 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1784, allocations: 19.92 kB / 0.7297 GB, free: 124 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.104e-05/0.1785, allocations: 39.95 kB / 0.7298 GB, free: 84 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.1785, allocations: 0 / 0.7298 GB, free: 84 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.1786, allocations: 12 kB / 0.7298 GB, free: 72 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.13e-05/0.1786, allocations: 15.91 kB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1786, allocations: 0 / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.1787, allocations: 23.98 kB / 0.7298 GB, free: 32 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.1787, allocations: 7.984 kB / 0.7298 GB, free: 24 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.1788, allocations: 15.92 kB / 0.7298 GB, free: 8 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1789, allocations: 36.11 kB / 0.7299 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1789, allocations: 0 / 0.7299 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1789, allocations: 0 / 0.7299 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1789, allocations: 11.94 kB / 0.7299 GB, free: 15.96 MB / 0.5606 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.0003348/0.1792, allocations: 258.3 kB / 0.7301 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1792, allocations: 8.031 kB / 0.7301 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.618e-05/0.1793, allocations: 4.188 kB / 0.7301 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1793, allocations: 38.73 kB / 0.7302 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.1793, allocations: 4.938 kB / 0.7302 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.341e-05/0.1794, allocations: 110.5 kB / 0.7303 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1794, allocations: 12.38 kB / 0.7303 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1794, allocations: 4.375 kB / 0.7303 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1796, allocations: 69.91 kB / 0.7304 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1796, allocations: 4 kB / 0.7304 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1796, allocations: 4 kB / 0.7304 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1796, allocations: 4 kB / 0.7304 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1798, allocations: 95.88 kB / 0.7305 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1799, allocations: 136.8 kB / 0.7306 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1801, allocations: 75.78 kB / 0.7307 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1801, allocations: 28.84 kB / 0.7307 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.1803, allocations: 15.98 kB / 0.7307 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1803, allocations: 38.5 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1803, allocations: 0 / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002494/0.1806, allocations: 119 kB / 0.7309 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1806, allocations: 55.41 kB / 0.7309 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.1806, allocations: 101.8 kB / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1807, allocations: 25.7 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.1807, allocations: 80.14 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1807, allocations: 23.8 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1808, allocations: 33.7 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1809, allocations: 310.8 kB / 0.7315 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.181, allocations: 19.98 kB / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.181, allocations: 19.98 kB / 0.7315 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1811, allocations: 65.86 kB / 0.7316 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1811, allocations: 4 kB / 0.7316 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001448/0.1813, allocations: 96.52 kB / 0.7317 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1813, allocations: 11.94 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1813, allocations: 0 / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1813, allocations: 0 / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1814, allocations: 23.98 kB / 0.7317 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1814, allocations: 0 / 0.7317 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.1814, allocations: 3.938 kB / 0.7317 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1814, allocations: 7.938 kB / 0.7317 GB, free: 13.89 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.0001435/0.1816, allocations: 125.8 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.1816, allocations: 7.891 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1818, allocations: 129.4 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1818, allocations: 0 / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1818, allocations: 0 / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1818, allocations: 3.984 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.182, allocations: 144.7 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.182, allocations: 0 / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.1821, allocations: 23.94 kB / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1821, allocations: 3.984 kB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1821, allocations: 0 / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1821, allocations: 4 kB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1821, allocations: 3.938 kB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.1822, allocations: 121 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.1822, allocations: 15.88 kB / 0.7323 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1823, allocations: 4 kB / 0.7323 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.1823, allocations: 0 / 0.7323 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.1823, allocations: 7.984 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1823, allocations: 4 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.1823, allocations: 75.28 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1823, allocations: 0 / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001975/0.1825, allocations: 16 kB / 0.7324 GB, free: 13.14 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.0005345/0.1831, allocations: 0.6748 MB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1832, allocations: 53.17 kB / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1832, allocations: 3.938 kB / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.1833, allocations: 31.98 kB / 0.7331 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1834, allocations: 6.234 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.1838, allocations: 186.4 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.1839, allocations: 71.34 kB / 0.7334 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.765e-05/0.184, allocations: 43.89 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.184, allocations: 19.42 kB / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.184, allocations: 0 / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.206, allocations: 1.721 MB / 0.7351 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.59, allocations: 7.938 kB / 0.7351 GB, free: 10.39 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 os._exit(0), Time elapsed: 15.377582572051324] Failed to read output from testmodel.py, exit status != 0: 11.747523523052223 11.76361712 11.581630017 Calling exit ...