Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001429/0.001429, allocations: 88.72 kB / 19.44 MB, free: 352 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.001711/0.001711, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.219/1.219, allocations: 154.6 MB / 414.1 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.365e-05, allocations: 5.844 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003349/0.003382, allocations: 1.535 MB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.003882, allocations: 128.2 kB / 0.5212 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.003938, allocations: 1.25 kB / 0.5213 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.003974, allocations: 5.188 kB / 0.5213 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.004032, allocations: 9.031 kB / 0.5213 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.004343, allocations: 16.42 kB / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.004443, allocations: 33.17 kB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.00457, allocations: 15.91 kB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.004646, allocations: 19.94 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.004703, allocations: 9.109 kB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.004721, allocations: 0 / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.004802, allocations: 15.98 kB / 0.5214 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.004826, allocations: 8.516 kB / 0.5214 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.004862, allocations: 13.67 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005026, allocations: 43.88 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.00503, allocations: 0 / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.005031, allocations: 0 / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.005037, allocations: 0 / 0.5214 GB, free: 0.7148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005914/0.005628, allocations: 260.2 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.005673, allocations: 8.031 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.005736, allocations: 12.89 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.005877, allocations: 113.7 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.005901, allocations: 2.031 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.005913, allocations: 384 / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.006165, allocations: 66.16 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.006174, allocations: 0.9375 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.006185, allocations: 384 / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.006189, allocations: 4.312 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.006404, allocations: 45.3 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.006858, allocations: 205.9 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.007235, allocations: 62.47 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.007343, allocations: 26.25 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.142e-05/0.007434, allocations: 7.984 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.007465, allocations: 30.56 kB / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.007466, allocations: 2.656 kB / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004328/0.007899, allocations: 93.58 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.00795, allocations: 59.34 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.008057, allocations: 101.8 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.008082, allocations: 25.7 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.008145, allocations: 80.7 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.008166, allocations: 8.922 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.008212, allocations: 21.7 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.008392, allocations: 310.8 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.008497, allocations: 25.56 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.008581, allocations: 15.98 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.008766, allocations: 45.75 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.00877, allocations: 7.25 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002558/0.009026, allocations: 81.55 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.00905, allocations: 7.938 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009055, allocations: 0 / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.009074, allocations: 0.5156 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.009163, allocations: 11.98 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.009169, allocations: 0 / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.009231, allocations: 10.83 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.00924, allocations: 4 kB / 0.5231 GB, free: 14.84 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 (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.0001103/0.00935, allocations: 109.8 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.009379, allocations: 4 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.009679, allocations: 90.72 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009682, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.009686, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009688, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.009853, allocations: 113.8 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.009854, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.009945, allocations: 18.08 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.009948, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.009956, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.009961, allocations: 3.938 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009962, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.0103, allocations: 177.9 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.0103, allocations: 0 / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01032, allocations: 0 / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.01041, allocations: 11.92 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.01048, allocations: 11.98 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.01048, allocations: 2.094 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.01054, allocations: 79.28 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000236/0.01077, allocations: 11.94 kB / 0.5237 GB, free: 14.16 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.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.0002093/0.01098, allocations: 104.2 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.01123, allocations: 44.88 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01123, allocations: 0 / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01134, allocations: 24.77 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.01166, allocations: 8.156 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.01208, allocations: 124.5 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.367e-05/0.01216, allocations: 63.34 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.0122, allocations: 10.81 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.01224, allocations: 8.5 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01224, allocations: 4 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.004234/0.01647, allocations: 0.7573 MB / 0.5248 GB, free: 13 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.800970402895473]