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.0009787/0.0009787, allocations: 73.97 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.001032/0.001032, allocations: 173 kB / 24.06 MB, free: 452 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.068/1.068, 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.8089/0.8089, allocations: 154.9 MB / 415.9 MB, free: 240 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.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.884e-06/1.884e-06, allocations: 3.938 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.731e-05, allocations: 3.219 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002216/0.002243, allocations: 1.562 MB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003134/0.002556, allocations: 131.4 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.002594, allocations: 0.875 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.002621, allocations: 4.5 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.002666, allocations: 1.766 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.002892, allocations: 31.8 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.002955, allocations: 31.91 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.003038, allocations: 8.766 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.003087, allocations: 15.98 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.003127, allocations: 13.08 kB / 0.5237 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.003142, allocations: 4 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.003204, allocations: 11.98 kB / 0.5237 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.00322, allocations: 12.95 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.003234, allocations: 8 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.994e-05/0.003334, allocations: 33.42 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.003338, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003339, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003342, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB 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.0003338/0.003676, allocations: 369.5 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.003709, allocations: 12.03 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.003739, allocations: 0.9375 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.003821, allocations: 121.2 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.003837, allocations: 384 / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.003846, allocations: 9.656 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.003959, allocations: 54.94 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003965, allocations: 192 / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.003973, allocations: 1.188 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.00398, allocations: 4.375 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.748e-05/0.004007, allocations: 16.7 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.004254, allocations: 240.4 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.004425, allocations: 47.75 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.004445, allocations: 12.59 kB / 0.5246 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.885e-05/0.004514, allocations: 4 kB / 0.5246 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.004539, allocations: 39.64 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.00454, allocations: 4 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.004681, allocations: 57.55 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.004714, allocations: 51.41 kB / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.004781, allocations: 153.9 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.004793, allocations: 26.7 kB / 0.5249 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.004845, allocations: 142.8 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.004861, allocations: 7.953 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.00489, allocations: 20.75 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.005019, allocations: 492.1 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.005041, allocations: 7.984 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.019e-05/0.005051, allocations: 0 / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.005085, allocations: 24.33 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005087, allocations: 1.5 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.9e-05/0.005156, allocations: 49.64 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.005168, allocations: 4 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.005172, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005184, allocations: 9.078 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.005237, allocations: 7.984 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.005239, allocations: 4.844 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.005259, allocations: 4 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005264, allocations: 0.5625 kB / 0.5256 GB, free: 13.52 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.583e-05/0.00533, allocations: 157.2 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.005349, allocations: 8.609 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.005442, allocations: 57.3 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.005445, allocations: 4.719 kB / 0.5259 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005446, allocations: 0 / 0.5259 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.00545, allocations: 1.031 kB / 0.5259 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.322e-05/0.005543, allocations: 101.2 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.005544, allocations: 2.875 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.00558, allocations: 11.98 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.005582, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.005586, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005587, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.005589, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.005694, allocations: 203.8 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.0057, allocations: 0 / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.005708, allocations: 2.438 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.005744, allocations: 7.984 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.005779, allocations: 7.938 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.005784, allocations: 8 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.005823, allocations: 127.2 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005823, allocations: 0 / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001479/0.005971, allocations: 8 kB / 0.5263 GB, free: 12.77 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.0001167/0.006087, allocations: 96.69 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.262e-05/0.00616, allocations: 28.7 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006161, allocations: 0 / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.00619, allocations: 19.61 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.006345, allocations: 5.156 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.006546, allocations: 125.4 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.006577, allocations: 55.34 kB / 0.5266 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.006596, allocations: 7.938 kB / 0.5266 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.006643, allocations: 70.2 kB / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/0.006644, allocations: 0 / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.00235/0.008994, allocations: 0.8485 MB / 0.5275 GB, free: 11.5 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.9217291460372508]