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.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.00098/0.00098, allocations: 81.86 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001163/0.001163, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.049/1.049, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7712/0.7712, allocations: 154.9 MB / 415.1 MB, free: 248 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 179] 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.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 1.533e-06/1.533e-06, allocations: 0 / 0.5212 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.881e-05, allocations: 3.297 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001303/0.001322, allocations: 0.59 MB / 0.5218 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002029/0.001525, allocations: 43.86 kB / 0.5218 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.004536, allocations: 0.75 kB / 0.5218 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.004554, allocations: 7.938 kB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.004559, allocations: 1.469 kB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.004774, allocations: 16.69 kB / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.004814, allocations: 0 / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.004847, allocations: 0 / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.004876, allocations: 10.09 kB / 0.5218 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.004892, allocations: 0 / 0.5218 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.004904, allocations: 0 / 0.5218 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.004979, allocations: 12.97 kB / 0.5219 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.00499, allocations: 7.375 kB / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.338e-06/0.005, allocations: 0 / 0.5219 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.83e-05/0.005078, allocations: 11.92 kB / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00508, allocations: 0 / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005081, allocations: 0 / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.005084, allocations: 0 / 0.5219 GB, free: 0.7695 MB / 490.7 MB 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.0002367/0.00532, allocations: 344.4 kB / 0.5222 GB, free: 404 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005356, allocations: 12.03 kB / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.005382, allocations: 4.875 kB / 0.5222 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.991e-05/0.005442, allocations: 105.2 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.005453, allocations: 8.922 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.005463, allocations: 384 / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.775e-05/0.005531, allocations: 34.81 kB / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005538, allocations: 1.062 kB / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-06/0.005543, allocations: 384 / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005549, allocations: 1.844 kB / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.005569, allocations: 11.94 kB / 0.5224 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.387e-05/0.005663, allocations: 93.2 kB / 0.5225 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.306e-05/0.005706, allocations: 35.95 kB / 0.5225 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.005719, allocations: 11.75 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.005824, allocations: 5.031 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.005863, allocations: 41.39 kB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.005863, allocations: 0 / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001012/0.005965, allocations: 39.22 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.005991, allocations: 55.34 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/0.006033, allocations: 146.2 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.006042, allocations: 26.52 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.006071, allocations: 126.9 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.006086, allocations: 4.297 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.006114, allocations: 24.64 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.006236, allocations: 0.4922 MB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.006242, allocations: 0 / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.00625, allocations: 5.344 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/0.006276, allocations: 11.69 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006278, allocations: 4.719 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.87e-05/0.006327, allocations: 37.64 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.006339, allocations: 9.609 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006342, allocations: 0 / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.006353, allocations: 0 / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.183e-05/0.006395, allocations: 4 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006397, allocations: 2.594 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.006407, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-06/0.00641, allocations: 4 kB / 0.5235 GB, free: 14.91 MB / 0.4948 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 6.031e-05/0.006471, allocations: 160.5 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-06/0.006476, allocations: 0 / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.006536, allocations: 40.84 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006537, allocations: 2.75 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006539, allocations: 0 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.006541, allocations: 0 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.365e-05/0.006605, allocations: 101.2 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006605, allocations: 0 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.006619, allocations: 11.92 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.00662, allocations: 0 / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-06/0.006623, allocations: 0 / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006624, allocations: 1.062 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006625, allocations: 0 / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.761e-05/0.006682, allocations: 77.31 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-06/0.006686, allocations: 0 / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-06/0.006692, allocations: 0 / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.006699, allocations: 0.9375 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.006718, allocations: 4 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.006725, allocations: 8.5 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.006753, allocations: 119.9 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006753, allocations: 0 / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001653/0.006918, allocations: 5.219 kB / 0.524 GB, free: 14.33 MB / 0.4948 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 9.936e-05/0.007018, allocations: 103.2 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.202e-05/0.00707, allocations: 20.33 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007071, allocations: 5.219 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.007086, allocations: 15.67 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.007199, allocations: 9.875 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.01036, allocations: 93.34 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.01039, allocations: 55.36 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.0104, allocations: 0 / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01044, allocations: 74.19 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/0.01044, allocations: 0 / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.001701/0.01214, allocations: 368.4 kB / 0.5247 GB, free: 13.55 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6529047288931906]