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.001814/0.001814, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.002162/0.002162, allocations: 156.5 kB / 23 MB, free: 4.949 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.7935/0.7935, allocations: 101.3 MB / 361.1 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002223/0.002223, allocations: 63.88 kB / 0.5356 GB, free: 5.23 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1447, allocations: 85.88 MB / 0.6195 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002754/0.1474, allocations: 1.546 MB / 0.621 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003619/0.1478, allocations: 120.5 kB / 0.6211 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.1478, allocations: 0 / 0.6211 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.1479, allocations: 3.938 kB / 0.6211 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.1479, allocations: 3.984 kB / 0.6211 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1481, allocations: 31.92 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.896e-05/0.1482, allocations: 31.86 kB / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.1483, allocations: 11.98 kB / 0.6212 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.1483, allocations: 8 kB / 0.6212 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.1484, allocations: 15.91 kB / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1484, allocations: 4 kB / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.1484, allocations: 11.98 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.1484, allocations: 8 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1485, allocations: 7.938 kB / 0.6212 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1486, allocations: 43.81 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1486, allocations: 0 / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1486, allocations: 4 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1486, allocations: 0 / 0.6213 GB, free: 15.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.0004453/0.149, allocations: 269 kB / 0.6215 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1491, allocations: 12.03 kB / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1491, allocations: 4.891 kB / 0.6216 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1492, allocations: 110.5 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1492, allocations: 4.375 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1492, allocations: 4.312 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1494, allocations: 58.23 kB / 0.6217 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1494, allocations: 4.188 kB / 0.6217 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1494, allocations: 7.922 kB / 0.6217 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1495, allocations: 0 / 0.6217 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1496, allocations: 43.95 kB / 0.6218 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.15, allocations: 200.6 kB / 0.622 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.1503, allocations: 62.47 kB / 0.622 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1504, allocations: 36.78 kB / 0.6221 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.1505, allocations: 7.984 kB / 0.6221 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1505, allocations: 30.56 kB / 0.6221 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.1505, allocations: 0 / 0.6221 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003866/0.1509, allocations: 97.52 kB / 0.6222 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1509, allocations: 55.34 kB / 0.6223 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.151, allocations: 101.9 kB / 0.6223 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.151, allocations: 25.7 kB / 0.6224 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1511, allocations: 92.12 kB / 0.6225 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1511, allocations: 3.953 kB / 0.6225 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1511, allocations: 17.72 kB / 0.6225 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1513, allocations: 314.8 kB / 0.6228 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.1514, allocations: 19.97 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.1515, allocations: 15.98 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1517, allocations: 48.81 kB / 0.6229 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1517, allocations: 0 / 0.6229 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002302/0.1519, allocations: 81.53 kB / 0.6229 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1519, allocations: 10.5 kB / 0.623 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1519, allocations: 0 / 0.623 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1519, allocations: 0 / 0.623 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.152, allocations: 11.98 kB / 0.623 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.152, allocations: 0 / 0.623 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.1521, allocations: 15.88 kB / 0.623 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1521, allocations: 0 / 0.623 GB, free: 13.81 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.04e-05/0.1522, allocations: 117.8 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1522, allocations: 3.938 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1525, allocations: 77.84 kB / 0.6232 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.1525, allocations: 4 kB / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1525, allocations: 7.922 kB / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1525, allocations: 0 / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1526, allocations: 105.4 kB / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1526, allocations: 3.984 kB / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.1527, allocations: 19.92 kB / 0.6233 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1527, allocations: 0 / 0.6233 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1527, allocations: 7.938 kB / 0.6233 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1527, allocations: 7.984 kB / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1527, allocations: 0 / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.153, allocations: 163.5 kB / 0.6235 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.153, allocations: 11.89 kB / 0.6235 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.153, allocations: 0 / 0.6235 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.1531, allocations: 11.98 kB / 0.6235 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1531, allocations: 7.984 kB / 0.6235 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1531, allocations: 0 / 0.6235 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.1532, allocations: 83.28 kB / 0.6236 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1532, allocations: 3.938 kB / 0.6236 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002304/0.1534, allocations: 8 kB / 0.6236 GB, free: 13.11 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.0001301/0.1536, allocations: 107.2 kB / 0.6237 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1538, allocations: 43.95 kB / 0.6237 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1538, allocations: 4 kB / 0.6237 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1539, allocations: 23.98 kB / 0.6238 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1541, allocations: 3.984 kB / 0.6238 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.1544, allocations: 121.3 kB / 0.6239 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.1545, allocations: 63.34 kB / 0.6239 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.1545, allocations: 8 kB / 0.624 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1545, allocations: 8.5 kB / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1545, allocations: 0 / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.003096/0.1576, allocations: 0.7207 MB / 0.6247 GB, free: 11.97 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.980630967998877] Failed to read output from testmodel.py, exit status != 0: 0.16488228598609567 0.180066748 0.028461272000000003 Calling exit ...