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.0008797/0.0008797, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.00197, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007497/0.0007497, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001753, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9796/0.9796, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08638/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.91/1.91, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5064/2.416, allocations: 127.1 MB / 0.7432 GB, free: 4.605 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.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.724e-06/1.724e-06, allocations: 0 / 0.7445 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.716e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003175/0.003202, allocations: 1.65 MB / 0.7461 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.003487, allocations: 132.7 kB / 0.7462 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.00352, allocations: 0.5312 kB / 0.7462 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.003547, allocations: 3.938 kB / 0.7462 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.003582, allocations: 10.58 kB / 0.7462 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.003815, allocations: 27.91 kB / 0.7463 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003922, allocations: 44.88 kB / 0.7463 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.004007, allocations: 7.984 kB / 0.7463 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.00408, allocations: 29.66 kB / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.004147, allocations: 13.3 kB / 0.7464 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.004168, allocations: 4 kB / 0.7464 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.004298, allocations: 24.84 kB / 0.7464 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.004316, allocations: 8.984 kB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.004334, allocations: 5.531 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.004462, allocations: 39.88 kB / 0.7464 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.004475, allocations: 0 / 0.7464 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004476, allocations: 4.922 kB / 0.7464 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.00449, allocations: 0 / 0.7464 GB, free: 1.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003794/0.00487, allocations: 252.6 kB / 0.7467 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.004908, allocations: 8.031 kB / 0.7467 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.004936, allocations: 4.938 kB / 0.7467 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.005018, allocations: 114.5 kB / 0.7468 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.005038, allocations: 384 / 0.7468 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.005057, allocations: 8.312 kB / 0.7468 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.005182, allocations: 62.94 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005189, allocations: 192 / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.005197, allocations: 3.312 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005203, allocations: 1.25 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.005233, allocations: 15.92 kB / 0.7469 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.005469, allocations: 164.2 kB / 0.747 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.005611, allocations: 38.56 kB / 0.7471 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.005628, allocations: 12.86 kB / 0.7471 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.005713, allocations: 15.48 kB / 0.7471 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.005737, allocations: 42.53 kB / 0.7471 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.005739, allocations: 0 / 0.7471 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001084/0.005847, allocations: 54.22 kB / 0.7472 GB, free: 472 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.005877, allocations: 51.41 kB / 0.7472 GB, free: 408 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.005934, allocations: 102.7 kB / 0.7473 GB, free: 292 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.005944, allocations: 29.7 kB / 0.7474 GB, free: 256 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.005981, allocations: 88.73 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.006005, allocations: 3.953 kB / 0.7475 GB, free: 160 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.006033, allocations: 26.44 kB / 0.7475 GB, free: 132 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.006129, allocations: 318.8 kB / 0.7478 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.00614, allocations: 0 / 0.7478 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.006149, allocations: 4 kB / 0.7478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.006178, allocations: 16.84 kB / 0.7478 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00618, allocations: 0 / 0.7478 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.277e-05/0.006233, allocations: 45.62 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.006248, allocations: 6.5 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006254, allocations: 3.938 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.006261, allocations: 2.625 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.006321, allocations: 12.23 kB / 0.7479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.006324, allocations: 0.5469 kB / 0.7479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.006345, allocations: 8 kB / 0.7479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.006349, allocations: 0 / 0.7479 GB, free: 15.71 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 6.252e-05/0.006412, allocations: 109.8 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.006427, allocations: 5.625 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.00651, allocations: 50.06 kB / 0.748 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006512, allocations: 3.938 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.006513, allocations: 0 / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006517, allocations: 1.156 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.92e-05/0.006606, allocations: 81.81 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006607, allocations: 0 / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.006636, allocations: 12.98 kB / 0.7481 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.006641, allocations: 0.6562 kB / 0.7481 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006644, allocations: 4 kB / 0.7481 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.006647, allocations: 0.5938 kB / 0.7481 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.006649, allocations: 4.438 kB / 0.7481 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006651, allocations: 4.578 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.91e-05/0.00673, allocations: 131.9 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.006739, allocations: 2.266 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.00677, allocations: 7.984 kB / 0.7483 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.006809, allocations: 11.92 kB / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006812, allocations: 0 / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.155e-05/0.006823, allocations: 13.42 kB / 0.7483 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006823, allocations: 0.625 kB / 0.7483 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001356/0.006959, allocations: 15.95 kB / 0.7483 GB, free: 15.21 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.0001075/0.007066, allocations: 94.12 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.007131, allocations: 16.86 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.007135, allocations: 1.219 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.007156, allocations: 16.84 kB / 0.7485 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.007292, allocations: 8.125 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.00764, allocations: 125.4 kB / 0.7486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.007676, allocations: 55.36 kB / 0.7486 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.0077, allocations: 6.469 kB / 0.7486 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.007743, allocations: 63.3 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.007744, allocations: 0 / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.002293/0.01004, allocations: 0.8078 MB / 0.7495 GB, free: 14.01 MB / 0.7292 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.966132145375013]