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.001466/0.001466, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001427/0.001427, allocations: 220.4 kB / 23 MB, free: 4.914 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8591/0.8591, allocations: 134 MB / 447.2 MB, free: 9.98 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.002096/0.002096, allocations: 65.73 kB / 0.6197 GB, free: 6.375 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1521, allocations: 85.9 MB / 0.7036 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001679/0.1538, allocations: 0.5837 MB / 0.7042 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002463/0.154, allocations: 52.16 kB / 0.7043 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.154, allocations: 0 / 0.7043 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.045e-05/0.154, allocations: 0 / 0.7043 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-06/0.154, allocations: 4 kB / 0.7043 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1542, allocations: 8 kB / 0.7043 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.611e-05/0.1543, allocations: 3.984 kB / 0.7043 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1543, allocations: 4 kB / 0.7043 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.1543, allocations: 4 kB / 0.7043 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.906e-05/0.1543, allocations: 3.984 kB / 0.7043 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1543, allocations: 0 / 0.7043 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.1544, allocations: 15.92 kB / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1544, allocations: 7.875 kB / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.1544, allocations: 4 kB / 0.7043 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.765e-05/0.1545, allocations: 8 kB / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1545, allocations: 0 / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1545, allocations: 0 / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1545, allocations: 0 / 0.7043 GB, free: 15.86 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.0003248/0.1549, allocations: 246.4 kB / 0.7045 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1549, allocations: 12.03 kB / 0.7046 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.1549, allocations: 4.891 kB / 0.7046 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.155, allocations: 106.5 kB / 0.7047 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.155, allocations: 384 / 0.7047 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.155, allocations: 4.375 kB / 0.7047 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.014e-05/0.1551, allocations: 30.25 kB / 0.7047 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1551, allocations: 192 / 0.7047 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1551, allocations: 7.938 kB / 0.7047 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1551, allocations: 0 / 0.7047 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.1552, allocations: 7.938 kB / 0.7047 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.1553, allocations: 105.3 kB / 0.7048 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.819e-05/0.1554, allocations: 22.59 kB / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.1554, allocations: 12.92 kB / 0.7048 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.1555, allocations: 4 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1555, allocations: 30.56 kB / 0.7049 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1555, allocations: 0 / 0.7049 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.1557, allocations: 49.56 kB / 0.7049 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1557, allocations: 55.41 kB / 0.705 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.1558, allocations: 93.98 kB / 0.7051 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1558, allocations: 25.7 kB / 0.7051 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1558, allocations: 80.14 kB / 0.7052 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1558, allocations: 0 / 0.7052 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1559, allocations: 17.7 kB / 0.7052 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.156, allocations: 314.8 kB / 0.7055 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.156, allocations: 4 kB / 0.7055 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.156, allocations: 0 / 0.7055 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.1561, allocations: 12.86 kB / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1561, allocations: 0 / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.213e-05/0.1561, allocations: 49.69 kB / 0.7056 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1562, allocations: 4 kB / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1562, allocations: 0 / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1562, allocations: 0 / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.1562, allocations: 7.938 kB / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1562, allocations: 3.984 kB / 0.7056 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1562, allocations: 0 / 0.7056 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.1562, allocations: 3.938 kB / 0.7056 GB, free: 14.4 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.143e-05/0.1563, allocations: 113.8 kB / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1563, allocations: 7.938 kB / 0.7057 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.1564, allocations: 48.81 kB / 0.7057 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1564, allocations: 3.938 kB / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1564, allocations: 0 / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1564, allocations: 0 / 0.7057 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.361e-05/0.1565, allocations: 113.3 kB / 0.7058 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1565, allocations: 0 / 0.7058 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.1565, allocations: 4 kB / 0.7058 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1565, allocations: 0 / 0.7058 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1566, allocations: 3.938 kB / 0.7059 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1566, allocations: 0 / 0.7059 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1566, allocations: 7.969 kB / 0.7059 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.1566, allocations: 65.12 kB / 0.7059 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.1566, allocations: 4 kB / 0.7059 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.1567, allocations: 0 / 0.7059 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.1567, allocations: 0 / 0.7059 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.1567, allocations: 7.922 kB / 0.7059 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1567, allocations: 4 kB / 0.7059 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.1567, allocations: 79.22 kB / 0.706 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1567, allocations: 0 / 0.706 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001876/0.1569, allocations: 11.94 kB / 0.706 GB, free: 13.87 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.0001355/0.1571, allocations: 99.28 kB / 0.7061 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.505e-05/0.1571, allocations: 8 kB / 0.7061 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1571, allocations: 0 / 0.7061 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.1571, allocations: 7.984 kB / 0.7061 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1573, allocations: 0 / 0.7061 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.1575, allocations: 107.4 kB / 0.7062 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.1575, allocations: 67.14 kB / 0.7063 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.1575, allocations: 7.438 kB / 0.7063 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1575, allocations: 4.125 kB / 0.7063 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.001857/0.1594, allocations: 459.7 kB / 0.7068 GB, free: 13.06 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: 7.3908497910015285] Failed to read output from testmodel.py, exit status != 0: 0.1665889173746109 0.182166877 0.024609048 Calling exit ...