Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00176/0.00176, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001823/0.001823, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9658/0.9658, allocations: 134 MB / 446.4 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: IDEAS 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.002117/0.002117, allocations: 66.52 kB / 0.619 GB, free: 6.395 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2064, allocations: 85.9 MB / 0.7029 GB, free: 0.5703 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.002312/0.2087, allocations: 0.5838 MB / 0.7035 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003639/0.209, allocations: 52.09 kB / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.2091, allocations: 0 / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.2091, allocations: 0 / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.2091, allocations: 0 / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2093, allocations: 15.97 kB / 0.7035 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.2094, allocations: 7.938 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.2095, allocations: 4 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.2095, allocations: 0 / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.2095, allocations: 4 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2095, allocations: 0 / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.2096, allocations: 11.98 kB / 0.7036 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.2096, allocations: 0 / 0.7036 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.2096, allocations: 3.984 kB / 0.7036 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2097, allocations: 15.92 kB / 0.7036 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2097, allocations: 0 / 0.7036 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2097, allocations: 3.938 kB / 0.7036 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.2098, allocations: 4 kB / 0.7036 GB, free: 15.87 MB / 0.5294 GB 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.0003463/0.2101, allocations: 244.8 kB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2101, allocations: 8.031 kB / 0.7038 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.2102, allocations: 4.891 kB / 0.7038 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2103, allocations: 114.5 kB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2103, allocations: 384 / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2103, allocations: 384 / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2104, allocations: 30.27 kB / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2104, allocations: 192 / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2105, allocations: 3.938 kB / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2105, allocations: 0 / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.2105, allocations: 11.92 kB / 0.704 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2106, allocations: 105.3 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.2107, allocations: 18.61 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.2107, allocations: 8.859 kB / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.2109, allocations: 8.047 kB / 0.7041 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2109, allocations: 34.56 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2109, allocations: 0 / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.2111, allocations: 45.58 kB / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2111, allocations: 51.41 kB / 0.7042 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.2112, allocations: 89.86 kB / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2112, allocations: 29.83 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.2113, allocations: 88.12 kB / 0.7044 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2113, allocations: 0 / 0.7044 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.2113, allocations: 17.66 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2115, allocations: 314.8 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.2115, allocations: 0 / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.2115, allocations: 4 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.2115, allocations: 12.86 kB / 0.7048 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2115, allocations: 0 / 0.7048 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.469e-05/0.2116, allocations: 45.69 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2116, allocations: 5.875 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2116, allocations: 4 kB / 0.7048 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2116, allocations: 0 / 0.7048 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.2117, allocations: 3.938 kB / 0.7048 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2117, allocations: 4 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.2117, allocations: 0 / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2117, allocations: 3.984 kB / 0.7048 GB, free: 14.41 MB / 0.5294 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 (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 8.826e-05/0.2118, allocations: 109.8 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.2118, allocations: 7.953 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.2119, allocations: 48.81 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2119, allocations: 11.88 kB / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2119, allocations: 0 / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2119, allocations: 0 / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.212, allocations: 93.33 kB / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.212, allocations: 0 / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.212, allocations: 4 kB / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.212, allocations: 0 / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.212, allocations: 4 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.212, allocations: 4 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.212, allocations: 7.922 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.092e-05/0.2121, allocations: 61.17 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-06/0.2121, allocations: 7.938 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2121, allocations: 7.984 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.2122, allocations: 0 / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.2122, allocations: 3.938 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2122, allocations: 3.984 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.2122, allocations: 75.28 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2122, allocations: 4 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002171/0.2124, allocations: 15.88 kB / 0.7053 GB, free: 13.89 MB / 0.5294 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,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.0001697/0.2126, allocations: 99.28 kB / 0.7054 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.2127, allocations: 7.984 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2127, allocations: 0 / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.2127, allocations: 4 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.2129, allocations: 8 kB / 0.7054 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.2131, allocations: 84.92 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.928e-05/0.2131, allocations: 59.22 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.2132, allocations: 0 / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.2132, allocations: 7.562 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2132, allocations: 8 kB / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.002763/0.2159, allocations: 300.6 kB / 0.7058 GB, free: 13.27 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9827004838734865] Failed to read output from testmodel.py, exit status != 0: 0.22344334237277508 0.23976870100000003 0.026886409 Calling exit ...