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.000861/0.000861, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.0008701/0.0008701, allocations: 161.7 kB / 24.96 MB, free: 9.145 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.9849/0.9849, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.956/1.956, allocations: 389.6 MB / 0.6362 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.312e-06/1.312e-06, allocations: 0 / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.395e-05, allocations: 2.312 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002087/0.002111, allocations: 1.635 MB / 0.7776 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.002406, allocations: 124.4 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.002439, allocations: 0 / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.002469, allocations: 5.438 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.002518, allocations: 2.297 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.002716, allocations: 27.84 kB / 0.7777 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.002783, allocations: 28.41 kB / 0.7777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.002858, allocations: 9.516 kB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.00291, allocations: 24.5 kB / 0.7778 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.002951, allocations: 10.55 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.002965, allocations: 4 kB / 0.7778 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.502e-05/0.00304, allocations: 16 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.003059, allocations: 9.859 kB / 0.7778 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003076, allocations: 13.84 kB / 0.7778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.003175, allocations: 29.22 kB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003177, allocations: 0.9375 kB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003178, allocations: 0 / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.003181, allocations: 0 / 0.7779 GB, free: 3.449 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.0002814/0.003462, allocations: 238.8 kB / 0.7781 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.003496, allocations: 13.34 kB / 0.7781 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.003519, allocations: 1.625 kB / 0.7781 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.003604, allocations: 113.7 kB / 0.7782 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.00362, allocations: 4.969 kB / 0.7782 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.003626, allocations: 2.156 kB / 0.7782 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.00373, allocations: 59.59 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003736, allocations: 4.188 kB / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003742, allocations: 384 / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003748, allocations: 384 / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.003771, allocations: 12.64 kB / 0.7783 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.004142, allocations: 160.8 kB / 0.7784 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.00427, allocations: 35 kB / 0.7785 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.004284, allocations: 8.859 kB / 0.7785 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.004343, allocations: 12.05 kB / 0.7785 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.004358, allocations: 30.56 kB / 0.7785 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.00436, allocations: 0 / 0.7785 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001054/0.004465, allocations: 53.69 kB / 0.7786 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.004489, allocations: 52.61 kB / 0.7786 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.004547, allocations: 110.6 kB / 0.7787 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.004558, allocations: 29.7 kB / 0.7788 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.004586, allocations: 83.11 kB / 0.7788 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.0046, allocations: 3.953 kB / 0.7788 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.004624, allocations: 17.72 kB / 0.7789 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.004696, allocations: 322.8 kB / 0.7792 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.004705, allocations: 0 / 0.7792 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.004715, allocations: 8 kB / 0.7792 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.004741, allocations: 17.39 kB / 0.7792 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.004743, allocations: 0 / 0.7792 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.679e-05/0.00479, allocations: 42.47 kB / 0.7792 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.004803, allocations: 10.19 kB / 0.7792 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-06/0.004807, allocations: 0.5938 kB / 0.7792 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.00482, allocations: 5.984 kB / 0.7792 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.004869, allocations: 7.984 kB / 0.7793 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.004871, allocations: 0 / 0.7793 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.004889, allocations: 4 kB / 0.7793 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004893, allocations: 1.344 kB / 0.7793 GB, free: 1.875 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 6.157e-05/0.004955, allocations: 113.8 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.004968, allocations: 0.6562 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.365e-05/0.005051, allocations: 49.95 kB / 0.7794 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.005057, allocations: 9 kB / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.005059, allocations: 0 / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005061, allocations: 0 / 0.7794 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.005154, allocations: 78.38 kB / 0.7795 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.005155, allocations: 0.5312 kB / 0.7795 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.005187, allocations: 9.703 kB / 0.7795 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.005188, allocations: 0 / 0.7795 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005193, allocations: 3.984 kB / 0.7795 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005195, allocations: 0.5 kB / 0.7795 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005196, allocations: 0.875 kB / 0.7795 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.2e-05/0.005268, allocations: 135.5 kB / 0.7796 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.005275, allocations: 9.719 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.005283, allocations: 1.125 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.977e-05/0.005313, allocations: 4 kB / 0.7797 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.005348, allocations: 11.92 kB / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.005352, allocations: 3.938 kB / 0.7797 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.116e-05/0.005364, allocations: 18.36 kB / 0.7797 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005364, allocations: 0 / 0.7797 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001208/0.005484, allocations: 12.39 kB / 0.7797 GB, free: 1.383 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.0001006/0.005585, allocations: 89.2 kB / 0.7798 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.43e-05/0.005649, allocations: 17.72 kB / 0.7798 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.005652, allocations: 0 / 0.7798 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.00567, allocations: 12.86 kB / 0.7798 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.005788, allocations: 14.45 kB / 0.7798 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.005995, allocations: 109.7 kB / 0.7799 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.006027, allocations: 60.23 kB / 0.78 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.00605, allocations: 8.891 kB / 0.78 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.006091, allocations: 55.36 kB / 0.7801 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.006091, allocations: 4.875 kB / 0.7801 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of Templates: time 0.002184/0.008275, allocations: 0.759 MB / 0.7808 GB, free: 244 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.986553816124797]