Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006798/0.0006798, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009179/0.001598, allocations: 449.8 kB / 10.44 MB, free: 252 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.001004/0.001004, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009472/0.001951, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.018/1.018, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08581/1.103, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.907/1.907, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4753/2.382, allocations: 127.1 MB / 0.7435 GB, free: 4.531 MB / 0.7136 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7449 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.82e-05, allocations: 4.141 kB / 0.7449 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001305/0.001333, allocations: 0.6492 MB / 0.7455 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.001442, allocations: 58.7 kB / 0.7455 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.001457, allocations: 0 / 0.7455 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.001477, allocations: 3.984 kB / 0.7456 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.122e-06/0.001478, allocations: 0 / 0.7456 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.001649, allocations: 24.41 kB / 0.7456 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.001737, allocations: 37.02 kB / 0.7456 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.001774, allocations: 0.9062 kB / 0.7456 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.001819, allocations: 16.64 kB / 0.7456 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.625e-05/0.001845, allocations: 15.22 kB / 0.7456 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.001863, allocations: 0 / 0.7456 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.001973, allocations: 23.97 kB / 0.7457 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.001999, allocations: 5.859 kB / 0.7457 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.002022, allocations: 9.312 kB / 0.7457 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.002121, allocations: 33.86 kB / 0.7457 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.002133, allocations: 1.203 kB / 0.7457 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002134, allocations: 0.7812 kB / 0.7457 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.002148, allocations: 0 / 0.7457 GB, free: 2.324 MB / 0.7136 GB 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.0002894/0.002437, allocations: 245.3 kB / 0.7459 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.002466, allocations: 8.031 kB / 0.746 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.002497, allocations: 11.38 kB / 0.746 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.42e-05/0.002561, allocations: 113.7 kB / 0.7461 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.002571, allocations: 384 / 0.7461 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.002584, allocations: 8.922 kB / 0.7461 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.002678, allocations: 55.53 kB / 0.7461 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.002686, allocations: 4.172 kB / 0.7461 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.002692, allocations: 384 / 0.7461 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.002698, allocations: 3.25 kB / 0.7461 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.002767, allocations: 79.69 kB / 0.7462 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.284e-05/0.00286, allocations: 72.7 kB / 0.7463 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.607e-05/0.002916, allocations: 43.53 kB / 0.7463 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.002936, allocations: 20.84 kB / 0.7463 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.003073, allocations: 23.98 kB / 0.7464 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003093, allocations: 31.22 kB / 0.7464 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.003094, allocations: 3.031 kB / 0.7464 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001183/0.003212, allocations: 71.03 kB / 0.7465 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.003236, allocations: 56.28 kB / 0.7465 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.249e-05/0.003269, allocations: 93.86 kB / 0.7466 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.003279, allocations: 25.7 kB / 0.7466 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.907e-05/0.003298, allocations: 80.14 kB / 0.7467 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.003329, allocations: 27.77 kB / 0.7467 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.003358, allocations: 33.69 kB / 0.7468 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.003435, allocations: 324.9 kB / 0.7471 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.003446, allocations: 4 kB / 0.7471 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.00346, allocations: 12.86 kB / 0.7471 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.00351, allocations: 37.62 kB / 0.7471 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.003514, allocations: 3.984 kB / 0.7471 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.427e-05/0.003568, allocations: 51.44 kB / 0.7472 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.003581, allocations: 9.531 kB / 0.7472 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.003585, allocations: 0 / 0.7472 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.003596, allocations: 1.219 kB / 0.7472 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.003671, allocations: 19.98 kB / 0.7472 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.003676, allocations: 5.234 kB / 0.7472 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.003691, allocations: 11.95 kB / 0.7472 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.003696, allocations: 0 / 0.7472 GB, free: 0.6328 MB / 0.7136 GB 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.671e-05/0.003772, allocations: 125.9 kB / 0.7474 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.003779, allocations: 4.984 kB / 0.7474 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.003881, allocations: 91.23 kB / 0.7474 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.003883, allocations: 4 kB / 0.7475 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.003885, allocations: 0.5938 kB / 0.7475 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.003887, allocations: 1.219 kB / 0.7475 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.054e-05/0.003948, allocations: 86.47 kB / 0.7475 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003949, allocations: 0 / 0.7475 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.00399, allocations: 24.86 kB / 0.7476 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.003996, allocations: 3.953 kB / 0.7476 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.003998, allocations: 4 kB / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.004002, allocations: 1.781 kB / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004003, allocations: 0 / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004004, allocations: 0.6562 kB / 0.7476 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.356e-05/0.004077, allocations: 98.52 kB / 0.7477 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.004085, allocations: 1.562 kB / 0.7477 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.004093, allocations: 8 kB / 0.7477 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.004118, allocations: 7.969 kB / 0.7477 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.004121, allocations: 4.766 kB / 0.7477 GB, free: 140 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.388e-06/0.004131, allocations: 9.5 kB / 0.7477 GB, free: 128 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.004131, allocations: 0 / 0.7477 GB, free: 128 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001024/0.004233, allocations: 24.97 kB / 0.7477 GB, free: 104 kB / 0.7136 GB 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.0001171/0.00435, allocations: 94.16 kB / 0.7478 GB, free: 4 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.004435, allocations: 39.95 kB / 0.7478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.004439, allocations: 5.094 kB / 0.7478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.004465, allocations: 25.83 kB / 0.7479 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.871e-05/0.004523, allocations: 22.53 kB / 0.7479 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.004715, allocations: 136.2 kB / 0.748 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.004739, allocations: 55.36 kB / 0.7481 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.004765, allocations: 19.22 kB / 0.7481 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.004802, allocations: 59.36 kB / 0.7482 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.004802, allocations: 0 / 0.7482 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.001971/0.006773, allocations: 0.7076 MB / 0.7488 GB, free: 14.93 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.839285711757839]