Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 111.1 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.151/1.151, allocations: 173.4 MB / 471.3 MB, free: 6.605 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 72.14 kB / 0.649 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1686, allocations: 89.53 MB / 0.7364 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001666/0.1703, allocations: 0.5912 MB / 0.737 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.1706, allocations: 47.8 kB / 0.7371 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.1706, allocations: 0 / 0.7371 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.1706, allocations: 0 / 0.7371 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-06/0.1707, allocations: 0 / 0.7371 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1709, allocations: 19.91 kB / 0.7371 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.1709, allocations: 4 kB / 0.7371 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.171, allocations: 4 kB / 0.7371 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.171, allocations: 0 / 0.7371 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.982e-05/0.171, allocations: 0 / 0.7371 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.171, allocations: 0 / 0.7371 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.1711, allocations: 11.98 kB / 0.7371 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.1711, allocations: 8 kB / 0.7371 GB, free: 2.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.1711, allocations: 7.922 kB / 0.7371 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.1712, allocations: 4 kB / 0.7371 GB, free: 2.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1712, allocations: 0 / 0.7371 GB, free: 2.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1712, allocations: 0 / 0.7371 GB, free: 2.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1713, allocations: 0 / 0.7371 GB, free: 2.91 MB / 0.545 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.000342/0.1716, allocations: 319.5 kB / 0.7374 GB, free: 2.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1716, allocations: 12.03 kB / 0.7374 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1717, allocations: 0.9375 kB / 0.7374 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1718, allocations: 168.3 kB / 0.7376 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1718, allocations: 4.359 kB / 0.7376 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1718, allocations: 384 / 0.7376 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.1719, allocations: 30.27 kB / 0.7376 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1719, allocations: 192 / 0.7376 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.172, allocations: 7.938 kB / 0.7376 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.172, allocations: 0 / 0.7376 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.172, allocations: 4 kB / 0.7376 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1722, allocations: 149.7 kB / 0.7378 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.1722, allocations: 30.95 kB / 0.7378 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.1723, allocations: 4.859 kB / 0.7378 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.1724, allocations: 85.16 kB / 0.7379 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1725, allocations: 30.56 kB / 0.7379 GB, free: 1.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1725, allocations: 0 / 0.7379 GB, free: 1.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/0.1726, allocations: 53.53 kB / 0.738 GB, free: 1.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1727, allocations: 59.52 kB / 0.738 GB, free: 1.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.1727, allocations: 89.86 kB / 0.7381 GB, free: 1.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1728, allocations: 29.64 kB / 0.7382 GB, free: 1.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1728, allocations: 80.14 kB / 0.7382 GB, free: 1.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1728, allocations: 4 kB / 0.7382 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1729, allocations: 17.66 kB / 0.7383 GB, free: 1.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.173, allocations: 314.8 kB / 0.7386 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.173, allocations: 4 kB / 0.7386 GB, free: 1.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.173, allocations: 4 kB / 0.7386 GB, free: 1.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.1731, allocations: 16.84 kB / 0.7386 GB, free: 1.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1731, allocations: 4 kB / 0.7386 GB, free: 1.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.67e-05/0.1732, allocations: 37.7 kB / 0.7386 GB, free: 1.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1732, allocations: 4 kB / 0.7386 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1732, allocations: 0 / 0.7386 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1732, allocations: 3.938 kB / 0.7386 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.1733, allocations: 7.984 kB / 0.7386 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1733, allocations: 3.938 kB / 0.7386 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.1733, allocations: 4.094 kB / 0.7386 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1733, allocations: 0 / 0.7386 GB, free: 1.113 MB / 0.545 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 7.48e-05/0.1734, allocations: 109.8 kB / 0.7387 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1734, allocations: 0 / 0.7387 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-05/0.1735, allocations: 48.75 kB / 0.7388 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1735, allocations: 3.984 kB / 0.7388 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1735, allocations: 0 / 0.7388 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1735, allocations: 0 / 0.7388 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1736, allocations: 157.7 kB / 0.7389 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1736, allocations: 3.984 kB / 0.7389 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.1737, allocations: 0 / 0.7389 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1737, allocations: 4 kB / 0.7389 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1737, allocations: 7.938 kB / 0.739 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1737, allocations: 0 / 0.739 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1737, allocations: 3.938 kB / 0.739 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.528e-05/0.1738, allocations: 61.12 kB / 0.739 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1738, allocations: 85.08 kB / 0.7391 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1738, allocations: 7.938 kB / 0.7391 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.1739, allocations: 0 / 0.7391 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.1739, allocations: 0 / 0.7391 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1739, allocations: 0 / 0.7391 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.1739, allocations: 79.22 kB / 0.7392 GB, free: 460 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1739, allocations: 0 / 0.7392 GB, free: 460 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001861/0.1741, allocations: 4 kB / 0.7392 GB, free: 456 kB / 0.545 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.0001558/0.1743, allocations: 115.2 kB / 0.7393 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.1744, allocations: 11.94 kB / 0.7393 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1744, allocations: 0 / 0.7393 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.1744, allocations: 4 kB / 0.7393 GB, free: 312 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1745, allocations: 4 kB / 0.7393 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.1747, allocations: 106.8 kB / 0.7394 GB, free: 168 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.175, allocations: 0.669 MB / 0.7401 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.1751, allocations: 7.438 kB / 0.7401 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1751, allocations: 8.125 kB / 0.7401 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.001884/0.177, allocations: 456.8 kB / 0.7405 GB, free: 15.01 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.710891988826916] Failed to read output from testmodel.py, exit status != 0: 0.18340219603851438 0.19637273600000002 0.022633589000000003 Calling exit ...