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.001371/0.001371, allocations: 88.72 kB / 19.44 MB, free: 356 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.001587/0.001587, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.002619/0.002619, allocations: 222.1 kB / 259.8 MB, free: 12.84 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 1.07/1.07, allocations: 138.4 MB / 454.7 MB, free: 1.484 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 2.284e-06/2.284e-06, allocations: 0 / 0.5544 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.395e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002473/0.002507, allocations: 0.5887 MB / 0.555 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.002835, allocations: 51.81 kB / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.002857, allocations: 0 / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.002907, allocations: 7.984 kB / 0.555 GB, free: 148 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.002913, allocations: 0 / 0.555 GB, free: 148 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.003227, allocations: 19.86 kB / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.00334, allocations: 31.97 kB / 0.5551 GB, free: 96 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.003374, allocations: 0 / 0.5551 GB, free: 96 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.003433, allocations: 19.97 kB / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.003479, allocations: 11.97 kB / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.0035, allocations: 4 kB / 0.5551 GB, free: 60 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.003615, allocations: 15.98 kB / 0.5551 GB, free: 44 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.003657, allocations: 15.91 kB / 0.5551 GB, free: 28 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.003702, allocations: 8 kB / 0.5551 GB, free: 20 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.003862, allocations: 39.97 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003864, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003865, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003869, allocations: 0 / 0.5552 GB, free: 15.98 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.0004269/0.004295, allocations: 274.2 kB / 0.5554 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.004335, allocations: 8.75 kB / 0.5554 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.004396, allocations: 8.938 kB / 0.5555 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004512, allocations: 101.8 kB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.004528, allocations: 4.375 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.004547, allocations: 8.375 kB / 0.5556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.004727, allocations: 62.22 kB / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.004735, allocations: 4.188 kB / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.004746, allocations: 384 / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.004755, allocations: 4.375 kB / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.004991, allocations: 99.75 kB / 0.5557 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.005223, allocations: 121.2 kB / 0.5558 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.005404, allocations: 66.55 kB / 0.5559 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.00548, allocations: 25.17 kB / 0.5559 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.005705, allocations: 27.91 kB / 0.556 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.005753, allocations: 34.56 kB / 0.556 GB, free: 15.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.664e-06/0.005755, allocations: 0 / 0.556 GB, free: 15.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004374/0.006192, allocations: 117.6 kB / 0.5561 GB, free: 14.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.006258, allocations: 51.41 kB / 0.5562 GB, free: 14.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.006353, allocations: 101.8 kB / 0.5562 GB, free: 14.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.006383, allocations: 25.7 kB / 0.5563 GB, free: 14.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.006448, allocations: 84.08 kB / 0.5564 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.0065, allocations: 23.83 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.006583, allocations: 33.7 kB / 0.5564 GB, free: 14.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.006839, allocations: 318.8 kB / 0.5567 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.006917, allocations: 19.98 kB / 0.5567 GB, free: 14.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.006988, allocations: 20.42 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.00718, allocations: 60.98 kB / 0.5568 GB, free: 14.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007183, allocations: 7.938 kB / 0.5568 GB, free: 14.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002733/0.007456, allocations: 101.6 kB / 0.5569 GB, free: 14.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.007477, allocations: 4 kB / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.007483, allocations: 0 / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.007503, allocations: 0 / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.007668, allocations: 19.98 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.007674, allocations: 0 / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.007726, allocations: 15.88 kB / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.007737, allocations: 0 / 0.557 GB, free: 13.99 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 0.0002284/0.007966, allocations: 129.8 kB / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.007997, allocations: 7.953 kB / 0.5571 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.008381, allocations: 121.6 kB / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.008385, allocations: 0 / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.008389, allocations: 0 / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.008398, allocations: 3.938 kB / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.008588, allocations: 125.2 kB / 0.5573 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.00859, allocations: 3.938 kB / 0.5573 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.00872, allocations: 23.92 kB / 0.5573 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.008723, allocations: 0 / 0.5573 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.008747, allocations: 8 kB / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008749, allocations: 0 / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.00875, allocations: 0 / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.009056, allocations: 125 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.009076, allocations: 11.89 kB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.009093, allocations: 0 / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.009121, allocations: 0 / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.009181, allocations: 15.92 kB / 0.5575 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.009196, allocations: 4 kB / 0.5575 GB, free: 13.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.742e-05/0.009253, allocations: 75.28 kB / 0.5576 GB, free: 13.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009253, allocations: 0 / 0.5576 GB, free: 13.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.00964, allocations: 23.98 kB / 0.5576 GB, free: 13.26 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.0002538/0.009894, allocations: 107.1 kB / 0.5577 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.01012, allocations: 63.95 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01012, allocations: 0 / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.01022, allocations: 32.47 kB / 0.5578 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01046, allocations: 10.8 kB / 0.5578 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01091, allocations: 158.8 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.523e-05/0.011, allocations: 72.36 kB / 0.558 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.01114, allocations: 39.92 kB / 0.5581 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.01119, allocations: 12.5 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01119, allocations: 4 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Templates: time 0.00482/0.01601, allocations: 0.6008 MB / 0.5587 GB, free: 12.12 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4712272910401225]