Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001705/0.001705, allocations: 104.3 kB / 19.7 MB, free: 1.941 MB / 14.72 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.001533/0.001533, allocations: 219.1 kB / 22.99 MB, free: 4.969 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 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.006/1.006, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 66.5 kB / 0.6415 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1938, allocations: 89.17 MB / 0.7286 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002968/0.1967, allocations: 1.541 MB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000373/0.1971, allocations: 123.7 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.1971, allocations: 0 / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.1972, allocations: 3.938 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.1972, allocations: 3.938 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1975, allocations: 27.97 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.1976, allocations: 31.86 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1977, allocations: 11.98 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.1977, allocations: 11.98 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.1978, allocations: 15.92 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1978, allocations: 4 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.1979, allocations: 12 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.1979, allocations: 7.984 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1979, allocations: 15.92 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.198, allocations: 31.84 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1981, allocations: 0 / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1981, allocations: 4 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1981, allocations: 0 / 0.7304 GB, free: 14.64 MB / 0.5606 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.0005375/0.1986, allocations: 270.3 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1986, allocations: 12.03 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.1987, allocations: 0.9375 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1988, allocations: 114.4 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1988, allocations: 384 / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1989, allocations: 4.375 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1991, allocations: 58.22 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1991, allocations: 4.188 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1991, allocations: 3.938 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1991, allocations: 4 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.1993, allocations: 43.89 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1997, allocations: 204.6 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.2, allocations: 54.53 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2001, allocations: 36.78 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.2002, allocations: 4 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2003, allocations: 34.55 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2003, allocations: 0 / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004267/0.2007, allocations: 93.58 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.2007, allocations: 55.41 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2008, allocations: 110 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.2009, allocations: 25.7 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.2009, allocations: 88.12 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.201, allocations: 11.95 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.201, allocations: 17.7 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2012, allocations: 314.8 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.2013, allocations: 15.98 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.415e-05/0.2014, allocations: 19.97 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2015, allocations: 48.81 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2015, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002189/0.2018, allocations: 77.53 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2018, allocations: 8 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2018, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2018, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.2019, allocations: 11.98 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2019, allocations: 0 / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.2019, allocations: 11.98 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2019, allocations: 0 / 0.7321 GB, free: 12.75 MB / 0.5606 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 0.0001155/0.2021, allocations: 113.8 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.2021, allocations: 7.891 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.2024, allocations: 93.2 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2024, allocations: 0 / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2024, allocations: 4 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2024, allocations: 0 / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2025, allocations: 109.3 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2025, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.2026, allocations: 19.92 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2026, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2026, allocations: 3.938 kB / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2026, allocations: 0 / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2026, allocations: 0 / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.2029, allocations: 167.5 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.2029, allocations: 11.88 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.203, allocations: 3.938 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.203, allocations: 7.984 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.2031, allocations: 8 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.2031, allocations: 7.984 kB / 0.7326 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.2031, allocations: 75.7 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2031, allocations: 4 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002239/0.2034, allocations: 8 kB / 0.7327 GB, free: 12.05 MB / 0.5606 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.0001576/0.2035, allocations: 95.39 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2038, allocations: 43.94 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2038, allocations: 8 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2039, allocations: 27.91 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.2041, allocations: 8 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.2044, allocations: 113.5 kB / 0.733 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.2045, allocations: 59.34 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.2045, allocations: 4 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2046, allocations: 19.42 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2046, allocations: 0 / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.003536/0.2081, allocations: 0.7486 MB / 0.7338 GB, free: 10.88 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.02211987785995] Failed to read output from testmodel.py, exit status != 0: 0.21633136831223965 0.231052743 0.02996317 Calling exit ...