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.0006415/0.0006415, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008394/0.001481, allocations: 447.8 kB / 10.34 MB, free: 352 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.0006624/0.0006624, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008235/0.001486, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9528/0.9528, allocations: 177.2 MB / 189.6 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1835/1.136, allocations: 53.65 MB / 243.2 MB, free: 2.348 MB / 234.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.6451/0.6451, allocations: 119.1 MB / 363.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06899/0.7141, allocations: 37.86 MB / 400.9 MB, free: 15.28 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.303e-06/1.303e-06, allocations: 0 / 402.3 MB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.783e-05, allocations: 2.312 kB / 402.3 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001063/0.001081, allocations: 0.6459 MB / 402.9 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 9.102e-05/0.001172, allocations: 55.8 kB / 403 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-06/0.001181, allocations: 0 / 403 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.778e-06/0.001185, allocations: 0 / 403 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.81e-07/0.001186, allocations: 4 kB / 403 MB, free: 13.22 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.932e-05/0.001275, allocations: 15.92 kB / 403 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.001319, allocations: 7.938 kB / 403 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.001352, allocations: 0 / 403 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.001385, allocations: 4 kB / 403 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.001404, allocations: 0 / 403 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.001416, allocations: 0 / 403 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.001504, allocations: 11.97 kB / 403 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-06/0.001511, allocations: 4 kB / 403 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.032e-05/0.001521, allocations: 7.938 kB / 403 MB, free: 13.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 7.351e-05/0.001595, allocations: 11.92 kB / 403.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.001608, allocations: 4 kB / 403.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.001608, allocations: 0 / 403.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.001621, allocations: 4 kB / 403.1 MB, free: 13.15 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.0002227/0.001844, allocations: 208.8 kB / 403.3 MB, free: 12.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.001874, allocations: 11.89 kB / 403.3 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.001902, allocations: 0.9375 kB / 403.3 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.256e-05/0.001955, allocations: 109.8 kB / 403.4 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.001963, allocations: 4.375 kB / 403.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.00197, allocations: 384 / 403.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.924e-05/0.002039, allocations: 34.27 kB / 403.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.002045, allocations: 4.188 kB / 403.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.00205, allocations: 384 / 403.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.002053, allocations: 384 / 403.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.002079, allocations: 15.86 kB / 403.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.212e-05/0.002151, allocations: 53.05 kB / 403.5 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.153e-05/0.002192, allocations: 26.59 kB / 403.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.002204, allocations: 4.859 kB / 403.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.002316, allocations: 8.047 kB / 403.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.002335, allocations: 30.56 kB / 403.6 MB, free: 12.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.002336, allocations: 0 / 403.6 MB, free: 12.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 8.203e-05/0.002418, allocations: 45.64 kB / 403.6 MB, free: 12.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.002447, allocations: 51.41 kB / 403.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.035e-05/0.002477, allocations: 97.81 kB / 403.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.002488, allocations: 25.7 kB / 403.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.002506, allocations: 80.14 kB / 403.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.002522, allocations: 7.922 kB / 403.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.002542, allocations: 13.72 kB / 403.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.002616, allocations: 314.8 kB / 404.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.002624, allocations: 4 kB / 404.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.00263, allocations: 128 / 404.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.002655, allocations: 24.83 kB / 404.2 MB, free: 11.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.002657, allocations: 0 / 404.2 MB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.564e-05/0.002693, allocations: 37.64 kB / 404.2 MB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.002704, allocations: 4 kB / 404.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.002709, allocations: 0 / 404.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.002715, allocations: 0 / 404.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.002765, allocations: 7.984 kB / 404.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.002768, allocations: 0 / 404.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.00278, allocations: 7.984 kB / 404.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.002783, allocations: 4.031 kB / 404.3 MB, free: 11.79 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 5.123e-05/0.002835, allocations: 113.8 kB / 404.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-06/0.002838, allocations: 0 / 404.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.0029, allocations: 44.78 kB / 404.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.002902, allocations: 0 / 404.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.002903, allocations: 0 / 404.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.002905, allocations: 0 / 404.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.124e-05/0.002957, allocations: 65.84 kB / 404.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.002957, allocations: 0 / 404.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.002972, allocations: 4 kB / 404.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.002977, allocations: 8.016 kB / 404.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.002977, allocations: 0 / 404.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-06/0.002982, allocations: 4 kB / 404.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.002983, allocations: 4 kB / 404.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.002985, allocations: 4 kB / 404.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.308e-05/0.003028, allocations: 61.06 kB / 404.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-06/0.003035, allocations: 0 / 404.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-06/0.00304, allocations: 0 / 404.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.003057, allocations: 3.938 kB / 404.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.003059, allocations: 0 / 404.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.16e-06/0.003064, allocations: 8.859 kB / 404.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003064, allocations: 4.031 kB / 404.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 9.651e-05/0.00316, allocations: 4 kB / 404.6 MB, free: 11.4 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 9.307e-05/0.003253, allocations: 80.41 kB / 404.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.502e-05/0.003298, allocations: 20.8 kB / 404.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.003301, allocations: 0 / 404.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.003314, allocations: 8.859 kB / 404.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.959e-05/0.003363, allocations: 10.42 kB / 404.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/0.003503, allocations: 95.75 kB / 404.8 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.416e-05/0.003528, allocations: 51.36 kB / 404.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.083e-05/0.003538, allocations: 3.984 kB / 404.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.003567, allocations: 51.38 kB / 404.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.003567, allocations: 0 / 404.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of Templates: time 0.001723/0.00529, allocations: 376.5 kB / 405.3 MB, free: 10.66 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.1901163291186094]