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.001208/0.001208, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001431/0.001431, allocations: 169 kB / 23.02 MB, free: 1.551 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.991/0.991, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001667/0.001667, allocations: 229.5 kB / 260.2 MB, free: 12.82 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.7679/0.7679, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.122e-06/1.122e-06, allocations: 0 / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.477e-05, allocations: 6.25 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001021/0.001036, allocations: 0.5923 MB / 0.5558 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002153/0.001251, allocations: 47.81 kB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.00127, allocations: 0 / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.001308, allocations: 4 kB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.001313, allocations: 0 / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.001612, allocations: 27.89 kB / 0.5558 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.001682, allocations: 27.92 kB / 0.5559 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.001715, allocations: 3.984 kB / 0.5559 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.001751, allocations: 19.92 kB / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.102e-05/0.001772, allocations: 11.97 kB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.00179, allocations: 4 kB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.001894, allocations: 15.98 kB / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.001923, allocations: 11.98 kB / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.001948, allocations: 7.984 kB / 0.5559 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.002045, allocations: 43.83 kB / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002047, allocations: 0 / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002047, allocations: 0 / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002051, allocations: 0 / 0.556 GB, free: 15.63 MB / 490.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.0002689/0.00232, allocations: 372.6 kB / 0.5563 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.002353, allocations: 8.75 kB / 0.5563 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.002387, allocations: 4.938 kB / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.684e-05/0.002444, allocations: 112.6 kB / 0.5565 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.002455, allocations: 8.375 kB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.002468, allocations: 8.359 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.002571, allocations: 54.23 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.002579, allocations: 4.188 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.002588, allocations: 384 / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.002595, allocations: 4.375 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.00268, allocations: 95.73 kB / 0.5566 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.002792, allocations: 120.6 kB / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.002866, allocations: 62.98 kB / 0.5568 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.002896, allocations: 27.67 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.003051, allocations: 19.98 kB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.00307, allocations: 33.39 kB / 0.5569 GB, free: 14.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.003071, allocations: 0 / 0.5569 GB, free: 14.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001672/0.003238, allocations: 106.2 kB / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.003264, allocations: 59.34 kB / 0.557 GB, free: 14.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.003307, allocations: 142.2 kB / 0.5572 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.003318, allocations: 29.7 kB / 0.5572 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.003346, allocations: 130.8 kB / 0.5573 GB, free: 14.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.00337, allocations: 23.8 kB / 0.5573 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.003403, allocations: 39.36 kB / 0.5574 GB, free: 14.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.003522, allocations: 0.4923 MB / 0.5579 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.003544, allocations: 8 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.003564, allocations: 16.03 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.003623, allocations: 43.67 kB / 0.5579 GB, free: 13.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003624, allocations: 4 kB / 0.5579 GB, free: 13.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.935e-05/0.003704, allocations: 81.58 kB / 0.558 GB, free: 13.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.003713, allocations: 7.938 kB / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.003717, allocations: 0 / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.003729, allocations: 0 / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.003801, allocations: 23.98 kB / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.003805, allocations: 0 / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.003818, allocations: 7.875 kB / 0.558 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.003823, allocations: 4 kB / 0.558 GB, free: 13.3 MB / 490.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.19e-05/0.003895, allocations: 176.3 kB / 0.5582 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.003904, allocations: 11.95 kB / 0.5582 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.00403, allocations: 105.5 kB / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.004033, allocations: 4 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004036, allocations: 0 / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004039, allocations: 3.938 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.802e-05/0.004107, allocations: 128.6 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004108, allocations: 0 / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.004143, allocations: 19.98 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004144, allocations: 0 / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.004151, allocations: 12 kB / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.004152, allocations: 0 / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004153, allocations: 0 / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.202e-05/0.004245, allocations: 124.2 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.004253, allocations: 15.89 kB / 0.5586 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.004262, allocations: 0 / 0.5586 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.00427, allocations: 8 kB / 0.5586 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.004298, allocations: 7.922 kB / 0.5586 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.004302, allocations: 7.984 kB / 0.5586 GB, free: 12.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.445e-05/0.004327, allocations: 119.2 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004327, allocations: 0 / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.004507, allocations: 20 kB / 0.5588 GB, free: 12.49 MB / 490.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.0001202/0.004627, allocations: 103.2 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.004722, allocations: 56.14 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.004723, allocations: 4 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.004756, allocations: 39.77 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.36e-05/0.004849, allocations: 7.984 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.005059, allocations: 156.2 kB / 0.5591 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.005087, allocations: 59.36 kB / 0.5592 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.005133, allocations: 39.92 kB / 0.5592 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.005155, allocations: 16.5 kB / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005156, allocations: 0 / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of Templates: time 0.002046/0.007202, allocations: 0.6049 MB / 0.5598 GB, free: 11.35 MB / 490.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.7286752006039023]