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.0009189/0.0009189, allocations: 93.06 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.001004/0.001004, allocations: 169 kB / 23.02 MB, free: 1.551 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.9461/0.9461, 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 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 0.8022/0.8022, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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 179] 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 2.555e-06/2.555e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.498e-05, allocations: 4.891 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001952/0.001977, allocations: 1.569 MB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006097/0.002587, allocations: 128.7 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.002622, allocations: 0 / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.002655, allocations: 0.5938 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.002705, allocations: 9.594 kB / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.002983, allocations: 28.67 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.003051, allocations: 28.8 kB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.003142, allocations: 4.594 kB / 0.522 GB, free: 444 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.003197, allocations: 24.53 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.003241, allocations: 7.984 kB / 0.5221 GB, free: 412 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.003258, allocations: 4.625 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.003324, allocations: 16.8 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.003337, allocations: 4 kB / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003357, allocations: 11.98 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.003481, allocations: 36.78 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003484, allocations: 0 / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003485, allocations: 1.75 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.003488, allocations: 0 / 0.5222 GB, free: 340 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.0003596/0.003848, allocations: 364.6 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.003886, allocations: 8.031 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.00393, allocations: 4.938 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.004018, allocations: 110.3 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.004041, allocations: 8.375 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.004052, allocations: 384 / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.004178, allocations: 62.94 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004187, allocations: 0.9375 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004197, allocations: 4.312 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.004206, allocations: 1.781 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.004244, allocations: 15.92 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.004572, allocations: 263.8 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.004759, allocations: 40.3 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.004786, allocations: 23.67 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/0.004864, allocations: 6 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.004895, allocations: 41.39 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.004896, allocations: 0 / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.005053, allocations: 53.56 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.005083, allocations: 55.41 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.005159, allocations: 164.1 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.005169, allocations: 25.7 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.005215, allocations: 126.9 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005232, allocations: 11.95 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.00526, allocations: 23.36 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.005379, allocations: 496.1 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.005398, allocations: 8.5 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.00541, allocations: 1.188 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.00545, allocations: 31.75 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005452, allocations: 0.8125 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.181e-05/0.005514, allocations: 45.64 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.005528, allocations: 13 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005533, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.005548, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.005589, allocations: 5.031 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.005596, allocations: 7.922 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.005613, allocations: 4 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005619, allocations: 5.531 kB / 0.5241 GB, free: 14.14 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 6.194e-05/0.005681, allocations: 156.6 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.005695, allocations: 0 / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-05/0.005793, allocations: 58.33 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005794, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005798, allocations: 0.6875 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.005805, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.43e-05/0.0059, allocations: 125.8 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.0059, allocations: 0 / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.005926, allocations: 4 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.00593, allocations: 4 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.005937, allocations: 7.109 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005939, allocations: 3.938 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.005941, allocations: 3.938 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.728e-05/0.006038, allocations: 191.9 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.006044, allocations: 11.94 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.006053, allocations: 0 / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.006085, allocations: 7.938 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.006127, allocations: 3.984 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006131, allocations: 11.03 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.006172, allocations: 123.2 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006172, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000142/0.006314, allocations: 8 kB / 0.5248 GB, free: 13.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.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.0001065/0.006421, allocations: 98.09 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.006507, allocations: 31.89 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.006508, allocations: 1.5 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.006533, allocations: 19.77 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.006699, allocations: 7.984 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.006944, allocations: 121.7 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006979, allocations: 55.36 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.006999, allocations: 7.984 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.007026, allocations: 16.5 kB / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.007027, allocations: 0 / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.002375/0.009402, allocations: 0.7544 MB / 0.5259 GB, free: 12.25 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8500835062004626]