Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001113/0.001113, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001234/0.001234, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9938/0.9938, allocations: 177.2 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001575/0.001575, allocations: 242.9 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7403/0.7403, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 462.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.363e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002168/0.002192, allocations: 0.6493 MB / 463.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.002461, allocations: 61.72 kB / 463.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.002482, allocations: 0 / 463.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.00252, allocations: 1.938 kB / 463.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.054e-06/0.002527, allocations: 0.5 kB / 463.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.00281, allocations: 17.98 kB / 463.2 MB, free: 420 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.002891, allocations: 29.59 kB / 463.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.002931, allocations: 3.375 kB / 463.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.002973, allocations: 19.97 kB / 463.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.476e-05/0.002998, allocations: 9.469 kB / 463.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003013, allocations: 1.375 kB / 463.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.003132, allocations: 26.03 kB / 463.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.003157, allocations: 8.625 kB / 463.3 MB, free: 396 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.003183, allocations: 14.41 kB / 463.3 MB, free: 388 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003289, allocations: 38.61 kB / 463.3 MB, free: 376 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003292, allocations: 0.7812 kB / 463.3 MB, free: 376 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.003294, allocations: 0 / 463.3 MB, free: 376 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003297, allocations: 3.281 kB / 463.3 MB, free: 376 kB / 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.0002012/0.003499, allocations: 241.7 kB / 463.5 MB, free: 128 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003533, allocations: 10.06 kB / 463.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.003565, allocations: 7.672 kB / 463.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.37e-05/0.003609, allocations: 105.2 kB / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.00364, allocations: 6.734 kB / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.003649, allocations: 4.312 kB / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.003763, allocations: 53.73 kB / 463.7 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.003771, allocations: 1.406 kB / 463.7 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.003779, allocations: 1.562 kB / 463.7 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.003785, allocations: 2.969 kB / 463.7 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/0.003885, allocations: 75.88 kB / 463.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.003995, allocations: 78.08 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.004064, allocations: 46.98 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.004087, allocations: 19.5 kB / 463.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.004221, allocations: 18.19 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.004243, allocations: 32.5 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.004245, allocations: 2.219 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001459/0.004391, allocations: 77.62 kB / 464.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.004418, allocations: 53.72 kB / 464.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.76e-05/0.004455, allocations: 95.73 kB / 464.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004466, allocations: 26.36 kB / 464.2 MB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.004486, allocations: 80.92 kB / 464.3 MB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.004515, allocations: 26.19 kB / 464.4 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.004554, allocations: 30.94 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.004645, allocations: 321.2 kB / 464.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.004663, allocations: 10.94 kB / 464.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.00468, allocations: 8 kB / 464.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.004742, allocations: 35.72 kB / 464.7 MB, free: 15.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004744, allocations: 1.188 kB / 464.7 MB, free: 15.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.297e-05/0.004827, allocations: 66.92 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.004839, allocations: 5.312 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.004845, allocations: 1.625 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.004859, allocations: 2.203 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.004935, allocations: 18.83 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.00494, allocations: 2.828 kB / 464.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.004959, allocations: 5.031 kB / 464.9 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.004967, allocations: 4.219 kB / 464.9 MB, free: 15.06 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 7.968e-05/0.005046, allocations: 129.9 kB / 465 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.005058, allocations: 10.17 kB / 465 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.005182, allocations: 89.58 kB / 465.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005184, allocations: 1.906 kB / 465.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.005186, allocations: 0.5625 kB / 465.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.00519, allocations: 2.656 kB / 465.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.005262, allocations: 83.44 kB / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005264, allocations: 1.094 kB / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.005311, allocations: 26.98 kB / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.005314, allocations: 1.281 kB / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005321, allocations: 2.922 kB / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005323, allocations: 0 / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.005325, allocations: 2.141 kB / 465.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.543e-05/0.00541, allocations: 94.98 kB / 465.3 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.005418, allocations: 9.5 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-06/0.005427, allocations: 2.516 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-06/0.005435, allocations: 2.906 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.005465, allocations: 12.23 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.005471, allocations: 3.141 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.694e-06/0.005478, allocations: 4.859 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005478, allocations: 1.156 kB / 465.3 MB, free: 14.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001257/0.005604, allocations: 10.97 kB / 465.3 MB, free: 14.69 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.0001318/0.005736, allocations: 98.5 kB / 465.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.00582, allocations: 44.84 kB / 465.5 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.005825, allocations: 4.938 kB / 465.5 MB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.00586, allocations: 34.55 kB / 465.5 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.621e-05/0.005916, allocations: 2.312 kB / 465.5 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.006115, allocations: 131.7 kB / 465.6 MB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.006148, allocations: 59.39 kB / 465.7 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.006178, allocations: 16.75 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.006222, allocations: 63.52 kB / 465.8 MB, free: 14.34 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006223, allocations: 0.75 kB / 465.8 MB, free: 14.34 MB / 426.7 MB Notification: Performance of Templates: time 0.002638/0.008861, allocations: 0.6837 MB / 466.5 MB, free: 14.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.613997096195817]