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.001364/0.001364, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0016/0.0016, allocations: 165 kB / 24.25 MB, free: 212 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 0.9664/0.9664, allocations: 177.2 MB / 204.7 MB, free: 5.418 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.979/1.979, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] 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.332e-06/1.332e-06, allocations: 0 / 0.7754 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.69e-05, allocations: 10.3 kB / 0.7754 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001352/0.001379, allocations: 0.6505 MB / 0.7761 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.001606, allocations: 60.41 kB / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.001631, allocations: 0 / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.001673, allocations: 2.438 kB / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.001681, allocations: 0 / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.001935, allocations: 15.98 kB / 0.7761 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.002009, allocations: 31.95 kB / 0.7762 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.002044, allocations: 4.703 kB / 0.7762 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.002081, allocations: 19.97 kB / 0.7762 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.961e-05/0.0021, allocations: 6.844 kB / 0.7762 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.002115, allocations: 4.656 kB / 0.7762 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.002227, allocations: 23.95 kB / 0.7762 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.002252, allocations: 13.75 kB / 0.7762 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.002274, allocations: 9.078 kB / 0.7762 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.002375, allocations: 36.75 kB / 0.7763 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.002379, allocations: 4.547 kB / 0.7763 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00238, allocations: 0 / 0.7763 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.002385, allocations: 1.125 kB / 0.7763 GB, free: 4.371 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000232/0.002617, allocations: 238 kB / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.002648, allocations: 9.344 kB / 0.7765 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.002675, allocations: 10.66 kB / 0.7765 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.783e-05/0.002733, allocations: 109.7 kB / 0.7766 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.002742, allocations: 384 / 0.7766 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.002752, allocations: 4.375 kB / 0.7766 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.002837, allocations: 58.98 kB / 0.7767 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002843, allocations: 0.9375 kB / 0.7767 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.00285, allocations: 384 / 0.7767 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.002856, allocations: 1.156 kB / 0.7767 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.002921, allocations: 64.59 kB / 0.7768 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.003012, allocations: 87.86 kB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.003068, allocations: 47.36 kB / 0.7769 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.003088, allocations: 17.75 kB / 0.7769 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.003213, allocations: 27.98 kB / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003233, allocations: 35.75 kB / 0.777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.003234, allocations: 0 / 0.777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001251/0.003359, allocations: 67.31 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.003388, allocations: 55.34 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.057e-05/0.003418, allocations: 101.4 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.003428, allocations: 25.7 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.003448, allocations: 84.12 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.00347, allocations: 19.8 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.003503, allocations: 34.34 kB / 0.7773 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.003659, allocations: 326.8 kB / 0.7776 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.003671, allocations: 4 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.003685, allocations: 13.41 kB / 0.7777 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.003737, allocations: 36.38 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003738, allocations: 1.266 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.752e-05/0.003796, allocations: 54.98 kB / 0.7777 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.003809, allocations: 10.81 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.003814, allocations: 5.031 kB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.003823, allocations: 0 / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.003887, allocations: 23.97 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.00389, allocations: 0.6875 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.003904, allocations: 12.94 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.003911, allocations: 5.531 kB / 0.7778 GB, free: 2.684 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: 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 6.974e-05/0.003981, allocations: 124.6 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-06/0.003989, allocations: 4.625 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.004089, allocations: 86.75 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.004092, allocations: 5.578 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004094, allocations: 0 / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004096, allocations: 0 / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.2e-05/0.004158, allocations: 90.09 kB / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004159, allocations: 0.8125 kB / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.004197, allocations: 23.92 kB / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004198, allocations: 0.9375 kB / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.004203, allocations: 0 / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004203, allocations: 0 / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.004205, allocations: 4.5 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.004277, allocations: 97.83 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.004282, allocations: 7.953 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-06/0.004289, allocations: 1 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.004297, allocations: 8 kB / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.00432, allocations: 3.984 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.004326, allocations: 5.469 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.044e-05/0.004336, allocations: 4.859 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004336, allocations: 0 / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001068/0.004443, allocations: 16 kB / 0.7783 GB, free: 2.16 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: 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.0001435/0.004586, allocations: 93.47 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.691e-05/0.004663, allocations: 53.7 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.004665, allocations: 0 / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.004686, allocations: 25.97 kB / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.222e-05/0.004739, allocations: 14.78 kB / 0.7784 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.004928, allocations: 128.8 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.004956, allocations: 59.34 kB / 0.7786 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.004981, allocations: 17.03 kB / 0.7786 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.005016, allocations: 59.36 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.005017, allocations: 0.9375 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of Templates: time 0.002124/0.007141, allocations: 0.6834 MB / 0.7794 GB, free: 1.016 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: 5.067499317228794]