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.0009384/0.0009384, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.0009297/0.0009297, allocations: 169.3 kB / 24.25 MB, free: 308 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 0.9738/0.9738, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6321/0.6321, allocations: 115 MB / 376 MB, free: 7.66 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.473e-06/1.473e-06, allocations: 0 / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.335e-05, allocations: 4.984 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001022/0.001045, allocations: 0.606 MB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.001246, allocations: 45.86 kB / 482.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.001263, allocations: 0 / 482.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.001277, allocations: 0 / 482.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.001283, allocations: 0 / 482.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.001488, allocations: 17.17 kB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.001532, allocations: 5.094 kB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.001568, allocations: 3.281 kB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.001593, allocations: 0 / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.861e-05/0.001611, allocations: 6.906 kB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.001623, allocations: 0 / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.001691, allocations: 8.281 kB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.0017, allocations: 4.547 kB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.304e-05/0.001713, allocations: 2.75 kB / 482.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.92e-05/0.001793, allocations: 15.48 kB / 482.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.001794, allocations: 0.5625 kB / 482.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.001795, allocations: 0.625 kB / 482.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.001799, allocations: 0 / 482.3 MB, free: 11.47 MB / 410.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.0001927/0.001991, allocations: 348.1 kB / 482.6 MB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.00203, allocations: 6.688 kB / 482.6 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.002063, allocations: 2.938 kB / 482.6 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.396e-05/0.002107, allocations: 106.3 kB / 482.7 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.002118, allocations: 3.094 kB / 482.7 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.002125, allocations: 4.312 kB / 482.7 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.002198, allocations: 37.12 kB / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-06/0.002203, allocations: 192 / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.002211, allocations: 3.5 kB / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.002218, allocations: 384 / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.002239, allocations: 6.406 kB / 482.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.158e-05/0.00232, allocations: 112.3 kB / 482.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.00236, allocations: 32.47 kB / 482.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.002375, allocations: 13.16 kB / 482.9 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.002491, allocations: 7.938 kB / 482.9 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.002504, allocations: 36.11 kB / 483 MB, free: 10.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.002504, allocations: 2.156 kB / 483 MB, free: 10.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.002617, allocations: 41.31 kB / 483 MB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.002636, allocations: 52.19 kB / 483.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.023e-05/0.002656, allocations: 146.8 kB / 483.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-06/0.00266, allocations: 25.7 kB / 483.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.002825, allocations: 130 kB / 483.4 MB, free: 26.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.002839, allocations: 0 / 483.4 MB, free: 26.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.00286, allocations: 22.62 kB / 483.4 MB, free: 26.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.002951, allocations: 496.8 kB / 483.9 MB, free: 25.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.002963, allocations: 10.09 kB / 483.9 MB, free: 25.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.00297, allocations: 2.812 kB / 483.9 MB, free: 25.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.003002, allocations: 16.62 kB / 483.9 MB, free: 25.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/0.003004, allocations: 0 / 483.9 MB, free: 25.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.826e-05/0.003042, allocations: 37.64 kB / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.003051, allocations: 9.125 kB / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.003055, allocations: 3.094 kB / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.003066, allocations: 0 / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.00311, allocations: 7.938 kB / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.003115, allocations: 0 / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.787e-06/0.003124, allocations: 3.938 kB / 484 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.003128, allocations: 7.562 kB / 484 MB, free: 25.69 MB / 426.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.812e-05/0.003176, allocations: 152.6 kB / 484.1 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.00318, allocations: 2.031 kB / 484.1 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.003234, allocations: 43.16 kB / 484.2 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.003235, allocations: 0.6562 kB / 484.2 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.003238, allocations: 1.406 kB / 484.2 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.00324, allocations: 1.938 kB / 484.2 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.585e-05/0.003276, allocations: 124.2 kB / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003277, allocations: 0 / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.003286, allocations: 6.094 kB / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.003287, allocations: 0 / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.003294, allocations: 1.844 kB / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.003294, allocations: 0 / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.003295, allocations: 0.6562 kB / 484.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.227e-05/0.003337, allocations: 83.67 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-06/0.003342, allocations: 6.875 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.00335, allocations: 0 / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-06/0.003354, allocations: 0 / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.003379, allocations: 6.875 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.003381, allocations: 2.469 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.821e-05/0.003409, allocations: 123.2 kB / 484.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003409, allocations: 0 / 484.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.003528, allocations: 4.062 kB / 484.5 MB, free: 25.12 MB / 426.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 9.392e-05/0.003621, allocations: 101.8 kB / 484.6 MB, free: 25.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.068e-05/0.003682, allocations: 22.73 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.003683, allocations: 1.344 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.003693, allocations: 14.56 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.729e-05/0.00378, allocations: 3.938 kB / 484.7 MB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001534/0.003933, allocations: 89.19 kB / 484.8 MB, free: 24.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.678e-05/0.00395, allocations: 52.89 kB / 484.8 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.368e-06/0.00396, allocations: 2.438 kB / 484.8 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.003973, allocations: 10.31 kB / 484.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of SimCode: time 4.6e-07/0.003973, allocations: 2.344 kB / 484.8 MB, free: 24.82 MB / 426.7 MB Notification: Performance of Templates: time 0.001693/0.005666, allocations: 355 kB / 485.2 MB, free: 24.77 MB / 426.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.648209589999169]