Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.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.000982/0.000982, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001078/0.001078, allocations: 166.2 kB / 24.97 MB, free: 9.129 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 0.9504/0.9504, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.978/1.978, allocations: 389.6 MB / 0.6362 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.776 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.591e-05, allocations: 2.312 kB / 0.776 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001186/0.001202, allocations: 0.6738 MB / 0.7767 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.001393, allocations: 42.72 kB / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.001408, allocations: 0 / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.00142, allocations: 0 / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-06/0.001426, allocations: 3.938 kB / 0.7767 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.001607, allocations: 13.08 kB / 0.7767 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.001645, allocations: 0 / 0.7767 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.001679, allocations: 7.984 kB / 0.7767 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.575e-05/0.001705, allocations: 3.984 kB / 0.7768 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.001723, allocations: 5.203 kB / 0.7768 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.001734, allocations: 7.344 kB / 0.7768 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.001822, allocations: 11.94 kB / 0.7768 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.001832, allocations: 3.984 kB / 0.7768 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.023e-05/0.001843, allocations: 0.6562 kB / 0.7768 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.684e-05/0.001909, allocations: 8.75 kB / 0.7768 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.001914, allocations: 4 kB / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001914, allocations: 0 / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.001917, allocations: 0 / 0.7768 GB, free: 4.551 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001706/0.002088, allocations: 213.6 kB / 0.777 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.002119, allocations: 12.09 kB / 0.777 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.002141, allocations: 8.875 kB / 0.777 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.002195, allocations: 101.8 kB / 0.7771 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.002208, allocations: 384 / 0.7771 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.002215, allocations: 384 / 0.7771 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.495e-05/0.00228, allocations: 34.25 kB / 0.7771 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.002286, allocations: 192 / 0.7771 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.002291, allocations: 2.875 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.002295, allocations: 384 / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.002311, allocations: 7.938 kB / 0.7772 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.63e-05/0.002377, allocations: 65.03 kB / 0.7772 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.277e-05/0.00241, allocations: 23.08 kB / 0.7772 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.002421, allocations: 6.688 kB / 0.7772 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.002506, allocations: 4.062 kB / 0.7773 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.002523, allocations: 34.56 kB / 0.7773 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.002524, allocations: 2.406 kB / 0.7773 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 7.688e-05/0.002601, allocations: 39.12 kB / 0.7773 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.002621, allocations: 55.34 kB / 0.7774 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.707e-05/0.002648, allocations: 93.84 kB / 0.7775 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.002656, allocations: 25.7 kB / 0.7775 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.841e-05/0.002674, allocations: 84.8 kB / 0.7776 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.002694, allocations: 8.234 kB / 0.7776 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.002712, allocations: 14.41 kB / 0.7776 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.002778, allocations: 324.5 kB / 0.7779 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.002782, allocations: 0 / 0.7779 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.002787, allocations: 0 / 0.7779 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.002809, allocations: 8.859 kB / 0.7779 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.00281, allocations: 4.969 kB / 0.7779 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.122e-05/0.002842, allocations: 33.69 kB / 0.7779 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.002852, allocations: 9.625 kB / 0.778 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.002856, allocations: 4 kB / 0.778 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.002865, allocations: 4 kB / 0.778 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.002901, allocations: 0.6562 kB / 0.778 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.002905, allocations: 4.875 kB / 0.778 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-06/0.002913, allocations: 0 / 0.778 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.002916, allocations: 0.875 kB / 0.778 GB, free: 3.211 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.475e-05/0.002961, allocations: 114.5 kB / 0.7781 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.002966, allocations: 8.688 kB / 0.7781 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.003014, allocations: 34.67 kB / 0.7781 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003016, allocations: 0 / 0.7781 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.003017, allocations: 0 / 0.7781 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.003023, allocations: 11.98 kB / 0.7781 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-06/0.003029, allocations: 0 / 0.7781 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-06/0.003035, allocations: 5.469 kB / 0.7781 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.003052, allocations: 0 / 0.7781 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.967e-05/0.003092, allocations: 121.5 kB / 0.7783 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.215e-05/0.003164, allocations: 203.9 kB / 0.7784 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.77e-05/0.003182, allocations: 8.844 kB / 0.7785 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.053e-06/0.003189, allocations: 13.61 kB / 0.7785 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of Backend: time 2.21e-07/0.003189, allocations: 0.875 kB / 0.7785 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.003368, allocations: 65.38 kB / 0.7785 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0002406/0.003609, allocations: 0.5719 MB / 0.7791 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of Templates: time 0.001612/0.00522, allocations: 415.3 kB / 0.7795 GB, free: 1.582 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.879858775064349]