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.001432/0.001432, allocations: 73.09 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001543/0.001543, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 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.076/1.076, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.6323/0.6323, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.066e-05, allocations: 2.312 kB / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001114/0.001134, allocations: 0.6093 MB / 482.6 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.001397, allocations: 53.59 kB / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.001422, allocations: 0 / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.001463, allocations: 0 / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.645e-06/0.00147, allocations: 1.281 kB / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.001789, allocations: 25.09 kB / 482.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.001869, allocations: 28.84 kB / 482.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.001907, allocations: 2.469 kB / 482.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.001952, allocations: 14.72 kB / 482.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.001973, allocations: 13.47 kB / 482.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.001988, allocations: 2.906 kB / 482.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.002072, allocations: 15.97 kB / 482.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.002096, allocations: 21.3 kB / 482.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.002116, allocations: 7.281 kB / 482.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.763e-05/0.002204, allocations: 38.05 kB / 482.9 MB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002206, allocations: 0 / 482.9 MB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.002207, allocations: 8.844 kB / 482.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.00221, allocations: 0 / 482.9 MB, free: 11.25 MB / 410.7 MB 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.0002165/0.002427, allocations: 371.4 kB / 483.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.002464, allocations: 8.469 kB / 483.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.002493, allocations: 6.875 kB / 483.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.173e-05/0.002534, allocations: 105.2 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002544, allocations: 4 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.002552, allocations: 8.938 kB / 483.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.002633, allocations: 54.81 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.00264, allocations: 4.125 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.002647, allocations: 1.125 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.002653, allocations: 2.594 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.002729, allocations: 80.91 kB / 483.5 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.341e-05/0.002822, allocations: 111.5 kB / 483.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.002885, allocations: 67.36 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.002906, allocations: 14.56 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.003047, allocations: 30.02 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.003066, allocations: 41.73 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.003067, allocations: 0 / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001546/0.003221, allocations: 80.44 kB / 483.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.571e-05/0.003237, allocations: 52.88 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.238e-05/0.00327, allocations: 157.3 kB / 484 MB, free: 10.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.003276, allocations: 29.7 kB / 484.1 MB, free: 10.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.003289, allocations: 127.6 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.003314, allocations: 16.59 kB / 484.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.00335, allocations: 46.98 kB / 484.3 MB, free: 9.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.003642, allocations: 0.4939 MB / 484.7 MB, free: 25.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.003659, allocations: 9.625 kB / 484.8 MB, free: 25.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.003678, allocations: 7.375 kB / 484.8 MB, free: 25.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.003732, allocations: 45.91 kB / 484.8 MB, free: 25.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.003734, allocations: 0 / 484.8 MB, free: 25.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.632e-05/0.00381, allocations: 76.45 kB / 484.9 MB, free: 25.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.003822, allocations: 5.531 kB / 484.9 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.003827, allocations: 0 / 484.9 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.003838, allocations: 1.125 kB / 484.9 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.003907, allocations: 23.33 kB / 484.9 MB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.003911, allocations: 5.031 kB / 484.9 MB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.003929, allocations: 0.9688 kB / 484.9 MB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.003935, allocations: 11.94 kB / 484.9 MB, free: 25.39 MB / 426.7 MB 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 7.319e-05/0.004008, allocations: 168.9 kB / 485.1 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.004018, allocations: 12.22 kB / 485.1 MB, free: 25.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.004138, allocations: 95.12 kB / 485.2 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00414, allocations: 3.125 kB / 485.2 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004142, allocations: 0 / 485.2 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.004145, allocations: 1.062 kB / 485.2 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.732e-05/0.004202, allocations: 125.3 kB / 485.3 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.004204, allocations: 4 kB / 485.3 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.004245, allocations: 24.34 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.004246, allocations: 0 / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.004251, allocations: 5.938 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.004253, allocations: 1.094 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004253, allocations: 1.094 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.004337, allocations: 115.4 kB / 485.5 MB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.004345, allocations: 9.438 kB / 485.5 MB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.004353, allocations: 2.125 kB / 485.5 MB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.00436, allocations: 5.094 kB / 485.5 MB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.004386, allocations: 6.406 kB / 485.5 MB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.00439, allocations: 6.75 kB / 485.5 MB, free: 24.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.004423, allocations: 121.3 kB / 485.6 MB, free: 24.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004423, allocations: 0 / 485.6 MB, free: 24.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.004551, allocations: 18.41 kB / 485.6 MB, free: 24.79 MB / 426.7 MB 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.0001343/0.004685, allocations: 113.4 kB / 485.7 MB, free: 24.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.626e-05/0.004772, allocations: 52.91 kB / 485.8 MB, free: 24.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004773, allocations: 0 / 485.8 MB, free: 24.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.004799, allocations: 33.97 kB / 485.8 MB, free: 24.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.226e-05/0.004891, allocations: 7.469 kB / 485.8 MB, free: 24.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.00508, allocations: 132.5 kB / 486 MB, free: 24.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.448e-05/0.005104, allocations: 60.08 kB / 486 MB, free: 24.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.584e-05/0.00513, allocations: 14.77 kB / 486 MB, free: 24.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.00517, allocations: 81.11 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00517, allocations: 1.562 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of Templates: time 0.002243/0.007413, allocations: 0.6855 MB / 486.8 MB, free: 24.32 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630192937795073]