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.001012/0.001012, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001055/0.001055, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9662/0.9662, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6763/0.6763, allocations: 115 MB / 375.7 MB, free: 7.641 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.974e-06/1.974e-06, allocations: 0.5938 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.707e-05, allocations: 2.312 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001259/0.001286, allocations: 0.6096 MB / 482.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.001527, allocations: 53.66 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.001549, allocations: 0 / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.001592, allocations: 0 / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.001599, allocations: 0.9062 kB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.001923, allocations: 29.27 kB / 482.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.002006, allocations: 35.84 kB / 482.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.002056, allocations: 0 / 482.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.002101, allocations: 10.94 kB / 482.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.155e-05/0.002123, allocations: 17.56 kB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002139, allocations: 2.062 kB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.002227, allocations: 15.67 kB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.002254, allocations: 13.83 kB / 482.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.002279, allocations: 10.44 kB / 482.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.002394, allocations: 37.02 kB / 482.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002397, allocations: 0 / 482.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.002398, allocations: 0 / 482.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.002404, allocations: 3.938 kB / 482.4 MB, free: 11.45 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.0003146/0.002718, allocations: 370.5 kB / 482.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.002766, allocations: 9.844 kB / 482.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.00282, allocations: 8.75 kB / 482.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.773e-05/0.002878, allocations: 105.3 kB / 482.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.002898, allocations: 3.375 kB / 482.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.002912, allocations: 7.656 kB / 482.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.003055, allocations: 60 kB / 482.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.003065, allocations: 1.781 kB / 482.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.003077, allocations: 384 / 482.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.003086, allocations: 384 / 483 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.003181, allocations: 94.22 kB / 483 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.003317, allocations: 137.4 kB / 483.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.003416, allocations: 60.83 kB / 483.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.003454, allocations: 22.88 kB / 483.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.003696, allocations: 23.38 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.003723, allocations: 34.48 kB / 483.3 MB, free: 10.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.003725, allocations: 0.75 kB / 483.3 MB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002375/0.003963, allocations: 97 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.003999, allocations: 56.44 kB / 483.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.004042, allocations: 152.7 kB / 483.6 MB, free: 10.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.00405, allocations: 26.27 kB / 483.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.004073, allocations: 132.8 kB / 483.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.004107, allocations: 20.75 kB / 483.8 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.00415, allocations: 37.47 kB / 483.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000353/0.004503, allocations: 0.4905 MB / 484.3 MB, free: 25.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.004541, allocations: 11.47 kB / 484.3 MB, free: 25.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.004563, allocations: 13.16 kB / 484.3 MB, free: 25.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.00465, allocations: 51.83 kB / 484.4 MB, free: 25.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.004653, allocations: 0.9375 kB / 484.4 MB, free: 25.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001137/0.004767, allocations: 81.69 kB / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.004786, allocations: 6.125 kB / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.004792, allocations: 0.875 kB / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.004811, allocations: 1.219 kB / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.004911, allocations: 19.38 kB / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.004917, allocations: 0 / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.004933, allocations: 5.75 kB / 484.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.004942, allocations: 7.969 kB / 484.5 MB, free: 25.56 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 8.632e-05/0.005028, allocations: 165.3 kB / 484.7 MB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.005042, allocations: 13.2 kB / 484.7 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.005209, allocations: 106.6 kB / 484.8 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.005212, allocations: 2.188 kB / 484.8 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005216, allocations: 0 / 484.8 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.005221, allocations: 8.953 kB / 484.8 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.209e-05/0.005293, allocations: 129.2 kB / 484.9 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005295, allocations: 0 / 484.9 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.005347, allocations: 23.34 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.005351, allocations: 0 / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.005359, allocations: 7.156 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.005361, allocations: 1 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005362, allocations: 0 / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.005472, allocations: 125.5 kB / 485.1 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.005479, allocations: 6.141 kB / 485.1 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.00549, allocations: 6.531 kB / 485.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.005499, allocations: 4 kB / 485.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.005537, allocations: 12.83 kB / 485.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.005542, allocations: 5.781 kB / 485.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.005579, allocations: 120.5 kB / 485.2 MB, free: 24.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005579, allocations: 0.5 kB / 485.2 MB, free: 24.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.00572, allocations: 14.09 kB / 485.2 MB, free: 24.93 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.0001489/0.005869, allocations: 118 kB / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.005995, allocations: 49.78 kB / 485.4 MB, free: 24.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005997, allocations: 4.531 kB / 485.4 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.006036, allocations: 43.69 kB / 485.5 MB, free: 24.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.006146, allocations: 10.69 kB / 485.5 MB, free: 24.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.006423, allocations: 137 kB / 485.6 MB, free: 24.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.00646, allocations: 58.97 kB / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.006515, allocations: 33.27 kB / 485.7 MB, free: 24.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.006544, allocations: 14.91 kB / 485.7 MB, free: 24.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.006545, allocations: 0 / 485.7 MB, free: 24.57 MB / 426.7 MB Notification: Performance of Templates: time 0.002755/0.009299, allocations: 0.6519 MB / 486.4 MB, free: 24.5 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.727934683673084]