Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.0007333/0.0007333, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008429/0.001576, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0006858/0.0006858, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008702/0.001556, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9992/0.9992, allocations: 177.1 MB / 189.6 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1841/1.183, allocations: 53.65 MB / 243.2 MB, free: 2.344 MB / 234.7 MB " [Timeout remaining time 179] 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.642/0.642, allocations: 119.1 MB / 363.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07058/0.7126, allocations: 37.85 MB / 400.9 MB, free: 15.29 MB / 394.7 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.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.82e-07/7.82e-07, allocations: 0 / 402.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.936e-05, allocations: 8.641 kB / 402.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00269/0.002709, allocations: 1.639 MB / 403.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.002952, allocations: 131.6 kB / 404 MB, free: 12.2 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.002983, allocations: 0 / 404 MB, free: 12.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.003009, allocations: 7.922 kB / 404 MB, free: 12.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.003036, allocations: 7.875 kB / 404 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.00322, allocations: 31.89 kB / 404.1 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.003299, allocations: 31.94 kB / 404.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.00338, allocations: 11.98 kB / 404.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.003443, allocations: 35.91 kB / 404.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.003488, allocations: 11.98 kB / 404.1 MB, free: 12.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.003504, allocations: 7.938 kB / 404.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.003619, allocations: 23.95 kB / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.003633, allocations: 7.938 kB / 404.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.003651, allocations: 8 kB / 404.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003767, allocations: 35.84 kB / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.003784, allocations: 0 / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003785, allocations: 0 / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.0038, allocations: 0 / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004042/0.004205, allocations: 252.6 kB / 404.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.004245, allocations: 15.89 kB / 404.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.004275, allocations: 8.938 kB / 404.5 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/0.004373, allocations: 117.7 kB / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.004398, allocations: 4.375 kB / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.004406, allocations: 384 / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.00455, allocations: 66.88 kB / 404.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.004559, allocations: 4.172 kB / 404.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.004566, allocations: 384 / 404.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.004572, allocations: 4.375 kB / 404.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.004605, allocations: 7.938 kB / 404.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.004869, allocations: 168.2 kB / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.005059, allocations: 42.5 kB / 404.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.00508, allocations: 12.8 kB / 404.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.005184, allocations: 24.05 kB / 404.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.00521, allocations: 30.56 kB / 405 MB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.005211, allocations: 0 / 405 MB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001423/0.005354, allocations: 45.62 kB / 405 MB, free: 11.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.005389, allocations: 55.34 kB / 405.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.005456, allocations: 110.7 kB / 405.2 MB, free: 10.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.00547, allocations: 29.7 kB / 405.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.005516, allocations: 88.12 kB / 405.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.005533, allocations: 3.953 kB / 405.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.005571, allocations: 17.7 kB / 405.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.005791, allocations: 314.8 kB / 405.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.005806, allocations: 4 kB / 405.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.00582, allocations: 7.984 kB / 405.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.005859, allocations: 17.14 kB / 405.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.005862, allocations: 0 / 405.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.056e-05/0.005932, allocations: 45.61 kB / 405.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005944, allocations: 8 kB / 405.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.00595, allocations: 7.938 kB / 405.7 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005961, allocations: 3.984 kB / 405.7 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.006021, allocations: 4 kB / 405.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006026, allocations: 4 kB / 405.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.006051, allocations: 3.984 kB / 405.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.006055, allocations: 0 / 405.7 MB, free: 10.32 MB / 394.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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.749e-05/0.006133, allocations: 109.8 kB / 405.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.006154, allocations: 0 / 405.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.006259, allocations: 65.23 kB / 405.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.006261, allocations: 0 / 405.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.006263, allocations: 0 / 405.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006267, allocations: 3.938 kB / 405.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.006378, allocations: 78.03 kB / 406 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.006384, allocations: 7.984 kB / 406 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.006428, allocations: 4 kB / 406 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.006434, allocations: 4 kB / 406 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006437, allocations: 0 / 406 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.006444, allocations: 3.984 kB / 406 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.006448, allocations: 3.938 kB / 406 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.006451, allocations: 7.984 kB / 406 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.502e-05/0.006546, allocations: 135.5 kB / 406.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.006559, allocations: 4 kB / 406.1 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.006614, allocations: 0 / 406.1 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.006661, allocations: 15.92 kB / 406.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.006665, allocations: 0 / 406.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.646e-05/0.006681, allocations: 12.84 kB / 406.2 MB, free: 9.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006681, allocations: 3.938 kB / 406.2 MB, free: 9.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.006886, allocations: 8 kB / 406.2 MB, free: 9.801 MB / 394.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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001496/0.007036, allocations: 84.42 kB / 406.3 MB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.007106, allocations: 16.84 kB / 406.3 MB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.007112, allocations: 0 / 406.3 MB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.007141, allocations: 20.84 kB / 406.3 MB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.007307, allocations: 7.984 kB / 406.3 MB, free: 9.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.007753, allocations: 132.3 kB / 406.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.007792, allocations: 55.34 kB / 406.5 MB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.00782, allocations: 8 kB / 406.5 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.007872, allocations: 51.38 kB / 406.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007873, allocations: 0 / 406.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of Templates: time 0.003166/0.01104, allocations: 0.8168 MB / 407.4 MB, free: 8.562 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1766609279438853]