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.0009579/0.0009579, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001141/0.001141, allocations: 170.6 kB / 25.05 MB, free: 9.203 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.021/1.021, allocations: 177.1 MB / 205.5 MB, free: 5.434 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.937/1.937, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.393e-06/1.393e-06, allocations: 0 / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.378e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00227/0.002293, allocations: 1.639 MB / 0.7777 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.002583, allocations: 148.5 kB / 0.7779 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.002614, allocations: 0 / 0.7779 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.002648, allocations: 3.938 kB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.002693, allocations: 5.141 kB / 0.7779 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.002925, allocations: 35.83 kB / 0.7779 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.002988, allocations: 38.7 kB / 0.778 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.003059, allocations: 13.41 kB / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.003096, allocations: 22.22 kB / 0.778 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.003128, allocations: 13.62 kB / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.003142, allocations: 4 kB / 0.778 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.003237, allocations: 23.97 kB / 0.778 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.003251, allocations: 16.59 kB / 0.7781 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.003264, allocations: 4.984 kB / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.952e-05/0.003364, allocations: 42.28 kB / 0.7781 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003365, allocations: 0 / 0.7781 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003366, allocations: 0 / 0.7781 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003369, allocations: 0 / 0.7781 GB, free: 3.312 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.0002589/0.003628, allocations: 249.7 kB / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.003658, allocations: 13.16 kB / 0.7783 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.003683, allocations: 8.938 kB / 0.7784 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.003762, allocations: 114.5 kB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.003777, allocations: 384 / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.003786, allocations: 4.375 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.003886, allocations: 62.94 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003892, allocations: 192 / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.003898, allocations: 384 / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.003903, allocations: 1.031 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.52e-05/0.003928, allocations: 15.92 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.004125, allocations: 168.6 kB / 0.7787 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.004256, allocations: 35.53 kB / 0.7787 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.004271, allocations: 14.16 kB / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.004341, allocations: 19.98 kB / 0.7788 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.004359, allocations: 35.11 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.00436, allocations: 0.8125 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001032/0.004464, allocations: 53.55 kB / 0.7789 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.004486, allocations: 52.81 kB / 0.7789 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/0.004531, allocations: 106.7 kB / 0.779 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.004541, allocations: 30.69 kB / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.004569, allocations: 88.08 kB / 0.7791 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.004581, allocations: 4.484 kB / 0.7791 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.004605, allocations: 19.28 kB / 0.7791 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.00467, allocations: 318.8 kB / 0.7794 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.004679, allocations: 1.719 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.004687, allocations: 4 kB / 0.7795 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.004711, allocations: 16.84 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004712, allocations: 0 / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.761e-05/0.00476, allocations: 49.62 kB / 0.7795 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.004769, allocations: 6.25 kB / 0.7795 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004774, allocations: 3.938 kB / 0.7795 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.004781, allocations: 0 / 0.7795 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.004821, allocations: 8 kB / 0.7795 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.004824, allocations: 4.578 kB / 0.7795 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.00484, allocations: 1.156 kB / 0.7795 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.004843, allocations: 7.938 kB / 0.7795 GB, free: 1.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: 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 4.801e-05/0.004891, allocations: 105.8 kB / 0.7796 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.004906, allocations: 5.312 kB / 0.7797 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.004975, allocations: 57.48 kB / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004976, allocations: 0 / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.004978, allocations: 4.688 kB / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.00498, allocations: 1.344 kB / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.005057, allocations: 73.88 kB / 0.7798 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005059, allocations: 0 / 0.7798 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.005088, allocations: 8 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005089, allocations: 1.125 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.005094, allocations: 3.984 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005094, allocations: 0 / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.005096, allocations: 5 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.726e-05/0.005163, allocations: 135.9 kB / 0.7799 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.005168, allocations: 0 / 0.7799 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-06/0.005175, allocations: 8.609 kB / 0.7799 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.005206, allocations: 4.516 kB / 0.7799 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.005241, allocations: 15.92 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.005243, allocations: 0.6875 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.174e-05/0.005255, allocations: 14.41 kB / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005255, allocations: 0 / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001235/0.005378, allocations: 15.89 kB / 0.78 GB, free: 1.191 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 8.936e-05/0.005468, allocations: 85.53 kB / 0.7801 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.822e-05/0.005526, allocations: 16.84 kB / 0.7801 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.005528, allocations: 0 / 0.7801 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.005547, allocations: 21.69 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.00566, allocations: 10.5 kB / 0.7801 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.005847, allocations: 121.5 kB / 0.7802 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.005876, allocations: 60.56 kB / 0.7803 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.005895, allocations: 5.141 kB / 0.7803 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.005935, allocations: 55.38 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.005936, allocations: 0 / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of Templates: time 0.002033/0.007968, allocations: 0.7963 MB / 0.7811 GB, free: 4 kB / 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: 5.016738733276725]