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.001269/0.001269, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001555/0.001555, allocations: 169.5 kB / 25.05 MB, free: 9.195 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/1, allocations: 177.1 MB / 205.5 MB, free: 5.441 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.948/1.948, allocations: 389.6 MB / 0.6363 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.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.884e-06/1.884e-06, allocations: 0 / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.8e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002326/0.002354, allocations: 1.628 MB / 0.7777 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.00268, allocations: 128.8 kB / 0.7778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.002725, allocations: 0 / 0.7778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.002766, allocations: 3.938 kB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.002821, allocations: 1.312 kB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.003081, allocations: 27.84 kB / 0.7779 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.003165, allocations: 34.94 kB / 0.7779 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.00326, allocations: 8 kB / 0.7779 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.003322, allocations: 16.86 kB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003372, allocations: 16.84 kB / 0.7779 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.003388, allocations: 4 kB / 0.778 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.00348, allocations: 17.91 kB / 0.778 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.003496, allocations: 4.875 kB / 0.778 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.003516, allocations: 9.75 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003638, allocations: 33.53 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003641, allocations: 0.5938 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003642, allocations: 0 / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003646, allocations: 1.266 kB / 0.778 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003099/0.003956, allocations: 240.9 kB / 0.7782 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.003989, allocations: 14.84 kB / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.004016, allocations: 1.484 kB / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.004106, allocations: 113.7 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.004125, allocations: 384 / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.004136, allocations: 5.5 kB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004254, allocations: 58.94 kB / 0.7784 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004261, allocations: 2.062 kB / 0.7784 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004268, allocations: 4.375 kB / 0.7784 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004273, allocations: 384 / 0.7784 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.004299, allocations: 8.719 kB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.004516, allocations: 152.9 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.004667, allocations: 43.12 kB / 0.7786 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.004683, allocations: 12.92 kB / 0.7786 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.317e-05/0.004746, allocations: 4.875 kB / 0.7787 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.004773, allocations: 31.22 kB / 0.7787 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.004774, allocations: 1.438 kB / 0.7787 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.004905, allocations: 49.56 kB / 0.7787 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.00494, allocations: 51.41 kB / 0.7788 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.004995, allocations: 111.5 kB / 0.7789 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005006, allocations: 29.7 kB / 0.7789 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.005037, allocations: 85.58 kB / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.005053, allocations: 7.953 kB / 0.779 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.00508, allocations: 19.42 kB / 0.779 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.005159, allocations: 318.8 kB / 0.7793 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.005169, allocations: 0 / 0.7793 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.005179, allocations: 4.766 kB / 0.7793 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.005211, allocations: 17.66 kB / 0.7793 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005213, allocations: 0 / 0.7793 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.354e-05/0.005267, allocations: 42.12 kB / 0.7794 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005278, allocations: 4 kB / 0.7794 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.005283, allocations: 4.75 kB / 0.7794 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.005293, allocations: 3.938 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.00535, allocations: 13.5 kB / 0.7794 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.005353, allocations: 0.9688 kB / 0.7794 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.005373, allocations: 4 kB / 0.7794 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.005377, allocations: 4 kB / 0.7794 GB, free: 1.793 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 5.645e-05/0.005434, allocations: 114.7 kB / 0.7795 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.005449, allocations: 0.6562 kB / 0.7795 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.005526, allocations: 49.31 kB / 0.7796 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.005529, allocations: 8.531 kB / 0.7796 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.005531, allocations: 5.75 kB / 0.7796 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005534, allocations: 0 / 0.7796 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.571e-05/0.00562, allocations: 65.89 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005622, allocations: 0 / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.005654, allocations: 11.98 kB / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.005655, allocations: 0.6875 kB / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.005659, allocations: 0 / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00566, allocations: 0.9062 kB / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005661, allocations: 0 / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.643e-05/0.005758, allocations: 143.9 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.005767, allocations: 11.94 kB / 0.7798 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.005777, allocations: 5.109 kB / 0.7798 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.005815, allocations: 4 kB / 0.7798 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.005853, allocations: 8.797 kB / 0.7798 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.005857, allocations: 3.938 kB / 0.7798 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.498e-05/0.005872, allocations: 9.281 kB / 0.7798 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 0.5312 kB / 0.7798 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001291/0.006001, allocations: 12.89 kB / 0.7799 GB, free: 1.305 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 0.0001171/0.006119, allocations: 89.48 kB / 0.7799 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.006185, allocations: 16.84 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.006187, allocations: 0.9375 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.006208, allocations: 20.78 kB / 0.78 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.00633, allocations: 5.094 kB / 0.78 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.006529, allocations: 104.7 kB / 0.7801 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.006561, allocations: 64.12 kB / 0.7801 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.006582, allocations: 5.453 kB / 0.7802 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.006624, allocations: 55.38 kB / 0.7802 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.006624, allocations: 0 / 0.7802 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of Templates: time 0.002222/0.008846, allocations: 0.7762 MB / 0.781 GB, free: 160 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.07693447265774]