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.001496/0.001496, 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.00181/0.00181, 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 1.035/1.035, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.997/1.997, allocations: 389.6 MB / 0.6355 GB, free: 12.29 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.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.974e-06/1.974e-06, allocations: 0 / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.919e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001181/0.0012, allocations: 0.6622 MB / 0.7761 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.001432, allocations: 48.78 kB / 0.7761 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.001452, allocations: 0 / 0.7761 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.001469, allocations: 0 / 0.7761 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.001476, allocations: 0.5 kB / 0.7761 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.00169, allocations: 12.92 kB / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.001745, allocations: 5.703 kB / 0.7761 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.001792, allocations: 7.984 kB / 0.7761 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.001825, allocations: 0 / 0.7761 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.001846, allocations: 1.094 kB / 0.7761 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.001861, allocations: 0.8438 kB / 0.7761 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.001975, allocations: 19.92 kB / 0.7762 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.001984, allocations: 0 / 0.7762 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.045e-05/0.001995, allocations: 0.5625 kB / 0.7762 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.218e-05/0.002067, allocations: 16.41 kB / 0.7762 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00207, allocations: 3.984 kB / 0.7762 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.82e-07/0.002071, allocations: 0 / 0.7762 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.002074, allocations: 4 kB / 0.7762 GB, free: 4.48 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.0001922/0.002266, allocations: 204.8 kB / 0.7764 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.002301, allocations: 10.44 kB / 0.7764 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.002323, allocations: 4.938 kB / 0.7764 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.752e-05/0.00238, allocations: 105.8 kB / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.00239, allocations: 384 / 0.7765 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.0024, allocations: 7.125 kB / 0.7765 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.002466, allocations: 34.2 kB / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.002473, allocations: 192 / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.002479, allocations: 384 / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.002484, allocations: 384 / 0.7765 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.002503, allocations: 11.92 kB / 0.7765 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.82e-05/0.002581, allocations: 57.7 kB / 0.7766 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.576e-05/0.002617, allocations: 24.34 kB / 0.7766 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.002629, allocations: 5.75 kB / 0.7766 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.00273, allocations: 8.062 kB / 0.7766 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.002752, allocations: 43.55 kB / 0.7767 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.002754, allocations: 0 / 0.7767 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.247e-05/0.002846, allocations: 35.17 kB / 0.7767 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.00288, allocations: 51.41 kB / 0.7768 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.002914, allocations: 89.86 kB / 0.7768 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.002924, allocations: 26.23 kB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.823e-05/0.002942, allocations: 81.08 kB / 0.7769 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.002962, allocations: 12.23 kB / 0.777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.002984, allocations: 15.23 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.003061, allocations: 322.8 kB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-06/0.003068, allocations: 0 / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.003072, allocations: 1.438 kB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.003098, allocations: 16.8 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0031, allocations: 0.6562 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.24e-05/0.003132, allocations: 38.56 kB / 0.7773 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.003144, allocations: 8.688 kB / 0.7773 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.003148, allocations: 0.9375 kB / 0.7773 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.003156, allocations: 0 / 0.7773 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.003192, allocations: 4 kB / 0.7773 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.003195, allocations: 0.7812 kB / 0.7773 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-06/0.003204, allocations: 0 / 0.7773 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.003208, allocations: 4.859 kB / 0.7774 GB, free: 3.145 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 5.102e-05/0.003259, allocations: 110.8 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.003263, allocations: 4.75 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.003317, allocations: 45.44 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.003319, allocations: 0 / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.003321, allocations: 1.875 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.003323, allocations: 0 / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.014e-05/0.003373, allocations: 69.84 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.003374, allocations: 0 / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.003385, allocations: 8 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.003386, allocations: 2.281 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-06/0.003389, allocations: 0 / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003389, allocations: 0.7188 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.003391, allocations: 3.984 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.226e-05/0.003433, allocations: 65.95 kB / 0.7776 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-06/0.003437, allocations: 0 / 0.7776 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.003444, allocations: 4.922 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-06/0.003448, allocations: 0 / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.00347, allocations: 7.984 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.003471, allocations: 1 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.292e-06/0.003477, allocations: 4.859 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003477, allocations: 0.8438 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of remove unused functions: time 9.018e-05/0.003567, allocations: 4 kB / 0.7777 GB, free: 2.773 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.489e-05/0.003662, allocations: 90.97 kB / 0.7778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.957e-05/0.003712, allocations: 8.859 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.003713, allocations: 0 / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.003727, allocations: 13.77 kB / 0.7778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.204e-05/0.003779, allocations: 12.81 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/0.003933, allocations: 84.84 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.634e-05/0.003959, allocations: 51.36 kB / 0.7779 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.003971, allocations: 1.75 kB / 0.7779 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.004, allocations: 55.38 kB / 0.778 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/0.004, allocations: 0 / 0.778 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of Templates: time 0.00191/0.00591, allocations: 375.5 kB / 0.7783 GB, free: 2.055 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: 5.0893161194399]