Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.001044/0.001044, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001297/0.001297, allocations: 165 kB / 24.25 MB, free: 208 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.004/1.004, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.848/1.848, allocations: 389.6 MB / 0.6355 GB, free: 12.24 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.217e-05, allocations: 2.969 kB / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001737/0.001749, allocations: 1.635 MB / 0.777 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.002006, allocations: 128.3 kB / 0.7771 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.002038, allocations: 0 / 0.7771 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.002067, allocations: 3.938 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.002105, allocations: 1.641 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.002282, allocations: 24.95 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.002338, allocations: 32.52 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.002408, allocations: 12.86 kB / 0.7772 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.00245, allocations: 16.64 kB / 0.7772 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.002489, allocations: 18.06 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.002501, allocations: 4 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.002572, allocations: 16 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.002584, allocations: 6.219 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.002598, allocations: 9.562 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.126e-05/0.002679, allocations: 37.47 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002681, allocations: 1.5 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.31e-07/0.002681, allocations: 0 / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.002684, allocations: 1.094 kB / 0.7773 GB, free: 3.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002375/0.002922, allocations: 241 kB / 0.7775 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.002951, allocations: 10.16 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.002971, allocations: 4.938 kB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.689e-05/0.003038, allocations: 106.2 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.003053, allocations: 9.562 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.003061, allocations: 384 / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.894e-05/0.00315, allocations: 58.94 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003157, allocations: 2.5 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.003163, allocations: 384 / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.003167, allocations: 384 / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.003191, allocations: 20.8 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.003356, allocations: 148.3 kB / 0.7778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.003472, allocations: 39.48 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.003489, allocations: 8.859 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.003537, allocations: 9.484 kB / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.003553, allocations: 30.56 kB / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.003553, allocations: 0 / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 8.79e-05/0.003641, allocations: 50.81 kB / 0.778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.003667, allocations: 51.41 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.368e-05/0.003711, allocations: 115.3 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.003719, allocations: 25.7 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.003746, allocations: 86.64 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.003758, allocations: 3.953 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.003779, allocations: 13.72 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.003899, allocations: 322.8 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.003907, allocations: 1.031 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.003915, allocations: 4 kB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.00394, allocations: 21.25 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.003941, allocations: 1.328 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.829e-05/0.003979, allocations: 49.47 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.003988, allocations: 8 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.003991, allocations: 48 / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.004, allocations: 7.922 kB / 0.7786 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.539e-05/0.004036, allocations: 7.984 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.00404, allocations: 4 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.004055, allocations: 0.7656 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.004058, allocations: 0 / 0.7787 GB, free: 1.766 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 (rea2Int.y,fac.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.393e-05/0.004102, allocations: 109.8 kB / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.004113, allocations: 2.781 kB / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.00417, allocations: 53.3 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004171, allocations: 7.938 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004173, allocations: 0 / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004175, allocations: 0.6562 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.869e-05/0.004244, allocations: 65.89 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004245, allocations: 0 / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.004266, allocations: 9.156 kB / 0.7789 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.004267, allocations: 0 / 0.7789 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.004272, allocations: 3.984 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.004272, allocations: 2.016 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004273, allocations: 4 kB / 0.7789 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.965e-05/0.004332, allocations: 143.4 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-06/0.004337, allocations: 8.812 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.004343, allocations: 0 / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.004372, allocations: 4 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.004407, allocations: 4.859 kB / 0.7791 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.004411, allocations: 8.922 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.017e-06/0.00442, allocations: 13.41 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004421, allocations: 1.594 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001155/0.004536, allocations: 11.95 kB / 0.7791 GB, free: 1.281 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.y,rea2Int.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 7.707e-05/0.004613, allocations: 80.42 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.143e-05/0.004665, allocations: 18.06 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004666, allocations: 0.6562 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.004682, allocations: 16.8 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.004788, allocations: 12.77 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.004952, allocations: 101.7 kB / 0.7793 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.004978, allocations: 59.3 kB / 0.7794 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.004997, allocations: 5.859 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.005035, allocations: 63.36 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.005035, allocations: 0.5 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of Templates: time 0.001879/0.006914, allocations: 0.7688 MB / 0.7802 GB, free: 144 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.785677087493241]