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.001466/0.001466, allocations: 80.94 kB / 21.54 MB, free: 2.949 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.001293/0.001293, allocations: 157.7 kB / 24.96 MB, free: 8.121 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.067/1.067, allocations: 177.1 MB / 205.4 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.902/1.902, allocations: 389.6 MB / 0.6362 GB, free: 12.27 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 2.104e-06/2.104e-06, allocations: 1.203 kB / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.264e-05, allocations: 2.312 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002383/0.002406, allocations: 1.641 MB / 0.7776 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.002713, allocations: 148.5 kB / 0.7777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.00275, allocations: 0 / 0.7777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.002779, allocations: 0 / 0.7777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.002833, allocations: 9.234 kB / 0.7777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.003087, allocations: 31.84 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.003177, allocations: 37 kB / 0.7778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.003249, allocations: 8.875 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.003291, allocations: 24.84 kB / 0.7778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.003328, allocations: 13.84 kB / 0.7778 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.003342, allocations: 4 kB / 0.7778 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.003433, allocations: 27.73 kB / 0.7779 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.003446, allocations: 9.969 kB / 0.7779 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.003463, allocations: 12.53 kB / 0.7779 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003567, allocations: 42.5 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003568, allocations: 0 / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00357, allocations: 0 / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.003573, allocations: 4.766 kB / 0.7779 GB, free: 3.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002765/0.003849, allocations: 244.9 kB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003881, allocations: 9.344 kB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.003906, allocations: 12.45 kB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.003986, allocations: 113.7 kB / 0.7783 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.004003, allocations: 4.375 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.00401, allocations: 4.375 kB / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004118, allocations: 62.94 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004126, allocations: 192 / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004132, allocations: 1.141 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004137, allocations: 1.562 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.004162, allocations: 15.92 kB / 0.7784 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.004379, allocations: 168.2 kB / 0.7785 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.004505, allocations: 31.72 kB / 0.7786 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.004518, allocations: 8.859 kB / 0.7786 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.004598, allocations: 21.05 kB / 0.7786 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.004613, allocations: 38.5 kB / 0.7786 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.004616, allocations: 4.578 kB / 0.7786 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001037/0.004719, allocations: 49.56 kB / 0.7787 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.00474, allocations: 52.12 kB / 0.7787 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/0.004787, allocations: 102.7 kB / 0.7788 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004795, allocations: 31.2 kB / 0.7789 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.004827, allocations: 92.08 kB / 0.779 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.004839, allocations: 3.953 kB / 0.779 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.004862, allocations: 17.7 kB / 0.779 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.00493, allocations: 319.7 kB / 0.7793 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.004941, allocations: 4 kB / 0.7793 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.004948, allocations: 1.188 kB / 0.7793 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.004975, allocations: 20.78 kB / 0.7793 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.004977, allocations: 0 / 0.7793 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.917e-05/0.005026, allocations: 42.91 kB / 0.7793 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.005038, allocations: 4 kB / 0.7793 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005043, allocations: 3.938 kB / 0.7793 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.005053, allocations: 0.9375 kB / 0.7794 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.005099, allocations: 11.98 kB / 0.7794 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005101, allocations: 0.5 kB / 0.7794 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.00512, allocations: 8.875 kB / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.005123, allocations: 0 / 0.7794 GB, free: 1.75 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 5.271e-05/0.005176, allocations: 111.3 kB / 0.7795 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.005189, allocations: 4 kB / 0.7795 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.005262, allocations: 53.25 kB / 0.7795 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005264, allocations: 0.625 kB / 0.7795 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005266, allocations: 0 / 0.7795 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.005269, allocations: 4.672 kB / 0.7795 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.005352, allocations: 73.83 kB / 0.7796 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005353, allocations: 1.969 kB / 0.7796 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.005382, allocations: 19.92 kB / 0.7796 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005384, allocations: 0 / 0.7796 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.005388, allocations: 0 / 0.7796 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005389, allocations: 1.062 kB / 0.7796 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.00539, allocations: 3.938 kB / 0.7796 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.989e-05/0.00546, allocations: 135.5 kB / 0.7798 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.005468, allocations: 8.969 kB / 0.7798 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.005476, allocations: 0 / 0.7798 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.005507, allocations: 5.219 kB / 0.7798 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.005545, allocations: 11.92 kB / 0.7798 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.005548, allocations: 0 / 0.7798 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.145e-05/0.005559, allocations: 9.734 kB / 0.7798 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005559, allocations: 0 / 0.7798 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00013/0.005689, allocations: 16.83 kB / 0.7798 GB, free: 1.258 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.0001023/0.005792, allocations: 88.95 kB / 0.7799 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.012e-05/0.005862, allocations: 18.47 kB / 0.7799 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.005865, allocations: 4 kB / 0.7799 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.005883, allocations: 12.8 kB / 0.7799 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.006004, allocations: 13.5 kB / 0.7799 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.006215, allocations: 125.7 kB / 0.7801 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.006245, allocations: 55.36 kB / 0.7801 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.006265, allocations: 5.859 kB / 0.7801 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.006307, allocations: 63.36 kB / 0.7802 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.006307, allocations: 0 / 0.7802 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of Templates: time 0.002229/0.008537, allocations: 0.7955 MB / 0.781 GB, free: 64 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.165686745196581]