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.001042/0.001042, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001115/0.001115, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7917/0.7917, allocations: 154.9 MB / 415.9 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.313e-06/1.313e-06, allocations: 0 / 0.5219 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.695e-05, allocations: 3.594 kB / 0.522 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001278/0.001295, allocations: 0.5943 MB / 0.5225 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001946/0.00149, allocations: 47.81 kB / 0.5226 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.001507, allocations: 0.9844 kB / 0.5226 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.00152, allocations: 0.875 kB / 0.5226 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.001526, allocations: 0 / 0.5226 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.001729, allocations: 16.55 kB / 0.5226 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.868e-05/0.001768, allocations: 7.922 kB / 0.5226 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.001806, allocations: 5.562 kB / 0.5226 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.001831, allocations: 3.984 kB / 0.5226 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.556e-05/0.001846, allocations: 1.25 kB / 0.5226 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.001856, allocations: 0 / 0.5226 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.001924, allocations: 12.77 kB / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.001933, allocations: 1.812 kB / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-06/0.001942, allocations: 0 / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.071e-05/0.002013, allocations: 16.73 kB / 0.5226 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002015, allocations: 0 / 0.5226 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002015, allocations: 0 / 0.5226 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.002019, allocations: 2.516 kB / 0.5226 GB, free: 0.8125 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.0002133/0.002232, allocations: 340.4 kB / 0.523 GB, free: 452 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.002263, allocations: 8.031 kB / 0.523 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.002285, allocations: 0.9375 kB / 0.523 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.203e-05/0.002347, allocations: 108.6 kB / 0.5231 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.002356, allocations: 5.062 kB / 0.5231 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.002363, allocations: 4.375 kB / 0.5231 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/0.002424, allocations: 35.66 kB / 0.5231 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.00243, allocations: 192 / 0.5231 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.002436, allocations: 4.312 kB / 0.5231 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.002441, allocations: 5.703 kB / 0.5231 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.002458, allocations: 7.938 kB / 0.5231 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.517e-05/0.002554, allocations: 93.2 kB / 0.5232 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.002594, allocations: 32.83 kB / 0.5233 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.002608, allocations: 15.75 kB / 0.5233 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.803e-05/0.002696, allocations: 4 kB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.002715, allocations: 33.39 kB / 0.5233 GB, free: 12 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.002716, allocations: 2.188 kB / 0.5233 GB, free: 12 kB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000108/0.002824, allocations: 41.69 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.002852, allocations: 55.41 kB / 0.5234 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.002893, allocations: 146.2 kB / 0.5235 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.002901, allocations: 25.7 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.00293, allocations: 127.4 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.002944, allocations: 8.797 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.002971, allocations: 19.38 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.003081, allocations: 497.1 kB / 0.5242 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.00309, allocations: 3.984 kB / 0.5242 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-06/0.003096, allocations: 4.562 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.003125, allocations: 16.94 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.003127, allocations: 0 / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.568e-05/0.003172, allocations: 37.7 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.003182, allocations: 5.031 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.003187, allocations: 3.984 kB / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.003196, allocations: 1 kB / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.003234, allocations: 4 kB / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.003237, allocations: 0 / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.003249, allocations: 7.25 kB / 0.5243 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-06/0.003252, allocations: 0 / 0.5243 GB, free: 14.96 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.063e-05/0.003312, allocations: 156.5 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-06/0.003318, allocations: 0 / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.003379, allocations: 48.78 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.003381, allocations: 7.938 kB / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.003382, allocations: 0 / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.003385, allocations: 0 / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.992e-05/0.003444, allocations: 104.2 kB / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.003445, allocations: 0 / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.003459, allocations: 7.984 kB / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.00346, allocations: 0 / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-06/0.003463, allocations: 0 / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.003464, allocations: 0 / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003465, allocations: 0 / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.646e-05/0.003521, allocations: 80.31 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.003528, allocations: 5.5 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.003535, allocations: 0 / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-06/0.003541, allocations: 0 / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.003561, allocations: 4 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.003563, allocations: 0.5 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.003592, allocations: 121.8 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003592, allocations: 0 / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001707/0.003762, allocations: 4 kB / 0.5248 GB, free: 14.38 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.069e-05/0.003853, allocations: 99.23 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.342e-05/0.003906, allocations: 15.69 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.003907, allocations: 2.438 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.003923, allocations: 15.62 kB / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.004035, allocations: 11.92 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000156/0.004191, allocations: 89.34 kB / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.004219, allocations: 55.36 kB / 0.5251 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.848e-06/0.004229, allocations: 1.594 kB / 0.5251 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.004263, allocations: 74.19 kB / 0.5251 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.004263, allocations: 0 / 0.5251 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.001738/0.006001, allocations: 373.8 kB / 0.5255 GB, free: 13.6 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.7328243730589747]