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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 119 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 187.7 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8308/0.8308, allocations: 128.4 MB / 432.4 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002062/0.002062, allocations: 67.89 kB / 0.5988 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 83.26 MB / 0.6801 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00145/0.3822, allocations: 0.5811 MB / 0.6806 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.3825, allocations: 63.03 kB / 0.6807 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.3825, allocations: 1.344 kB / 0.6807 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3825, allocations: 0 / 0.6807 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.3825, allocations: 4 kB / 0.6807 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.3828, allocations: 18.92 kB / 0.6807 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.3828, allocations: 27.33 kB / 0.6807 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.3829, allocations: 5.141 kB / 0.6808 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.3829, allocations: 9.578 kB / 0.6808 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.455e-05/0.3829, allocations: 14.11 kB / 0.6808 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3829, allocations: 1.562 kB / 0.6808 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.383, allocations: 19.86 kB / 0.6808 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.383, allocations: 14.33 kB / 0.6808 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.3831, allocations: 11.81 kB / 0.6808 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.309e-05/0.3831, allocations: 32.48 kB / 0.6808 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3831, allocations: 7.984 kB / 0.6809 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3831, allocations: 0 / 0.6809 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3831, allocations: 1.031 kB / 0.6809 GB, free: 6.469 MB / 0.4981 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.0002427/0.3834, allocations: 335.2 kB / 0.6812 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3834, allocations: 10.38 kB / 0.6812 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3835, allocations: 6.516 kB / 0.6812 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.034e-05/0.3835, allocations: 165.4 kB / 0.6814 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3835, allocations: 2 kB / 0.6814 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3835, allocations: 8.125 kB / 0.6814 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3836, allocations: 66.66 kB / 0.6814 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3837, allocations: 1.781 kB / 0.6814 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3837, allocations: 7.875 kB / 0.6814 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3837, allocations: 1.406 kB / 0.6814 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3838, allocations: 101.9 kB / 0.6815 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.3839, allocations: 170.7 kB / 0.6817 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.658e-05/0.384, allocations: 62.39 kB / 0.6818 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.384, allocations: 29.88 kB / 0.6818 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.3842, allocations: 410.1 kB / 0.6822 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3843, allocations: 35.72 kB / 0.6822 GB, free: 5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.3843, allocations: 3.938 kB / 0.6822 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002131/0.3845, allocations: 125.6 kB / 0.6823 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3845, allocations: 52.69 kB / 0.6824 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.916e-05/0.3845, allocations: 98.94 kB / 0.6825 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.3845, allocations: 27.05 kB / 0.6825 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-06/0.3845, allocations: 80.14 kB / 0.6826 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3846, allocations: 27.67 kB / 0.6826 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3846, allocations: 32.14 kB / 0.6826 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.3846, allocations: 313.3 kB / 0.6829 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.3847, allocations: 19.27 kB / 0.683 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.3847, allocations: 21.05 kB / 0.683 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.214e-05/0.3848, allocations: 67.86 kB / 0.683 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3848, allocations: 0 / 0.683 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001154/0.3849, allocations: 97.41 kB / 0.6831 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3849, allocations: 12.41 kB / 0.6831 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3849, allocations: 3.938 kB / 0.6831 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3849, allocations: 3.984 kB / 0.6832 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.385, allocations: 16.03 kB / 0.6832 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.385, allocations: 0 / 0.6832 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.385, allocations: 1.469 kB / 0.6832 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.385, allocations: 6.734 kB / 0.6832 GB, free: 4.141 MB / 0.4981 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 7.94e-05/0.3851, allocations: 122.1 kB / 0.6833 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.3851, allocations: 5.531 kB / 0.6833 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.3853, allocations: 134.1 kB / 0.6834 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3853, allocations: 2.406 kB / 0.6834 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3853, allocations: 0 / 0.6834 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3853, allocations: 3.984 kB / 0.6834 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.463e-05/0.3854, allocations: 170.8 kB / 0.6836 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3854, allocations: 1.125 kB / 0.6836 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.3855, allocations: 26.89 kB / 0.6836 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3855, allocations: 5 kB / 0.6836 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3855, allocations: 1.031 kB / 0.6836 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3855, allocations: 5.062 kB / 0.6836 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3855, allocations: 3.984 kB / 0.6836 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.3856, allocations: 119.9 kB / 0.6837 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.3856, allocations: 82.3 kB / 0.6838 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3856, allocations: 9.391 kB / 0.6838 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.3856, allocations: 0 / 0.6838 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3857, allocations: 5.375 kB / 0.6838 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3857, allocations: 6.766 kB / 0.6838 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.016e-05/0.3857, allocations: 79.28 kB / 0.6839 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3857, allocations: 3.938 kB / 0.6839 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001951/0.3859, allocations: 15.38 kB / 0.6839 GB, free: 3.398 MB / 0.4981 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.0001527/0.386, allocations: 115.8 kB / 0.6841 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.3862, allocations: 61.06 kB / 0.6841 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.3862, allocations: 0 / 0.6841 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.3862, allocations: 32.64 kB / 0.6841 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.3863, allocations: 10.59 kB / 0.6842 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.3866, allocations: 182.7 kB / 0.6843 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.3867, allocations: 0.682 MB / 0.685 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.3867, allocations: 18.28 kB / 0.685 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.3867, allocations: 0 / 0.685 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of Templates: time 0.002319/0.389, allocations: 0.9567 MB / 0.6859 GB, free: 1.902 MB / 0.4981 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: 7.6816286011599] Failed to read output from testmodel.py, exit status != 0: 0.3966738397721201 0.40804521000000005 0.022176061 Calling exit ...