Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.001036/0.001036, allocations: 84.75 kB / 20.83 MB, free: 3.625 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.001221/0.001221, allocations: 169 kB / 24.25 MB, free: 204 kB / 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.017/1.017, allocations: 177.1 MB / 204.7 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.854/1.854, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.425e-05, allocations: 3.406 kB / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002856/0.00288, allocations: 1.642 MB / 0.777 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.003206, allocations: 140.7 kB / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.003247, allocations: 0 / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.003281, allocations: 3.938 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.89e-05/0.00333, allocations: 10.22 kB / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.003601, allocations: 35 kB / 0.7772 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.003674, allocations: 37.34 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.003757, allocations: 15.97 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.003797, allocations: 17.52 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.003835, allocations: 13.52 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.003848, allocations: 4 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.003944, allocations: 27.95 kB / 0.7773 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.003957, allocations: 8.984 kB / 0.7773 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.003973, allocations: 12.92 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.004081, allocations: 38.28 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004084, allocations: 0 / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004085, allocations: 0 / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004089, allocations: 0 / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003082/0.004397, allocations: 249.7 kB / 0.7776 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.00443, allocations: 9.344 kB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.004459, allocations: 8.938 kB / 0.7776 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/0.00454, allocations: 118.3 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.004557, allocations: 4.125 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004567, allocations: 4.375 kB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.004678, allocations: 58.94 kB / 0.7778 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004685, allocations: 4.188 kB / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.004693, allocations: 1.031 kB / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.004698, allocations: 384 / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.004725, allocations: 23.89 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.004948, allocations: 160.2 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.005079, allocations: 35.19 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.005097, allocations: 16.64 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.005176, allocations: 12.75 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.005197, allocations: 38.55 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.005199, allocations: 0 / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001064/0.005305, allocations: 53.55 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.00533, allocations: 51.41 kB / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.005383, allocations: 106.7 kB / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005392, allocations: 29.69 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.005425, allocations: 89.3 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.005437, allocations: 3.953 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.005463, allocations: 20.45 kB / 0.7784 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.005536, allocations: 322.8 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.005548, allocations: 0 / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.005557, allocations: 7.938 kB / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.005585, allocations: 16.84 kB / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005587, allocations: 0 / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.07e-05/0.005637, allocations: 45.62 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.005649, allocations: 5.188 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.005654, allocations: 3.938 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.005661, allocations: 0 / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.005713, allocations: 12.52 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.005715, allocations: 0.9375 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.005732, allocations: 256 / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005737, allocations: 4 kB / 0.7788 GB, free: 1.652 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.115e-05/0.005788, allocations: 107.2 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.005802, allocations: 8 kB / 0.7789 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.00588, allocations: 58.7 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005881, allocations: 0 / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.005883, allocations: 0 / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005885, allocations: 0 / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/0.005967, allocations: 78.44 kB / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005968, allocations: 0 / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.006001, allocations: 12.67 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.006003, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.006007, allocations: 1.719 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006008, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006009, allocations: 3.938 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.797e-05/0.006077, allocations: 135.5 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.006083, allocations: 1.062 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.00609, allocations: 7.938 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.006122, allocations: 3.984 kB / 0.7792 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.006154, allocations: 13.58 kB / 0.7792 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.006158, allocations: 3.984 kB / 0.7792 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.888e-06/0.006168, allocations: 8.859 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006168, allocations: 0.875 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001233/0.006291, allocations: 11.95 kB / 0.7792 GB, free: 1.164 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001105/0.006401, allocations: 93.25 kB / 0.7793 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.308e-05/0.006464, allocations: 13.42 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.006468, allocations: 7.938 kB / 0.7793 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.006489, allocations: 22.41 kB / 0.7793 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.006611, allocations: 10.59 kB / 0.7794 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.006816, allocations: 121.7 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.006846, allocations: 59.34 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.006867, allocations: 0.8125 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.006908, allocations: 56.44 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.006908, allocations: 0 / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of Templates: time 0.002305/0.009214, allocations: 0.8005 MB / 0.7804 GB, free: 15.96 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.849210606887937]