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.00101/0.00101, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.00176/0.00176, allocations: 160 kB / 24.96 MB, free: 8.645 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 0.9938/0.9938, allocations: 177.1 MB / 205.4 MB, free: 5.469 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.062/2.062, allocations: 389.6 MB / 0.6362 GB, free: 12.26 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.483e-06/1.483e-06, allocations: 0 / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.724e-05, allocations: 2.875 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002818/0.002835, allocations: 1.643 MB / 0.7776 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.003192, allocations: 120.5 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.003234, allocations: 4 kB / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.003262, allocations: 3.938 kB / 0.7777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.003311, allocations: 5.297 kB / 0.7777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.003538, allocations: 23.86 kB / 0.7777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.00362, allocations: 31.88 kB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.003709, allocations: 11.97 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.00376, allocations: 20.75 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.003801, allocations: 9.188 kB / 0.7778 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003815, allocations: 4 kB / 0.7778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.003886, allocations: 12.77 kB / 0.7778 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.003899, allocations: 18.09 kB / 0.7778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.003916, allocations: 9.531 kB / 0.7778 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.168e-05/0.004008, allocations: 33.09 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004009, allocations: 0 / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.52e-07/0.00401, allocations: 1.719 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004014, allocations: 0.875 kB / 0.7779 GB, free: 3.438 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.0002542/0.004268, allocations: 233 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.004299, allocations: 13.34 kB / 0.7781 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.00432, allocations: 1.75 kB / 0.7781 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.004387, allocations: 113.7 kB / 0.7782 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.004401, allocations: 0.875 kB / 0.7782 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.004407, allocations: 6.219 kB / 0.7782 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.004501, allocations: 58.94 kB / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.004507, allocations: 2.75 kB / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.004513, allocations: 384 / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004518, allocations: 4.375 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.004542, allocations: 11.92 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.004734, allocations: 152.3 kB / 0.7784 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.004862, allocations: 41.25 kB / 0.7785 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.004878, allocations: 8.844 kB / 0.7785 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.00493, allocations: 8.047 kB / 0.7785 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.004948, allocations: 39.44 kB / 0.7785 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.004949, allocations: 0 / 0.7785 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 9.474e-05/0.005044, allocations: 49.56 kB / 0.7786 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.005063, allocations: 51.41 kB / 0.7786 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.005113, allocations: 113.1 kB / 0.7787 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.005123, allocations: 25.7 kB / 0.7788 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.00515, allocations: 85.12 kB / 0.7789 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.005163, allocations: 3.953 kB / 0.7789 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.005189, allocations: 21.7 kB / 0.7789 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.005259, allocations: 314.8 kB / 0.7792 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.005268, allocations: 4 kB / 0.7792 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.005276, allocations: 4.625 kB / 0.7792 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.005299, allocations: 13.97 kB / 0.7792 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.0053, allocations: 0 / 0.7792 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.142e-05/0.005342, allocations: 45.62 kB / 0.7792 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.005352, allocations: 5.266 kB / 0.7792 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.005355, allocations: 0 / 0.7792 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.005365, allocations: 0.7812 kB / 0.7792 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.005409, allocations: 19.92 kB / 0.7793 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.005412, allocations: 0.625 kB / 0.7793 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.855e-05/0.00543, allocations: 5.641 kB / 0.7793 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.005434, allocations: 0 / 0.7793 GB, free: 1.867 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.152e-05/0.005485, allocations: 115.3 kB / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.005497, allocations: 0 / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.005562, allocations: 45.36 kB / 0.7794 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005564, allocations: 0.6562 kB / 0.7794 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.005566, allocations: 3.938 kB / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.005572, allocations: 14.23 kB / 0.7794 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.00558, allocations: 4 kB / 0.7794 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.005614, allocations: 3.984 kB / 0.7794 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.005655, allocations: 8.547 kB / 0.7795 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.787e-05/0.005713, allocations: 125.8 kB / 0.7796 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001541/0.005867, allocations: 218.7 kB / 0.7798 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.414e-05/0.005891, allocations: 9.766 kB / 0.7798 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.967e-06/0.0059, allocations: 13.83 kB / 0.7798 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of Backend: time 1.2e-07/0.0059, allocations: 1.75 kB / 0.7798 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.006084, allocations: 76.36 kB / 0.7799 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0002872/0.006371, allocations: 0.603 MB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of Templates: time 0.0022/0.008572, allocations: 0.8842 MB / 0.7813 GB, free: 15.71 MB / 0.7448 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.042603150010109]