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.000999/0.000999, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001102/0.001102, allocations: 161 kB / 24.16 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 1.057/1.057, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 2.111/2.111, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.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.503e-06/1.503e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.084e-05, allocations: 8.25 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002535/0.002566, allocations: 1.629 MB / 0.7768 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003533/0.002919, allocations: 128.2 kB / 0.7769 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.002952, allocations: 0 / 0.7769 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.002981, allocations: 0 / 0.7769 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.003034, allocations: 6.109 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.003263, allocations: 24.78 kB / 0.7769 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/0.003335, allocations: 33.36 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.003413, allocations: 7.984 kB / 0.777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.003474, allocations: 13.62 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.003532, allocations: 19.59 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003547, allocations: 4 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.003632, allocations: 16 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.003651, allocations: 9.625 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.003667, allocations: 4.766 kB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.003779, allocations: 41.47 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.003782, allocations: 0 / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.824e-06/0.003783, allocations: 0 / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.003788, allocations: 4.391 kB / 0.7771 GB, free: 3.465 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.0002898/0.004078, allocations: 237 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.004113, allocations: 9.344 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.004141, allocations: 8.938 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.004219, allocations: 109.7 kB / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.004235, allocations: 1.031 kB / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.004243, allocations: 4.359 kB / 0.7774 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.004361, allocations: 62.94 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004367, allocations: 0.9062 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.004373, allocations: 384 / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004378, allocations: 5 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.004407, allocations: 16.58 kB / 0.7775 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.004656, allocations: 152.8 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.0048, allocations: 31.44 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.004815, allocations: 8.859 kB / 0.7777 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.163e-05/0.004876, allocations: 9.297 kB / 0.7777 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.004898, allocations: 34.5 kB / 0.7777 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004899, allocations: 4.766 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001132/0.005012, allocations: 46.41 kB / 0.7778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.005045, allocations: 56.81 kB / 0.7778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.005103, allocations: 110.6 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005112, allocations: 25.7 kB / 0.778 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.005143, allocations: 80.8 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.005158, allocations: 8.484 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.005187, allocations: 17.72 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.00527, allocations: 319.7 kB / 0.7784 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.005283, allocations: 4 kB / 0.7784 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.005292, allocations: 5.625 kB / 0.7784 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.005322, allocations: 17.39 kB / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005324, allocations: 0 / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.615e-05/0.00538, allocations: 41.69 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.005396, allocations: 6.375 kB / 0.7785 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.005402, allocations: 1.594 kB / 0.7785 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005413, allocations: 7.875 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.005473, allocations: 11.98 kB / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005476, allocations: 0 / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.005497, allocations: 4.562 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.005501, allocations: 0 / 0.7785 GB, free: 1.891 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.639e-05/0.005557, allocations: 111.1 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.005576, allocations: 8.516 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.005659, allocations: 54.75 kB / 0.7786 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.005662, allocations: 3.938 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.005664, allocations: 0 / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005666, allocations: 0 / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.462e-05/0.005751, allocations: 78.47 kB / 0.7787 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005751, allocations: 1.344 kB / 0.7787 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.005782, allocations: 4 kB / 0.7787 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.005786, allocations: 3.984 kB / 0.7787 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-06/0.00579, allocations: 4 kB / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005791, allocations: 0.625 kB / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005792, allocations: 1.125 kB / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.626e-05/0.005868, allocations: 143.4 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.005875, allocations: 3.938 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005883, allocations: 1.062 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.00592, allocations: 7.984 kB / 0.7789 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.005959, allocations: 8 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.005963, allocations: 4.438 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.339e-05/0.005976, allocations: 13.53 kB / 0.7789 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005976, allocations: 0 / 0.7789 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001295/0.006105, allocations: 9.641 kB / 0.7789 GB, free: 1.398 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.0001107/0.006216, allocations: 80.42 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.006275, allocations: 20.78 kB / 0.779 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.006278, allocations: 1.094 kB / 0.779 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.006297, allocations: 12.86 kB / 0.779 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.006437, allocations: 13.11 kB / 0.779 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.006652, allocations: 108.7 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.006687, allocations: 64.48 kB / 0.7792 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.006711, allocations: 9.047 kB / 0.7792 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.006758, allocations: 55.36 kB / 0.7793 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.006759, allocations: 0 / 0.7793 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of Templates: time 0.00251/0.009269, allocations: 0.7646 MB / 0.78 GB, free: 260 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.196039970032871]