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.0009632/0.0009632, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001164/0.001164, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.041/1.041, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.001655/0.001655, allocations: 241.8 kB / 260.5 MB, free: 12.68 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.7513/0.7513, allocations: 138.4 MB / 455.5 MB, free: 30.06 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 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 2.104e-06/2.104e-06, allocations: 0 / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.815e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00171/0.001738, allocations: 0.601 MB / 0.5562 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000264/0.002002, allocations: 51.8 kB / 0.5563 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.002026, allocations: 0 / 0.5563 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.002064, allocations: 0 / 0.5563 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.394e-06/0.002072, allocations: 0 / 0.5563 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.002364, allocations: 15.92 kB / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.63e-05/0.002451, allocations: 35.95 kB / 0.5563 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.002488, allocations: 0 / 0.5563 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.111e-05/0.002529, allocations: 19.97 kB / 0.5563 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.758e-05/0.002557, allocations: 15.98 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.002572, allocations: 3.938 kB / 0.5564 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.002678, allocations: 19.97 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.002707, allocations: 15.92 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.002732, allocations: 7.984 kB / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.002839, allocations: 35.89 kB / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002841, allocations: 4 kB / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.002842, allocations: 0 / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.002845, allocations: 0 / 0.5564 GB, free: 15.05 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.0002963/0.003142, allocations: 368.2 kB / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.003184, allocations: 13.94 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.003219, allocations: 13.23 kB / 0.5568 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.003287, allocations: 104.6 kB / 0.5569 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.003305, allocations: 12.31 kB / 0.5569 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.003316, allocations: 4.375 kB / 0.5569 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.003415, allocations: 50.23 kB / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003422, allocations: 192 / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003431, allocations: 4.375 kB / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.003437, allocations: 384 / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-05/0.003536, allocations: 79.81 kB / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.003662, allocations: 109.2 kB / 0.5572 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.003745, allocations: 66.83 kB / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.003775, allocations: 20 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.003932, allocations: 39.83 kB / 0.5573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.003959, allocations: 37.39 kB / 0.5573 GB, free: 14.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.003961, allocations: 0 / 0.5573 GB, free: 14.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001822/0.004143, allocations: 83.81 kB / 0.5574 GB, free: 13.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.004172, allocations: 55.41 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.004231, allocations: 146.2 kB / 0.5576 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.004245, allocations: 25.7 kB / 0.5576 GB, free: 13.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.004282, allocations: 134.8 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.004319, allocations: 39.77 kB / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.004369, allocations: 35.34 kB / 0.5578 GB, free: 13.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.004507, allocations: 0.4883 MB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.00453, allocations: 15.92 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.004549, allocations: 4 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.00462, allocations: 43.66 kB / 0.5584 GB, free: 12.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004622, allocations: 0 / 0.5584 GB, free: 12.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001152/0.004737, allocations: 82.22 kB / 0.5584 GB, free: 12.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.004751, allocations: 4 kB / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.004756, allocations: 0 / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.004771, allocations: 4 kB / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.004858, allocations: 19.94 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.004862, allocations: 0 / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.004883, allocations: 11.92 kB / 0.5585 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.00489, allocations: 3.938 kB / 0.5585 GB, free: 12.77 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 8.99e-05/0.004979, allocations: 167.3 kB / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.004994, allocations: 8 kB / 0.5587 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.005159, allocations: 106.6 kB / 0.5588 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005161, allocations: 0 / 0.5588 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005163, allocations: 4 kB / 0.5588 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005166, allocations: 0 / 0.5588 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.005258, allocations: 109.2 kB / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.00526, allocations: 0 / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.005316, allocations: 27.92 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005318, allocations: 0 / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-06/0.005323, allocations: 4 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.005325, allocations: 0 / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005326, allocations: 0 / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.00546, allocations: 121.7 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.005469, allocations: 7.938 kB / 0.559 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.005482, allocations: 11.98 kB / 0.559 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.292e-05/0.005495, allocations: 4 kB / 0.559 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.005525, allocations: 7.984 kB / 0.559 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.005532, allocations: 4 kB / 0.559 GB, free: 12.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.627e-05/0.005568, allocations: 119.2 kB / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005568, allocations: 0 / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.005772, allocations: 16 kB / 0.5592 GB, free: 12.01 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.0001385/0.005911, allocations: 114.7 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.006016, allocations: 59.52 kB / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006018, allocations: 0 / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.006056, allocations: 33.53 kB / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.006186, allocations: 11.94 kB / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.00642, allocations: 140.8 kB / 0.5595 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.006455, allocations: 55.36 kB / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.006494, allocations: 19.75 kB / 0.5596 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.006544, allocations: 78.2 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006545, allocations: 0 / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of Templates: time 0.00276/0.009305, allocations: 0.7013 MB / 0.5603 GB, free: 10.76 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.6197945531457663]