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.0009773/0.0009773, 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.0009857/0.0009857, allocations: 161 kB / 24.17 MB, free: 332 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.9725/0.9725, allocations: 177.2 MB / 204.6 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.975/1.975, allocations: 389.6 MB / 0.6354 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.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.032e-06/1.032e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.245e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001795/0.001808, allocations: 1.58 MB / 0.7767 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.002055, allocations: 132.4 kB / 0.7768 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.002081, allocations: 0 / 0.7768 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.002101, allocations: 3.984 kB / 0.7768 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.002137, allocations: 8.812 kB / 0.7768 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.0023, allocations: 20.8 kB / 0.7769 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.002352, allocations: 28.25 kB / 0.7769 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.002409, allocations: 19.97 kB / 0.7769 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.002452, allocations: 12.77 kB / 0.7769 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.00249, allocations: 17.02 kB / 0.7769 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.002501, allocations: 4 kB / 0.7769 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.626e-05/0.002548, allocations: 11.98 kB / 0.777 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.002563, allocations: 8.969 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.002578, allocations: 8.859 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.00266, allocations: 37.25 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002661, allocations: 0.875 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002662, allocations: 0 / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.002665, allocations: 7.969 kB / 0.777 GB, free: 3.504 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.0002324/0.002897, allocations: 229 kB / 0.7772 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.002923, allocations: 13.34 kB / 0.7772 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.876e-05/0.002941, allocations: 4.922 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.961e-05/0.003001, allocations: 111 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.003013, allocations: 384 / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.003023, allocations: 8.375 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.785e-05/0.003111, allocations: 54.94 kB / 0.7774 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-06/0.003116, allocations: 192 / 0.7774 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.003122, allocations: 384 / 0.7774 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.003128, allocations: 7.938 kB / 0.7774 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.003151, allocations: 15.88 kB / 0.7774 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.003332, allocations: 152.3 kB / 0.7776 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.003462, allocations: 34.62 kB / 0.7776 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.003476, allocations: 8.859 kB / 0.7776 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.003522, allocations: 4 kB / 0.7776 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.003541, allocations: 43.58 kB / 0.7777 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.003542, allocations: 0 / 0.7777 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 8.615e-05/0.003628, allocations: 48.38 kB / 0.7777 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.003652, allocations: 51.41 kB / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.0037, allocations: 110.7 kB / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.003709, allocations: 25.7 kB / 0.7779 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.003737, allocations: 88.12 kB / 0.778 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.003748, allocations: 3.953 kB / 0.778 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.003771, allocations: 18.69 kB / 0.778 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.003837, allocations: 312.2 kB / 0.7783 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.003847, allocations: 7.984 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.003856, allocations: 4 kB / 0.7783 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.003878, allocations: 18.41 kB / 0.7783 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.003879, allocations: 0 / 0.7783 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.237e-05/0.003922, allocations: 49.72 kB / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/0.003931, allocations: 5 kB / 0.7784 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.003934, allocations: 0 / 0.7784 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.003945, allocations: 8.484 kB / 0.7784 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.003984, allocations: 8.594 kB / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.003986, allocations: 0.5312 kB / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.004003, allocations: 7.984 kB / 0.7784 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.004006, allocations: 0.9375 kB / 0.7784 GB, free: 1.934 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.937e-05/0.004056, allocations: 111.4 kB / 0.7785 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.004068, allocations: 4 kB / 0.7785 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.004131, allocations: 50.8 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.004134, allocations: 3.938 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004135, allocations: 0 / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.004138, allocations: 0 / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.468e-05/0.004212, allocations: 70.55 kB / 0.7786 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004213, allocations: 0.7656 kB / 0.7786 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.004235, allocations: 8.672 kB / 0.7786 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.004238, allocations: 4 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.004242, allocations: 1.719 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004243, allocations: 0 / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004244, allocations: 0 / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.012e-05/0.004304, allocations: 139.4 kB / 0.7788 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.004312, allocations: 13.97 kB / 0.7788 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.004319, allocations: 4 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.004347, allocations: 0 / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.004378, allocations: 8.547 kB / 0.7788 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004381, allocations: 5.125 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.019e-05/0.004392, allocations: 12.86 kB / 0.7788 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004392, allocations: 0 / 0.7788 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001148/0.004506, allocations: 11.95 kB / 0.7788 GB, free: 1.449 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 8.667e-05/0.004593, allocations: 86.42 kB / 0.7789 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.802e-05/0.004641, allocations: 21.67 kB / 0.7789 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.004643, allocations: 0 / 0.7789 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.004658, allocations: 16.84 kB / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.847e-05/0.004757, allocations: 9.328 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.004919, allocations: 102.5 kB / 0.7791 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.058e-05/0.00495, allocations: 63.28 kB / 0.7791 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.004969, allocations: 9.469 kB / 0.7791 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.005005, allocations: 55.38 kB / 0.7792 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.005005, allocations: 0.5 kB / 0.7792 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of Templates: time 0.001882/0.006887, allocations: 0.7753 MB / 0.7799 GB, free: 308 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: 5.018450289964676]