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.001074/0.001074, allocations: 92.22 kB / 19.65 MB, free: 280 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.00119/0.00119, allocations: 165 kB / 23.02 MB, free: 1.555 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 0.9883/0.9883, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.813/0.813, allocations: 154.8 MB / 414.7 MB, free: 0.5039 MB / 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.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.372e-06/1.372e-06, allocations: 0.875 kB / 0.5206 GB, free: 1.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.385e-05, allocations: 6.25 kB / 0.5206 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002092/0.002116, allocations: 1.575 MB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.002412, allocations: 124.4 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.002446, allocations: 0.6562 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.002477, allocations: 9.453 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.002518, allocations: 4.703 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.002748, allocations: 27.86 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.002808, allocations: 31.91 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.00289, allocations: 13.02 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.56e-05/0.002936, allocations: 8 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.002978, allocations: 12.67 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.002991, allocations: 4 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.003048, allocations: 21.25 kB / 0.5224 GB, free: 168 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.003061, allocations: 3.938 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.00308, allocations: 11.98 kB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.003196, allocations: 31.89 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003199, allocations: 0.625 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.0032, allocations: 0.9688 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.003205, allocations: 0 / 0.5224 GB, free: 120 kB / 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.0007093/0.003914, allocations: 368.5 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.003954, allocations: 12.53 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.003991, allocations: 1.656 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.783e-05/0.004069, allocations: 116.5 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.004088, allocations: 2.438 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.004099, allocations: 4.375 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.004235, allocations: 62.94 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004244, allocations: 192 / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004253, allocations: 384 / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.00426, allocations: 1.562 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.004296, allocations: 15.94 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.004589, allocations: 263.7 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.004758, allocations: 44.52 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.004782, allocations: 11.75 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.004864, allocations: 8.844 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.004886, allocations: 41.39 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.004887, allocations: 0 / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001462/0.005033, allocations: 54.52 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.005056, allocations: 55.41 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.005123, allocations: 159.8 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005133, allocations: 25.7 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.005178, allocations: 134.9 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.005192, allocations: 3.953 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.00522, allocations: 23.88 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005333, allocations: 497.2 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.005356, allocations: 7.984 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.005369, allocations: 8.031 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.005407, allocations: 24.59 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.00541, allocations: 0 / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.944e-05/0.005479, allocations: 50.27 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.005495, allocations: 10.28 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.0055, allocations: 4.594 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.005518, allocations: 5.281 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.00557, allocations: 7.984 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.005576, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.005597, allocations: 4 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.005602, allocations: 1.812 kB / 0.5243 GB, free: 13.93 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 7.034e-05/0.005673, allocations: 156.6 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.00569, allocations: 7.984 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.005807, allocations: 58.97 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.005809, allocations: 0 / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.005814, allocations: 0 / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.005817, allocations: 0 / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.005919, allocations: 124.6 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00592, allocations: 1.031 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.005949, allocations: 7.984 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.005952, allocations: 0 / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.00596, allocations: 4.938 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005962, allocations: 3.938 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005963, allocations: 3.25 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.006088, allocations: 195.8 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.006096, allocations: 4 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.006108, allocations: 3.984 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.006143, allocations: 7.938 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.006193, allocations: 7.984 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.006196, allocations: 0 / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.00623, allocations: 123.2 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00623, allocations: 0 / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001431/0.006373, allocations: 11.03 kB / 0.525 GB, free: 13.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.0001243/0.006498, allocations: 107.6 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.374e-05/0.006581, allocations: 23.67 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006583, allocations: 0 / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.006605, allocations: 23.61 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.006773, allocations: 13.41 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.007026, allocations: 118.2 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.007061, allocations: 63.28 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.007077, allocations: 1.281 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.007104, allocations: 13.16 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.007105, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.002445/0.00955, allocations: 0.7528 MB / 0.5261 GB, free: 12.02 MB / 0.4948 GB " [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: 3.875096997246146]