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.001613/0.001613, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001783/0.001783, allocations: 203.7 kB / 23.74 MB, free: 4.543 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9691/0.9691, allocations: 149.9 MB / 463.8 MB, free: 10.35 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") [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.002457/0.002457, allocations: 66.77 kB / 0.6423 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1842, allocations: 89.18 MB / 0.7294 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001783/0.186, allocations: 0.5881 MB / 0.73 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.1863, allocations: 47.81 kB / 0.73 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.1863, allocations: 0 / 0.73 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.1863, allocations: 3.984 kB / 0.73 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-06/0.1863, allocations: 3.938 kB / 0.73 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1866, allocations: 19.97 kB / 0.7301 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.1867, allocations: 31.98 kB / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1868, allocations: 0 / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.1868, allocations: 23.91 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.658e-05/0.1868, allocations: 4 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1868, allocations: 4 kB / 0.7301 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.1869, allocations: 23.95 kB / 0.7302 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.187, allocations: 8 kB / 0.7302 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.187, allocations: 7.938 kB / 0.7302 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1871, allocations: 47.75 kB / 0.7302 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1871, allocations: 0 / 0.7302 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1871, allocations: 0 / 0.7302 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.1871, allocations: 4 kB / 0.7302 GB, free: 15.7 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.0003651/0.1875, allocations: 266.2 kB / 0.7305 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1875, allocations: 12.03 kB / 0.7305 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1875, allocations: 0.9375 kB / 0.7305 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.1876, allocations: 106.5 kB / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1877, allocations: 384 / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1877, allocations: 8.375 kB / 0.7306 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1878, allocations: 66.16 kB / 0.7307 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1878, allocations: 192 / 0.7307 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1878, allocations: 3.938 kB / 0.7307 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1878, allocations: 4 kB / 0.7307 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.188, allocations: 103.8 kB / 0.7308 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1882, allocations: 121.3 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1883, allocations: 67.73 kB / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1883, allocations: 32.83 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.1885, allocations: 15.98 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1885, allocations: 34.56 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1885, allocations: 0 / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002589/0.1888, allocations: 121.8 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1888, allocations: 55.41 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.1889, allocations: 93.86 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1889, allocations: 33.69 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.1889, allocations: 80.14 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.189, allocations: 23.8 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.189, allocations: 33.7 kB / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1892, allocations: 310.8 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.1892, allocations: 19.98 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.1893, allocations: 26.94 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1894, allocations: 64.77 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1894, allocations: 0 / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001444/0.1895, allocations: 89.56 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1895, allocations: 8 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1895, allocations: 4 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1895, allocations: 3.938 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1896, allocations: 23.98 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1897, allocations: 0 / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.1897, allocations: 7.875 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1897, allocations: 4 kB / 0.732 GB, free: 13.72 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.0001295/0.1898, allocations: 125.8 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.1898, allocations: 7.953 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1901, allocations: 129.4 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1901, allocations: 0 / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1901, allocations: 0 / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1901, allocations: 3.984 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1902, allocations: 113.3 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1902, allocations: 0 / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.1903, allocations: 23.92 kB / 0.7324 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1903, allocations: 0 / 0.7324 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1903, allocations: 8 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1903, allocations: 3.938 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1903, allocations: 0 / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1904, allocations: 128.2 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.1905, allocations: 7.891 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1905, allocations: 7.938 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.681e-05/0.1905, allocations: 4 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1905, allocations: 7.984 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1905, allocations: 3.984 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.1906, allocations: 79.28 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1906, allocations: 0 / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002002/0.1908, allocations: 12 kB / 0.7326 GB, free: 13 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.0001792/0.1909, allocations: 115.2 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1911, allocations: 63.89 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1911, allocations: 0 / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1911, allocations: 31.92 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1913, allocations: 4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.1916, allocations: 170.5 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.1917, allocations: 67.34 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.1917, allocations: 19.44 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1917, allocations: 0 / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.002602/0.1943, allocations: 0.961 MB / 0.734 GB, free: 11.52 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.192857594229281] Failed to read output from testmodel.py, exit status != 0: 0.2030879040248692 0.21741617700000002 0.027246294 Calling exit ...