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.001429/0.001429, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001555/0.001555, allocations: 161 kB / 24.16 MB, free: 336 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.9416/0.9416, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.916/1.916, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.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.643e-06/1.643e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.123e-05, allocations: 3.516 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001133/0.001155, allocations: 0.6191 MB / 0.7758 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.00136, allocations: 51.8 kB / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.001376, allocations: 0 / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.001408, allocations: 0 / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.001413, allocations: 0 / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.001662, allocations: 27.84 kB / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.001728, allocations: 36.72 kB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.00176, allocations: 0 / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.001792, allocations: 14.86 kB / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.31e-05/0.001815, allocations: 20.52 kB / 0.776 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.001826, allocations: 0 / 0.776 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.001898, allocations: 15.97 kB / 0.776 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.001923, allocations: 13.42 kB / 0.776 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.001944, allocations: 13.94 kB / 0.776 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.002022, allocations: 28.83 kB / 0.776 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.002024, allocations: 0 / 0.776 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002025, allocations: 3.969 kB / 0.776 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.002028, allocations: 4.656 kB / 0.776 GB, free: 4.547 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.0002131/0.002241, allocations: 232.6 kB / 0.7763 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.002269, allocations: 9.344 kB / 0.7763 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.002292, allocations: 8.938 kB / 0.7763 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.457e-05/0.002346, allocations: 115.2 kB / 0.7764 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.002356, allocations: 4.375 kB / 0.7764 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.002368, allocations: 8.375 kB / 0.7764 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.749e-05/0.002446, allocations: 54.22 kB / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.002452, allocations: 192 / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.002458, allocations: 1.594 kB / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.002462, allocations: 384 / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.002525, allocations: 75.19 kB / 0.7765 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.418e-05/0.002609, allocations: 72.94 kB / 0.7766 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.002661, allocations: 46.98 kB / 0.7766 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.002682, allocations: 18.62 kB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.002797, allocations: 31.95 kB / 0.7767 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.002817, allocations: 34.56 kB / 0.7767 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 9.31e-07/0.002817, allocations: 0 / 0.7767 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001095/0.002927, allocations: 71.69 kB / 0.7768 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.002952, allocations: 54.16 kB / 0.7768 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.121e-05/0.002983, allocations: 97.86 kB / 0.7769 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.002992, allocations: 26.47 kB / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/0.003009, allocations: 80.14 kB / 0.777 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.003034, allocations: 31.77 kB / 0.7771 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.003064, allocations: 29.69 kB / 0.7771 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.003136, allocations: 318.8 kB / 0.7774 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.003149, allocations: 4.766 kB / 0.7774 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.00316, allocations: 13.58 kB / 0.7774 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.003206, allocations: 33.19 kB / 0.7774 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.003209, allocations: 4 kB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.796e-05/0.003267, allocations: 59.03 kB / 0.7775 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00328, allocations: 11.5 kB / 0.7775 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.003284, allocations: 0 / 0.7775 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.003295, allocations: 0 / 0.7775 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.003354, allocations: 17.64 kB / 0.7775 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.003357, allocations: 0 / 0.7775 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.00337, allocations: 11.95 kB / 0.7775 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.003375, allocations: 0.5312 kB / 0.7775 GB, free: 2.871 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.308e-05/0.003438, allocations: 129.5 kB / 0.7777 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.003444, allocations: 4.875 kB / 0.7777 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/0.003538, allocations: 91.77 kB / 0.7778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.003541, allocations: 5.438 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.003542, allocations: 0.5469 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.003545, allocations: 0 / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.821e-05/0.003603, allocations: 85.83 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.003604, allocations: 0.6562 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.003638, allocations: 20.97 kB / 0.7779 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.003639, allocations: 0.6875 kB / 0.7779 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.003644, allocations: 5.719 kB / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003645, allocations: 0 / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.003646, allocations: 0 / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.00397, allocations: 101 kB / 0.778 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.003976, allocations: 7.938 kB / 0.778 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-06/0.003983, allocations: 5 kB / 0.778 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.00399, allocations: 4 kB / 0.778 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.004011, allocations: 7.984 kB / 0.778 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.004014, allocations: 1.062 kB / 0.778 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.571e-06/0.00402, allocations: 4.859 kB / 0.778 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/0.00402, allocations: 0 / 0.778 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001062/0.004126, allocations: 20.56 kB / 0.778 GB, free: 2.34 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.00012/0.004246, allocations: 102 kB / 0.7781 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.982e-05/0.004316, allocations: 44.66 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.004318, allocations: 0.6875 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.004342, allocations: 32.78 kB / 0.7782 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.487e-05/0.004386, allocations: 9.797 kB / 0.7782 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.004551, allocations: 123.6 kB / 0.7783 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.46e-05/0.004576, allocations: 59.34 kB / 0.7784 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.004597, allocations: 16.88 kB / 0.7784 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.004631, allocations: 59.36 kB / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of SimCode: time 6.32e-07/0.004632, allocations: 0.5625 kB / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of Templates: time 0.002027/0.006659, allocations: 0.6847 MB / 0.7791 GB, free: 1.195 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.941246873699129]