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.002391/0.002391, allocations: 85.48 kB / 19.44 MB, free: 344 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.002947/0.002947, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.651/1.651, allocations: 177.1 MB / 203.1 MB, free: 5.27 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.313/1.313, allocations: 154.8 MB / 414.4 MB, free: 404 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.442e-06/1.442e-06, allocations: 0 / 0.5199 GB, free: 1.184 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.719e-05, allocations: 5.438 kB / 0.5199 GB, free: 1.18 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002855/0.002882, allocations: 1.544 MB / 0.5214 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.003252, allocations: 130.3 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.003286, allocations: 0 / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.003312, allocations: 3.938 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.003369, allocations: 2.234 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.003607, allocations: 28.94 kB / 0.5215 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.296e-05/0.00369, allocations: 37.88 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003795, allocations: 4 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.003856, allocations: 16.7 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.003903, allocations: 8.891 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.003921, allocations: 4 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.003986, allocations: 23.91 kB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.004, allocations: 5.656 kB / 0.5216 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.004022, allocations: 4 kB / 0.5216 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.004149, allocations: 39.88 kB / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004151, allocations: 0 / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004152, allocations: 0.6562 kB / 0.5217 GB, free: 15.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004155, allocations: 0 / 0.5217 GB, free: 15.35 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.0005338/0.004689, allocations: 373.3 kB / 0.522 GB, free: 14.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.004724, allocations: 8.031 kB / 0.522 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.004771, allocations: 12.83 kB / 0.522 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.004885, allocations: 110 kB / 0.5221 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.004905, allocations: 384 / 0.5221 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.004913, allocations: 384 / 0.5221 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.005105, allocations: 59.02 kB / 0.5222 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005114, allocations: 192 / 0.5222 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.005122, allocations: 1.719 kB / 0.5222 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005126, allocations: 384 / 0.5222 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.005269, allocations: 31.91 kB / 0.5222 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.005669, allocations: 266.3 kB / 0.5225 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.005963, allocations: 55.11 kB / 0.5225 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.006041, allocations: 27.73 kB / 0.5226 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.006126, allocations: 4 kB / 0.5226 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.006162, allocations: 41.38 kB / 0.5226 GB, free: 14.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006163, allocations: 0.5 kB / 0.5226 GB, free: 14.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003329/0.006496, allocations: 86.91 kB / 0.5227 GB, free: 14.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.006547, allocations: 55.41 kB / 0.5227 GB, free: 14.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.006673, allocations: 162.2 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.006692, allocations: 26.67 kB / 0.5229 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.006838, allocations: 134.8 kB / 0.5231 GB, free: 13.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.006856, allocations: 7.953 kB / 0.5231 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.006904, allocations: 24.33 kB / 0.5231 GB, free: 13.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.007178, allocations: 0.4884 MB / 0.5236 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.007242, allocations: 12.98 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.007293, allocations: 12 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.00742, allocations: 52.34 kB / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007421, allocations: 0 / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000168/0.007589, allocations: 62.28 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.007606, allocations: 9.156 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00761, allocations: 0 / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.007627, allocations: 3.984 kB / 0.5237 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.007692, allocations: 8.625 kB / 0.5237 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007696, allocations: 1.812 kB / 0.5237 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.007742, allocations: 7.953 kB / 0.5237 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.007752, allocations: 3.984 kB / 0.5237 GB, free: 13.04 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.0001206/0.007872, allocations: 160.6 kB / 0.5239 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.007896, allocations: 1.625 kB / 0.5239 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.008124, allocations: 73.23 kB / 0.524 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008126, allocations: 4 kB / 0.524 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008129, allocations: 0 / 0.524 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.008131, allocations: 1.375 kB / 0.524 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.008294, allocations: 124.6 kB / 0.5241 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008295, allocations: 0 / 0.5241 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.008356, allocations: 8.516 kB / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008358, allocations: 0 / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.008365, allocations: 0.75 kB / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.008368, allocations: 7.938 kB / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.008369, allocations: 1.469 kB / 0.5241 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.008631, allocations: 211.9 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.008641, allocations: 3.953 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.008653, allocations: 1.688 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.008724, allocations: 11.92 kB / 0.5243 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.008779, allocations: 11.98 kB / 0.5243 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.008783, allocations: 0 / 0.5243 GB, free: 12.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.314e-05/0.008856, allocations: 125.5 kB / 0.5244 GB, free: 12.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008856, allocations: 0 / 0.5244 GB, free: 12.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.00908, allocations: 8 kB / 0.5245 GB, free: 12.23 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.0001638/0.009244, allocations: 103.2 kB / 0.5245 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.00944, allocations: 46.62 kB / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009441, allocations: 0 / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.009531, allocations: 39.69 kB / 0.5246 GB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.009757, allocations: 2.031 kB / 0.5246 GB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01021, allocations: 130.3 kB / 0.5248 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.205e-05/0.01028, allocations: 68.58 kB / 0.5248 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.01031, allocations: 8 kB / 0.5248 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.01035, allocations: 9.438 kB / 0.5248 GB, free: 11.77 MB / 458.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01035, allocations: 0 / 0.5248 GB, free: 11.77 MB / 458.7 MB Notification: Performance of Templates: time 0.003704/0.01405, allocations: 0.7589 MB / 0.5256 GB, free: 11.05 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.043964038020931]