Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001799/0.001799, 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.002275/0.002275, allocations: 215.7 kB / 22.25 MB, free: 4.852 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.797 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.9551/0.9551, allocations: 134 MB / 446.4 MB, free: 9.961 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002342/0.002342, allocations: 71.23 kB / 0.619 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2131, allocations: 85.91 MB / 0.7029 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002871/0.2159, allocations: 1.542 MB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000428/0.2164, allocations: 116.5 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2164, allocations: 4 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.2164, allocations: 4 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.2165, allocations: 3.938 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.2168, allocations: 23.95 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.2168, allocations: 31.92 kB / 0.7045 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2169, allocations: 8 kB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.217, allocations: 11.92 kB / 0.7046 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.217, allocations: 15.98 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.217, allocations: 0 / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.796e-05/0.2171, allocations: 12 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2171, allocations: 15.91 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.2172, allocations: 15.94 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.2173, allocations: 35.78 kB / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2173, allocations: 0 / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.576e-06/0.2173, allocations: 4 kB / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2173, allocations: 0 / 0.7047 GB, free: 14.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006669/0.218, allocations: 270.3 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.218, allocations: 8.031 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.2181, allocations: 8.891 kB / 0.7049 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2182, allocations: 106.5 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.2183, allocations: 384 / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2183, allocations: 8.375 kB / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2185, allocations: 62.22 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2185, allocations: 192 / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2185, allocations: 3.938 kB / 0.7051 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2185, allocations: 0 / 0.7051 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.2187, allocations: 47.89 kB / 0.7051 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.2192, allocations: 200.6 kB / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.2196, allocations: 54.53 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2197, allocations: 28.84 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.066e-05/0.2198, allocations: 4 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.2198, allocations: 46.48 kB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2198, allocations: 0 / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003908/0.2202, allocations: 89.59 kB / 0.7056 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.2203, allocations: 51.41 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2204, allocations: 110 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2204, allocations: 25.7 kB / 0.7057 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2204, allocations: 88.08 kB / 0.7058 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2205, allocations: 7.953 kB / 0.7058 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2205, allocations: 17.7 kB / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2207, allocations: 314.8 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.2208, allocations: 15.98 kB / 0.7062 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.2209, allocations: 23.97 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.221, allocations: 52.75 kB / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.221, allocations: 3.938 kB / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.2212, allocations: 73.59 kB / 0.7063 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2213, allocations: 4 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2213, allocations: 4 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2213, allocations: 0 / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.2214, allocations: 15.98 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2214, allocations: 0 / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.2214, allocations: 19.88 kB / 0.7063 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2214, allocations: 4 kB / 0.7063 GB, free: 12.8 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 (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 8.869e-05/0.2215, allocations: 111.8 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.2216, allocations: 7.938 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.2218, allocations: 81.33 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2218, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2218, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2218, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.222, allocations: 113.3 kB / 0.7066 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.222, allocations: 0 / 0.7066 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.2221, allocations: 15.92 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2221, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2221, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2221, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2221, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2223, allocations: 171.4 kB / 0.7068 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2224, allocations: 15.89 kB / 0.7068 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2224, allocations: 4 kB / 0.7068 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.2225, allocations: 7.984 kB / 0.7069 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.2225, allocations: 8 kB / 0.7069 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.2225, allocations: 0 / 0.7069 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.2226, allocations: 83.69 kB / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2226, allocations: 0 / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002254/0.2228, allocations: 12 kB / 0.707 GB, free: 12.12 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.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.0001497/0.2229, allocations: 95.39 kB / 0.707 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2232, allocations: 51.88 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2232, allocations: 3.938 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.2233, allocations: 23.97 kB / 0.7071 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2235, allocations: 11.94 kB / 0.7071 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.2239, allocations: 105.6 kB / 0.7072 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.2239, allocations: 67.2 kB / 0.7073 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.2239, allocations: 4 kB / 0.7073 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.224, allocations: 19.42 kB / 0.7073 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.224, allocations: 0 / 0.7073 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.00332/0.2273, allocations: 0.7373 MB / 0.708 GB, free: 10.96 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9220834113657475] Failed to read output from testmodel.py, exit status != 0: 0.23593368753790855 0.2514551099999999 0.030926827 Calling exit ...