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.001123/0.001123, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002834, allocations: 435.8 kB / 10.33 MB, free: 368 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.001105/0.001105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002578, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9868/0.9868, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1262/1.113, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001279/0.001279, allocations: 237.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.002357, allocations: 471.5 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7182/0.7182, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06812/0.7863, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.353e-06/1.353e-06, allocations: 0 / 427.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.149e-05, allocations: 2.312 kB / 427.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0017/0.001722, allocations: 0.6391 MB / 428.5 MB, free: 3.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.001914, allocations: 55.8 kB / 428.5 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.001929, allocations: 0 / 428.5 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.001947, allocations: 7.938 kB / 428.6 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.583e-06/0.001948, allocations: 4 kB / 428.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.00211, allocations: 19.91 kB / 428.6 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.002195, allocations: 27.98 kB / 428.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.002232, allocations: 0 / 428.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.002278, allocations: 19.97 kB / 428.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.002308, allocations: 19.91 kB / 428.6 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.002324, allocations: 0 / 428.6 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.002444, allocations: 19.98 kB / 428.7 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.002468, allocations: 8 kB / 428.7 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.00249, allocations: 4 kB / 428.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.002593, allocations: 35.84 kB / 428.7 MB, free: 3.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.002609, allocations: 0 / 428.7 MB, free: 3.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002609, allocations: 0 / 428.7 MB, free: 3.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.002627, allocations: 0 / 428.7 MB, free: 3.703 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.0003494/0.002976, allocations: 244.6 kB / 428.9 MB, free: 3.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.003011, allocations: 11.98 kB / 429 MB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.003045, allocations: 12.94 kB / 429 MB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.434e-05/0.003099, allocations: 113.7 kB / 429.1 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.003109, allocations: 384 / 429.1 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.003119, allocations: 8.375 kB / 429.1 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003237, allocations: 58.11 kB / 429.1 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003244, allocations: 4.188 kB / 429.2 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.00325, allocations: 384 / 429.2 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003255, allocations: 384 / 429.2 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.003324, allocations: 75.81 kB / 429.2 MB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.512e-05/0.003409, allocations: 71.81 kB / 429.3 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.003465, allocations: 50.48 kB / 429.3 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.003486, allocations: 24.78 kB / 429.4 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.00362, allocations: 23.98 kB / 429.4 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.003638, allocations: 30.56 kB / 429.4 MB, free: 2.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.003639, allocations: 0 / 429.4 MB, free: 2.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001202/0.00376, allocations: 77.88 kB / 429.5 MB, free: 2.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.003784, allocations: 55.41 kB / 429.6 MB, free: 2.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.041e-05/0.003815, allocations: 101.8 kB / 429.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.003823, allocations: 25.7 kB / 429.7 MB, free: 2.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/0.00384, allocations: 80.14 kB / 429.8 MB, free: 2.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.003867, allocations: 23.78 kB / 429.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.003898, allocations: 37.69 kB / 429.8 MB, free: 2.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.004041, allocations: 314.8 kB / 430.1 MB, free: 2.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.004052, allocations: 11.92 kB / 430.1 MB, free: 2.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.004063, allocations: 8 kB / 430.1 MB, free: 2.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.004115, allocations: 39.64 kB / 430.2 MB, free: 2.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004117, allocations: 4 kB / 430.2 MB, free: 2.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 5.678e-05/0.004174, allocations: 61.61 kB / 430.2 MB, free: 2.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004185, allocations: 4 kB / 430.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.00419, allocations: 0 / 430.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.004198, allocations: 0 / 430.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.004277, allocations: 23.92 kB / 430.3 MB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.004282, allocations: 7.984 kB / 430.3 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.004295, allocations: 7.953 kB / 430.3 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.0043, allocations: 0 / 430.3 MB, free: 1.965 MB / 410.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.259e-05/0.004373, allocations: 128.6 kB / 430.4 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.004382, allocations: 7.984 kB / 430.4 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.702e-05/0.004479, allocations: 85.48 kB / 430.5 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.00448, allocations: 4 kB / 430.5 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.004481, allocations: 0 / 430.5 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004484, allocations: 3.938 kB / 430.5 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.237e-05/0.004546, allocations: 85.78 kB / 430.6 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.004548, allocations: 0 / 430.6 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.00459, allocations: 19.98 kB / 430.6 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.004598, allocations: 11.92 kB / 430.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.0046, allocations: 4 kB / 430.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.004604, allocations: 0 / 430.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.004606, allocations: 0 / 430.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.004607, allocations: 4 kB / 430.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.004678, allocations: 97.84 kB / 430.7 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.004686, allocations: 4 kB / 430.7 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.004694, allocations: 4 kB / 430.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.004713, allocations: 3.984 kB / 430.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.004715, allocations: 4 kB / 430.7 MB, free: 1.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.18e-06/0.004721, allocations: 4.859 kB / 430.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004721, allocations: 0 / 430.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001075/0.004828, allocations: 20 kB / 430.8 MB, free: 1.43 MB / 410.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.0001028/0.004931, allocations: 92.41 kB / 430.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.005002, allocations: 52.69 kB / 430.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.005004, allocations: 0 / 430.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.005025, allocations: 28.84 kB / 430.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.133e-05/0.005076, allocations: 11.98 kB / 431 MB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.005246, allocations: 133.9 kB / 431.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.005273, allocations: 59.36 kB / 431.1 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.005297, allocations: 11.98 kB / 431.2 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.00533, allocations: 59.36 kB / 431.2 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005331, allocations: 0 / 431.2 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of Templates: time 0.002203/0.007533, allocations: 0.6954 MB / 431.9 MB, free: 236 kB / 410.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2823802437633276]