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.001317/0.001317, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001499/0.001499, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.8533/0.8533, allocations: 134 MB / 447.2 MB, free: 10.17 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.002233/0.002233, allocations: 63.09 kB / 0.6198 GB, free: 6.664 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1721, allocations: 85.91 MB / 0.7037 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003055/0.1751, allocations: 1.535 MB / 0.7052 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.1755, allocations: 136.4 kB / 0.7053 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.1756, allocations: 0 / 0.7053 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.1756, allocations: 0 / 0.7053 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.1756, allocations: 3.938 kB / 0.7053 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1759, allocations: 23.92 kB / 0.7053 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.176, allocations: 31.92 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1761, allocations: 11.98 kB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.1761, allocations: 15.92 kB / 0.7054 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.1762, allocations: 15.92 kB / 0.7054 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1762, allocations: 4 kB / 0.7054 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.1763, allocations: 19.98 kB / 0.7054 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1763, allocations: 4 kB / 0.7054 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.1763, allocations: 15.92 kB / 0.7054 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1764, allocations: 35.83 kB / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1764, allocations: 0 / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1764, allocations: 0 / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1765, allocations: 0 / 0.7055 GB, free: 14.96 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.0004881/0.1769, allocations: 266.3 kB / 0.7057 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.177, allocations: 8.031 kB / 0.7057 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.177, allocations: 12.89 kB / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1771, allocations: 106.5 kB / 0.7058 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1772, allocations: 12.36 kB / 0.7059 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1772, allocations: 384 / 0.7059 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1774, allocations: 58.17 kB / 0.7059 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1774, allocations: 192 / 0.7059 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1774, allocations: 7.938 kB / 0.7059 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1774, allocations: 0 / 0.7059 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1776, allocations: 47.95 kB / 0.706 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.178, allocations: 228 kB / 0.7062 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1783, allocations: 66.36 kB / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1784, allocations: 28.89 kB / 0.7063 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.1785, allocations: 4 kB / 0.7063 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1785, allocations: 34.56 kB / 0.7063 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1785, allocations: 0 / 0.7063 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003844/0.1789, allocations: 97.58 kB / 0.7064 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1789, allocations: 51.41 kB / 0.7065 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.179, allocations: 109.8 kB / 0.7066 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1791, allocations: 25.7 kB / 0.7066 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1791, allocations: 84.14 kB / 0.7067 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1791, allocations: 7.953 kB / 0.7067 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1792, allocations: 17.66 kB / 0.7067 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1793, allocations: 314.8 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.1794, allocations: 19.98 kB / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.1795, allocations: 27.97 kB / 0.707 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1797, allocations: 40.83 kB / 0.7071 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1797, allocations: 3.938 kB / 0.7071 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/0.1799, allocations: 73.64 kB / 0.7071 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1799, allocations: 4 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1799, allocations: 0 / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1799, allocations: 0 / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.18, allocations: 19.92 kB / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.18, allocations: 0 / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.1801, allocations: 15.89 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1801, allocations: 4.5 kB / 0.7072 GB, free: 13.01 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.264e-05/0.1802, allocations: 113.8 kB / 0.7073 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1802, allocations: 0 / 0.7073 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1805, allocations: 89.31 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1805, allocations: 0 / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1805, allocations: 0 / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1805, allocations: 0 / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1807, allocations: 144.7 kB / 0.7075 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1807, allocations: 0 / 0.7075 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.1808, allocations: 15.92 kB / 0.7075 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1808, allocations: 3.938 kB / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1808, allocations: 0 / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1808, allocations: 0 / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1808, allocations: 0 / 0.7075 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1811, allocations: 171.5 kB / 0.7077 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.1811, allocations: 19.94 kB / 0.7077 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1811, allocations: 4 kB / 0.7077 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.1812, allocations: 4 kB / 0.7077 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1812, allocations: 3.984 kB / 0.7077 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1812, allocations: 8 kB / 0.7077 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.1813, allocations: 83.27 kB / 0.7078 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 0 / 0.7078 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002347/0.1815, allocations: 8 kB / 0.7078 GB, free: 12.28 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.0001501/0.1817, allocations: 99.19 kB / 0.7079 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1819, allocations: 43.95 kB / 0.708 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1819, allocations: 4 kB / 0.708 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.182, allocations: 27.97 kB / 0.708 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1823, allocations: 11.27 kB / 0.708 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.1826, allocations: 131.4 kB / 0.7081 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.183, allocations: 0.6844 MB / 0.7088 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.183, allocations: 11.38 kB / 0.7088 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/0.183, allocations: 0 / 0.7088 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.00255/0.1856, allocations: 0.7418 MB / 0.7095 GB, free: 10.47 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: 8.05323218787089] Failed to read output from testmodel.py, exit status != 0: 0.19365869602188468 0.210005886 0.030296205000000003 Calling exit ...