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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 105.3 kB / 18.05 MB, free: 4.289 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 193.8 kB / 21.17 MB, free: 1.18 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 249.7 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8172/0.8172, allocations: 137.4 MB / 442.1 MB, free: 13.95 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 0.6134 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 85.53 MB / 0.6969 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001578/0.3172, allocations: 0.577 MB / 0.6975 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.3174, allocations: 48.84 kB / 0.6976 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.3174, allocations: 4 kB / 0.6976 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.3175, allocations: 0 / 0.6976 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.3175, allocations: 0 / 0.6976 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.3176, allocations: 24.69 kB / 0.6976 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 3.524e-05/0.3177, allocations: 2.906 kB / 0.6976 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.3177, allocations: 0 / 0.6976 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 1.043e-05/0.3177, allocations: 1.188 kB / 0.6976 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 1.794e-05/0.3178, allocations: 1.125 kB / 0.6976 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.3178, allocations: 1.125 kB / 0.6976 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.3178, allocations: 12.17 kB / 0.6976 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.3178, allocations: 1.406 kB / 0.6976 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.3179, allocations: 11.98 kB / 0.6976 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.3179, allocations: 11.48 kB / 0.6976 GB, free: 14.25 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3179, allocations: 1.188 kB / 0.6976 GB, free: 14.25 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3179, allocations: 0 / 0.6976 GB, free: 14.25 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3179, allocations: 0 / 0.6976 GB, free: 14.25 MB / 0.5138 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.0003294/0.3183, allocations: 312.6 kB / 0.6979 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3183, allocations: 10.8 kB / 0.6979 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.3183, allocations: 0.9375 kB / 0.6979 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3184, allocations: 165.6 kB / 0.6981 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-06/0.3184, allocations: 4.375 kB / 0.6981 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3185, allocations: 5.656 kB / 0.6981 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.3185, allocations: 29.02 kB / 0.6981 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3185, allocations: 192 / 0.6981 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.3186, allocations: 9.109 kB / 0.6981 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3186, allocations: 3.938 kB / 0.6981 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.3186, allocations: 6.641 kB / 0.6981 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3187, allocations: 148.2 kB / 0.6983 GB, free: 13.46 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.3188, allocations: 23.23 kB / 0.6983 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.3188, allocations: 15.48 kB / 0.6983 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.319, allocations: 84 kB / 0.6984 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.319, allocations: 30.56 kB / 0.6984 GB, free: 13.28 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.319, allocations: 1.375 kB / 0.6984 GB, free: 13.28 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2): time 0.0001284/0.3191, allocations: 46.28 kB / 0.6985 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3191, allocations: 51.41 kB / 0.6985 GB, free: 13.17 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/0.3192, allocations: 93.98 kB / 0.6986 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3192, allocations: 27.2 kB / 0.6986 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.3192, allocations: 82.92 kB / 0.6987 GB, free: 12.96 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3193, allocations: 5.391 kB / 0.6987 GB, free: 12.95 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.3193, allocations: 16.62 kB / 0.6987 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3194, allocations: 310.8 kB / 0.699 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.3194, allocations: 1.438 kB / 0.699 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.3194, allocations: 14.86 kB / 0.6991 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.3195, allocations: 20.7 kB / 0.6991 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3195, allocations: 1.062 kB / 0.6991 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.99e-05/0.3195, allocations: 33.45 kB / 0.6991 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3195, allocations: 6.281 kB / 0.6991 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3195, allocations: 0 / 0.6991 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3196, allocations: 7.922 kB / 0.6991 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.3196, allocations: 2.938 kB / 0.6991 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3196, allocations: 0 / 0.6991 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.3196, allocations: 4.969 kB / 0.6991 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.3196, allocations: 4.031 kB / 0.6991 GB, free: 12.55 MB / 0.5138 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.605e-05/0.3197, allocations: 115.4 kB / 0.6992 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.3197, allocations: 1.531 kB / 0.6992 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.3198, allocations: 43.16 kB / 0.6993 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3198, allocations: 4.875 kB / 0.6993 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3198, allocations: 0 / 0.6993 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.3198, allocations: 78.17 kB / 0.6994 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.3199, allocations: 1.188 kB / 0.6994 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.3199, allocations: 4.031 kB / 0.6994 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3199, allocations: 6.047 kB / 0.6994 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.981e-05/0.32, allocations: 115.9 kB / 0.6995 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001419/0.3201, allocations: 212.1 kB / 0.6997 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.806e-05/0.3201, allocations: 2.031 kB / 0.6997 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.3202, allocations: 80.47 kB / 0.6998 GB, free: 11.87 MB / 0.5138 GB Notification: Performance of Backend: time 2.21e-07/0.3202, allocations: 0 / 0.6998 GB, free: 11.87 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3205, allocations: 95.89 kB / 0.6999 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0003552/0.3209, allocations: 0.5424 MB / 0.7004 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of Templates: time 0.002352/0.3232, allocations: 357.2 kB / 0.7007 GB, free: 11.02 MB / 0.5138 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]