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.002022/0.002022, allocations: 88.17 kB / 20.21 MB, free: 4.211 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.002201/0.002201, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 1.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.16/1.16, allocations: 115 MB / 375.3 MB, free: 7.578 MB / 346.7 MB " [Timeout remaining time 178] 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 2.645e-06/2.645e-06, allocations: 0.875 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.17e-05, allocations: 5.188 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001533/0.001564, allocations: 0.5914 MB / 481.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.001799, allocations: 44.64 kB / 481.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.001819, allocations: 3.938 kB / 481.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.001833, allocations: 0.9062 kB / 481.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.00184, allocations: 3.938 kB / 481.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.002082, allocations: 15.06 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.002125, allocations: 2 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.002172, allocations: 2.875 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.002204, allocations: 4.109 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.002237, allocations: 3.5 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.00225, allocations: 0.7812 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.002333, allocations: 16.05 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.002344, allocations: 1.656 kB / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.00236, allocations: 0 / 481.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.002469, allocations: 7.688 kB / 481.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.002475, allocations: 3.938 kB / 481.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002476, allocations: 1.188 kB / 481.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.002481, allocations: 1.875 kB / 481.5 MB, free: 11.51 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.0003063/0.002788, allocations: 336.8 kB / 481.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.002833, allocations: 11.44 kB / 481.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.002877, allocations: 8.5 kB / 481.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.52e-05/0.002942, allocations: 112 kB / 482 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.002957, allocations: 4.375 kB / 482 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.002966, allocations: 384 / 482 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.003062, allocations: 34.27 kB / 482 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.003073, allocations: 1.25 kB / 482 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003082, allocations: 1.812 kB / 482 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003086, allocations: 384 / 482 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.003128, allocations: 11.16 kB / 482.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.00325, allocations: 111.2 kB / 482.2 MB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.00331, allocations: 35.28 kB / 482.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.003329, allocations: 12.94 kB / 482.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.003468, allocations: 6.188 kB / 482.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.003493, allocations: 37.39 kB / 482.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.003494, allocations: 0 / 482.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000152/0.003646, allocations: 39.16 kB / 482.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.003674, allocations: 55.34 kB / 482.3 MB, free: 10.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.003722, allocations: 151.3 kB / 482.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.003734, allocations: 26.77 kB / 482.5 MB, free: 10.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.004023, allocations: 127.7 kB / 482.6 MB, free: 26.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.004048, allocations: 3.344 kB / 482.6 MB, free: 26.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.004089, allocations: 19.95 kB / 482.7 MB, free: 26.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.004363, allocations: 497.5 kB / 483.2 MB, free: 25.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.004377, allocations: 5.594 kB / 483.2 MB, free: 25.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.004384, allocations: 4.062 kB / 483.2 MB, free: 25.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.004413, allocations: 12.41 kB / 483.2 MB, free: 25.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004414, allocations: 0.5625 kB / 483.2 MB, free: 25.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.179e-05/0.004466, allocations: 41.91 kB / 483.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.004478, allocations: 6.062 kB / 483.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004482, allocations: 4.75 kB / 483.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.004498, allocations: 0.6875 kB / 483.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.004553, allocations: 3.281 kB / 483.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.004558, allocations: 2.625 kB / 483.2 MB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.004571, allocations: 7.172 kB / 483.2 MB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.004576, allocations: 0.75 kB / 483.2 MB, free: 25.73 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 9.752e-05/0.004674, allocations: 157.5 kB / 483.4 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.004681, allocations: 3.938 kB / 483.4 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.004759, allocations: 43.91 kB / 483.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.004761, allocations: 1.062 kB / 483.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.004765, allocations: 0.8125 kB / 483.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.004769, allocations: 3.656 kB / 483.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.439e-05/0.004814, allocations: 116.6 kB / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004815, allocations: 1 kB / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.004835, allocations: 7.156 kB / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.004836, allocations: 5.125 kB / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004841, allocations: 0 / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.004843, allocations: 0 / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004844, allocations: 3.531 kB / 483.6 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.21e-05/0.004916, allocations: 84.08 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-06/0.00492, allocations: 2.75 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.004929, allocations: 0.5312 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.00495, allocations: 0 / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.004981, allocations: 8.766 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.004983, allocations: 0 / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.005055, allocations: 119.2 kB / 483.8 MB, free: 25.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.005055, allocations: 0 / 483.8 MB, free: 25.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.005266, allocations: 4.281 kB / 483.8 MB, free: 25.17 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 0.000146/0.005412, allocations: 106.1 kB / 483.9 MB, free: 25.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.344e-05/0.005505, allocations: 27.33 kB / 483.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.005507, allocations: 0 / 483.9 MB, free: 25.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.005526, allocations: 11.25 kB / 483.9 MB, free: 25.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.005678, allocations: 2.312 kB / 483.9 MB, free: 25.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.005923, allocations: 92.12 kB / 484 MB, free: 24.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.005976, allocations: 59.25 kB / 484.1 MB, free: 24.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.00599, allocations: 1.656 kB / 484.1 MB, free: 24.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.006014, allocations: 14.22 kB / 484.1 MB, free: 24.86 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.006014, allocations: 1.594 kB / 484.1 MB, free: 24.86 MB / 426.7 MB Notification: Performance of Templates: time 0.003453/0.009467, allocations: 355.2 kB / 484.4 MB, free: 24.8 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: 5.787467133020982]