Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.002035/0.002035, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002584/0.002584, allocations: 161.3 kB / 22.76 MB, free: 1.652 MB / 18.57 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.241/1.241, allocations: 154.8 MB / 414.3 MB, free: 468 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.5199 GB, free: 1.199 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.533e-05, allocations: 5.922 kB / 0.5199 GB, free: 1.195 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002989/0.003024, allocations: 1.537 MB / 0.5214 GB, free: 15.67 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004163/0.003441, allocations: 129.5 kB / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.003481, allocations: 0 / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.003511, allocations: 0.6875 kB / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.003569, allocations: 5.906 kB / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.003827, allocations: 20.55 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.00392, allocations: 41.05 kB / 0.5215 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.004017, allocations: 7.984 kB / 0.5216 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.004082, allocations: 15.98 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.004134, allocations: 11.98 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.00415, allocations: 0.9375 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.00422, allocations: 12 kB / 0.5216 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.00424, allocations: 12.47 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.004272, allocations: 7.938 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.004405, allocations: 43.38 kB / 0.5217 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.004409, allocations: 4 kB / 0.5217 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00441, allocations: 0 / 0.5217 GB, free: 15.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.004415, allocations: 0 / 0.5217 GB, free: 15.38 MB / 458.7 MB 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.0005516/0.004967, allocations: 266.3 kB / 0.5219 GB, free: 15.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.005006, allocations: 8.031 kB / 0.5219 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.005059, allocations: 12.89 kB / 0.5219 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.005229, allocations: 105.8 kB / 0.522 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.005254, allocations: 4.969 kB / 0.522 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.005265, allocations: 384 / 0.522 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.005472, allocations: 63.3 kB / 0.5221 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00548, allocations: 192 / 0.5221 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.005491, allocations: 1.312 kB / 0.5221 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005495, allocations: 384 / 0.5221 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.005698, allocations: 49.33 kB / 0.5222 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.006104, allocations: 200.6 kB / 0.5223 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.006459, allocations: 59.31 kB / 0.5224 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.006569, allocations: 29.45 kB / 0.5224 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/0.006668, allocations: 9.906 kB / 0.5224 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.006708, allocations: 30.56 kB / 0.5225 GB, free: 14.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006709, allocations: 0 / 0.5225 GB, free: 14.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004354/0.007144, allocations: 102 kB / 0.5226 GB, free: 14.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.007193, allocations: 51.91 kB / 0.5226 GB, free: 14.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.007288, allocations: 102.9 kB / 0.5227 GB, free: 14.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.00731, allocations: 25.7 kB / 0.5227 GB, free: 14.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.007377, allocations: 88.62 kB / 0.5228 GB, free: 14.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.007397, allocations: 7.953 kB / 0.5228 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.007441, allocations: 19.16 kB / 0.5228 GB, free: 14.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.007611, allocations: 310.8 kB / 0.5231 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.007725, allocations: 27.91 kB / 0.5232 GB, free: 13.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.007808, allocations: 16.77 kB / 0.5232 GB, free: 13.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.007989, allocations: 49.81 kB / 0.5232 GB, free: 13.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007991, allocations: 3.031 kB / 0.5232 GB, free: 13.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002286/0.008219, allocations: 73.66 kB / 0.5233 GB, free: 13.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.008238, allocations: 7.938 kB / 0.5233 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.008245, allocations: 4 kB / 0.5233 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.008268, allocations: 3.984 kB / 0.5233 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.008349, allocations: 8.594 kB / 0.5233 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.008355, allocations: 0 / 0.5233 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.008419, allocations: 17.09 kB / 0.5233 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.008425, allocations: 0 / 0.5233 GB, free: 13.49 MB / 458.7 MB 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 0.0001002/0.008525, allocations: 114.8 kB / 0.5235 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.008563, allocations: 4 kB / 0.5235 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.008852, allocations: 82.2 kB / 0.5235 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.008857, allocations: 8.641 kB / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008861, allocations: 0 / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.008864, allocations: 0.9375 kB / 0.5235 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.009017, allocations: 105.3 kB / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009018, allocations: 0 / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.0091, allocations: 17.2 kB / 0.5237 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.009102, allocations: 0 / 0.5237 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.009114, allocations: 3.984 kB / 0.5237 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.009118, allocations: 4.562 kB / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009119, allocations: 1.812 kB / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.009416, allocations: 171.5 kB / 0.5238 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.009424, allocations: 3.953 kB / 0.5238 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.009437, allocations: 0 / 0.5238 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.00954, allocations: 12.42 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.009602, allocations: 15.05 kB / 0.5239 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.009606, allocations: 0 / 0.5239 GB, free: 12.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.168e-05/0.009658, allocations: 79.28 kB / 0.5239 GB, free: 12.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009658, allocations: 0 / 0.5239 GB, free: 12.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000234/0.009892, allocations: 8 kB / 0.5239 GB, free: 12.82 MB / 458.7 MB 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.0001887/0.01008, allocations: 107.2 kB / 0.5241 GB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01033, allocations: 47.3 kB / 0.5241 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01033, allocations: 0 / 0.5241 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01045, allocations: 27.97 kB / 0.5241 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.01075, allocations: 4 kB / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.01111, allocations: 116.9 kB / 0.5242 GB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.01119, allocations: 69.02 kB / 0.5243 GB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.292e-05/0.01122, allocations: 7.984 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.01126, allocations: 10.31 kB / 0.5243 GB, free: 12.38 MB / 458.7 MB Notification: Performance of SimCode: time 4e-07/0.01126, allocations: 0 / 0.5243 GB, free: 12.38 MB / 458.7 MB Notification: Performance of Templates: time 0.003559/0.01482, allocations: 0.7652 MB / 0.5251 GB, free: 11.65 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792783751967363]