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.001908/0.001908, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.00204/0.00204, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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 1.012/1.012, allocations: 115 MB / 375.3 MB, free: 7.555 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.453e-06/1.453e-06, allocations: 0.875 kB / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.273e-05, allocations: 4.094 kB / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001682/0.001715, allocations: 0.5918 MB / 481.4 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.001998, allocations: 51.91 kB / 481.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.00202, allocations: 4.438 kB / 481.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.002073, allocations: 1.656 kB / 481.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.002079, allocations: 0 / 481.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.002401, allocations: 18.34 kB / 481.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.00249, allocations: 35.67 kB / 481.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.002521, allocations: 1.344 kB / 481.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.002563, allocations: 14.06 kB / 481.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.002594, allocations: 14.11 kB / 481.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.002611, allocations: 3.406 kB / 481.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.002703, allocations: 17.8 kB / 481.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.002733, allocations: 11.52 kB / 481.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.002761, allocations: 13.95 kB / 481.6 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.002869, allocations: 39.14 kB / 481.7 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.002872, allocations: 0 / 481.7 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002873, allocations: 1.188 kB / 481.7 MB, free: 11.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002877, allocations: 0 / 481.7 MB, free: 11.44 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.0003064/0.003183, allocations: 364.6 kB / 482 MB, free: 11.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003218, allocations: 12.25 kB / 482 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.003276, allocations: 8.562 kB / 482 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.692e-05/0.003332, allocations: 112.5 kB / 482.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.003345, allocations: 384 / 482.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.003358, allocations: 10.34 kB / 482.2 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003475, allocations: 60.03 kB / 482.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.003486, allocations: 192 / 482.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.003496, allocations: 5.5 kB / 482.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.003501, allocations: 384 / 482.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.003632, allocations: 95.61 kB / 482.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.003758, allocations: 127.1 kB / 482.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.003856, allocations: 70.64 kB / 482.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.003897, allocations: 24.7 kB / 482.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.004054, allocations: 22.69 kB / 482.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.004076, allocations: 37.44 kB / 482.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.004077, allocations: 0 / 482.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002276/0.004305, allocations: 103.4 kB / 482.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.004325, allocations: 55.25 kB / 482.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.842e-05/0.004364, allocations: 154.1 kB / 482.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.004374, allocations: 28.7 kB / 482.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.004596, allocations: 130.8 kB / 483 MB, free: 26.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.004628, allocations: 19.98 kB / 483.1 MB, free: 26.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.004673, allocations: 40.61 kB / 483.1 MB, free: 26.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.004887, allocations: 0.4892 MB / 483.6 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.004918, allocations: 13.72 kB / 483.6 MB, free: 25.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.004947, allocations: 11.42 kB / 483.6 MB, free: 25.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.005027, allocations: 51.52 kB / 483.7 MB, free: 25.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005029, allocations: 1.5 kB / 483.7 MB, free: 25.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001338/0.005163, allocations: 89.52 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.005179, allocations: 6.062 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005183, allocations: 0 / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.005199, allocations: 0.625 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.005295, allocations: 19.41 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.0053, allocations: 0.6875 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.00532, allocations: 11.84 kB / 483.8 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.005331, allocations: 6.406 kB / 483.8 MB, free: 25.53 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 0.0001204/0.005451, allocations: 168.5 kB / 484 MB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.005469, allocations: 10.38 kB / 484 MB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.005656, allocations: 106.8 kB / 484.1 MB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.005659, allocations: 6.641 kB / 484.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005663, allocations: 0 / 484.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.005668, allocations: 4.438 kB / 484.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.97e-05/0.005748, allocations: 129.3 kB / 484.2 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005749, allocations: 3.25 kB / 484.2 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.005817, allocations: 17.2 kB / 484.2 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.005821, allocations: 2.156 kB / 484.2 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.005831, allocations: 3.75 kB / 484.2 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.005833, allocations: 6.594 kB / 484.3 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005834, allocations: 1.531 kB / 484.3 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.005983, allocations: 127.2 kB / 484.4 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.00599, allocations: 6.609 kB / 484.4 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.006003, allocations: 0 / 484.4 MB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.006028, allocations: 6.062 kB / 484.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.006071, allocations: 14.25 kB / 484.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.006077, allocations: 2.875 kB / 484.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.838e-05/0.006146, allocations: 121.7 kB / 484.5 MB, free: 24.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006146, allocations: 0 / 484.5 MB, free: 24.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.006346, allocations: 13.56 kB / 484.5 MB, free: 24.9 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.0001767/0.006522, allocations: 110.4 kB / 484.6 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.006662, allocations: 59.89 kB / 484.7 MB, free: 24.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006663, allocations: 1.219 kB / 484.7 MB, free: 24.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.006714, allocations: 41.78 kB / 484.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.006841, allocations: 11.39 kB / 484.8 MB, free: 24.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.007113, allocations: 138.2 kB / 484.9 MB, free: 24.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.007163, allocations: 76.7 kB / 485 MB, free: 24.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.00723, allocations: 31.44 kB / 485 MB, free: 24.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.00726, allocations: 18.53 kB / 485 MB, free: 24.54 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.007261, allocations: 0 / 485 MB, free: 24.54 MB / 426.7 MB Notification: Performance of Templates: time 0.003341/0.0106, allocations: 0.6051 MB / 485.6 MB, free: 24.46 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: 5.633582094102167]