Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001193/0.001193, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001165/0.001165, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.002/1.002, allocations: 177.1 MB / 205.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.929/1.929, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0.6562 kB / 0.7762 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.976e-05, allocations: 7 kB / 0.7762 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001877/0.001906, allocations: 0.6691 MB / 0.7768 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.002194, allocations: 59.78 kB / 0.7769 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.00222, allocations: 0 / 0.7769 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.002262, allocations: 0 / 0.7769 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.002269, allocations: 3 kB / 0.7769 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.002552, allocations: 19.86 kB / 0.7769 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.002639, allocations: 33.05 kB / 0.7769 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.002682, allocations: 4 kB / 0.7769 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.002724, allocations: 11.98 kB / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.002753, allocations: 11.98 kB / 0.777 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.002768, allocations: 0 / 0.777 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.002901, allocations: 29.05 kB / 0.777 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.002927, allocations: 9.359 kB / 0.777 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.002953, allocations: 10.58 kB / 0.777 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003066, allocations: 36.59 kB / 0.7771 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003069, allocations: 2.031 kB / 0.7771 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00307, allocations: 0 / 0.7771 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.003075, allocations: 4 kB / 0.7771 GB, free: 4.379 MB / 0.7292 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.0002649/0.003339, allocations: 233.6 kB / 0.7773 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.003379, allocations: 9.344 kB / 0.7773 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.003412, allocations: 9.516 kB / 0.7773 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.003488, allocations: 110.5 kB / 0.7774 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.0035, allocations: 5.125 kB / 0.7774 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.003515, allocations: 8.375 kB / 0.7774 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.003617, allocations: 52.59 kB / 0.7775 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.003626, allocations: 4.188 kB / 0.7775 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.003635, allocations: 384 / 0.7775 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003641, allocations: 384 / 0.7775 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.003739, allocations: 69.19 kB / 0.7775 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.003849, allocations: 77.25 kB / 0.7776 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.003927, allocations: 50.98 kB / 0.7777 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.003956, allocations: 15.41 kB / 0.7777 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.004099, allocations: 23.98 kB / 0.7777 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.004126, allocations: 35.78 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.004129, allocations: 3.984 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001551/0.004284, allocations: 79.45 kB / 0.7778 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.004317, allocations: 52.89 kB / 0.7779 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.824e-05/0.004355, allocations: 93.86 kB / 0.778 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.004367, allocations: 25.7 kB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.004392, allocations: 85.03 kB / 0.7781 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.00442, allocations: 24.89 kB / 0.7781 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.004462, allocations: 30.56 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.004556, allocations: 326.8 kB / 0.7784 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.004571, allocations: 4 kB / 0.7784 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.004589, allocations: 10.88 kB / 0.7784 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.88e-05/0.004658, allocations: 37.34 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00466, allocations: 0 / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.66e-05/0.004746, allocations: 62.48 kB / 0.7785 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.00476, allocations: 4.688 kB / 0.7785 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.004765, allocations: 4 kB / 0.7785 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.004775, allocations: 1.281 kB / 0.7785 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.004872, allocations: 23.98 kB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.004874, allocations: 1.781 kB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.004893, allocations: 3.953 kB / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.004899, allocations: 0 / 0.7786 GB, free: 2.703 MB / 0.7292 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 8.771e-05/0.004987, allocations: 129.3 kB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.004999, allocations: 4.766 kB / 0.7787 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.005151, allocations: 98.81 kB / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.005153, allocations: 2.328 kB / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.005155, allocations: 0 / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.00516, allocations: 3.984 kB / 0.7788 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.426e-05/0.005244, allocations: 81.83 kB / 0.7789 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005246, allocations: 0.8125 kB / 0.7789 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.00531, allocations: 19.98 kB / 0.7789 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.005312, allocations: 1.422 kB / 0.7789 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.00532, allocations: 4 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.005321, allocations: 0.5625 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005322, allocations: 0 / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.005437, allocations: 95.23 kB / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.005447, allocations: 11.94 kB / 0.779 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.00546, allocations: 5.25 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.005474, allocations: 336 / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.005505, allocations: 7.984 kB / 0.779 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.005511, allocations: 9.312 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.386e-06/0.00552, allocations: 4.859 kB / 0.779 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00552, allocations: 0 / 0.779 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001754/0.005695, allocations: 15.94 kB / 0.779 GB, free: 2.172 MB / 0.7292 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.000162/0.005857, allocations: 94.16 kB / 0.7791 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.005961, allocations: 44.72 kB / 0.7792 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.005963, allocations: 0.5 kB / 0.7792 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.006001, allocations: 29.31 kB / 0.7792 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.633e-05/0.006067, allocations: 13.69 kB / 0.7792 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.006303, allocations: 123.6 kB / 0.7793 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.006342, allocations: 60.34 kB / 0.7794 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.00638, allocations: 11.98 kB / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.006429, allocations: 68.23 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.00643, allocations: 0 / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.002868/0.009298, allocations: 0.685 MB / 0.7801 GB, free: 1.031 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.018446085974574]