Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.0009697/0.0009697, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002412, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001081/0.001081, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002615, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9702/0.9702, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09525/1.065, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6218/0.6218, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06888/0.6906, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.398e-05, allocations: 6.25 kB / 403.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0009603/0.0009743, allocations: 0.6462 MB / 404.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 8.028e-05/0.001055, allocations: 47.81 kB / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-06/0.001064, allocations: 0 / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-06/0.001066, allocations: 0 / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-07/0.001067, allocations: 0 / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.21e-05/0.001149, allocations: 19.86 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.777e-05/0.001187, allocations: 7.984 kB / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.001218, allocations: 0 / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.001249, allocations: 4 kB / 404.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.001269, allocations: 0 / 404.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.00128, allocations: 0 / 404.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.001355, allocations: 11.98 kB / 404.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.001367, allocations: 15.94 kB / 404.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-06/0.001375, allocations: 0 / 404.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 6.846e-05/0.001444, allocations: 7.984 kB / 404.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.001453, allocations: 0 / 404.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001453, allocations: 0 / 404.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.00146, allocations: 0 / 404.5 MB, free: 10.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002357/0.001695, allocations: 216.8 kB / 404.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.001722, allocations: 8.031 kB / 404.8 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.001745, allocations: 4.922 kB / 404.8 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.101e-05/0.001796, allocations: 105.8 kB / 404.9 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.001803, allocations: 4.375 kB / 404.9 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.00181, allocations: 384 / 404.9 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.237e-05/0.001873, allocations: 38.2 kB / 404.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-06/0.001877, allocations: 192 / 404.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-06/0.001882, allocations: 384 / 404.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.001885, allocations: 384 / 404.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.001905, allocations: 11.92 kB / 404.9 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.439e-05/0.001969, allocations: 53.05 kB / 405 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.455e-05/0.002004, allocations: 18.61 kB / 405 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-06/0.002013, allocations: 8.922 kB / 405 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.209e-05/0.002105, allocations: 15.92 kB / 405 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.002121, allocations: 34.5 kB / 405.1 MB, free: 9.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.002121, allocations: 0 / 405.1 MB, free: 9.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 7.696e-05/0.002198, allocations: 37.7 kB / 405.1 MB, free: 9.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.00222, allocations: 51.41 kB / 405.1 MB, free: 9.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.477e-05/0.002245, allocations: 89.86 kB / 405.2 MB, free: 9.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.002254, allocations: 29.7 kB / 405.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.596e-05/0.00227, allocations: 84.12 kB / 405.3 MB, free: 9.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.002289, allocations: 7.891 kB / 405.3 MB, free: 9.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.002307, allocations: 17.7 kB / 405.4 MB, free: 9.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.002373, allocations: 318.9 kB / 405.7 MB, free: 8.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.002377, allocations: 0 / 405.7 MB, free: 8.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.002384, allocations: 7.938 kB / 405.7 MB, free: 8.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.065e-05/0.002404, allocations: 12.84 kB / 405.7 MB, free: 8.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002406, allocations: 0 / 405.7 MB, free: 8.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.99e-05/0.002436, allocations: 33.7 kB / 405.7 MB, free: 8.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.002452, allocations: 4 kB / 405.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.002455, allocations: 0 / 405.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.002464, allocations: 0 / 405.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.002503, allocations: 12.08 kB / 405.7 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.002506, allocations: 0 / 405.7 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-06/0.002514, allocations: 4 kB / 405.7 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.002518, allocations: 4 kB / 405.8 MB, free: 8.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.098e-05/0.002559, allocations: 113.7 kB / 405.9 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-06/0.002561, allocations: 0 / 405.9 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.002608, allocations: 40.84 kB / 405.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.002609, allocations: 0 / 405.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.002611, allocations: 0 / 405.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.002613, allocations: 0 / 405.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.944e-05/0.002653, allocations: 69.88 kB / 406 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.002653, allocations: 0 / 406 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.002662, allocations: 4 kB / 406 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.002668, allocations: 11.97 kB / 406 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.002668, allocations: 0 / 406 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.002672, allocations: 4 kB / 406 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.002672, allocations: 0 / 406 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.002673, allocations: 3.938 kB / 406 MB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.999e-05/0.002713, allocations: 72.98 kB / 406.1 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-06/0.002719, allocations: 0 / 406.1 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-06/0.002723, allocations: 4.031 kB / 406.1 MB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.00274, allocations: 0 / 406.1 MB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.002741, allocations: 0 / 406.1 MB, free: 8.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.613e-06/0.002748, allocations: 8.859 kB / 406.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002748, allocations: 0 / 406.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 8.67e-05/0.002835, allocations: 4 kB / 406.1 MB, free: 8.363 MB / 394.7 MB 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.213e-05/0.002917, allocations: 80.41 kB / 406.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.376e-05/0.002961, allocations: 16.86 kB / 406.2 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.002963, allocations: 0 / 406.2 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.002976, allocations: 20.88 kB / 406.2 MB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.55e-05/0.003022, allocations: 7.938 kB / 406.2 MB, free: 8.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001269/0.003149, allocations: 83.77 kB / 406.3 MB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.522e-05/0.003174, allocations: 55.34 kB / 406.3 MB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.838e-06/0.003184, allocations: 4 kB / 406.3 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.003207, allocations: 47.38 kB / 406.4 MB, free: 7.992 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.003208, allocations: 4 kB / 406.4 MB, free: 7.988 MB / 394.7 MB Notification: Performance of Templates: time 0.001445/0.004653, allocations: 389.7 kB / 406.8 MB, free: 7.609 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.214390605688095]