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.00104/0.00104, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009727/0.0009727, allocations: 173 kB / 23.49 MB, free: 1.059 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.9438/0.9438, allocations: 177.1 MB / 203.8 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.7826/0.7826, allocations: 154.8 MB / 415.1 MB, free: 0.4961 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.573e-06/1.573e-06, allocations: 0 / 0.5206 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.048e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.00235/0.002371, allocations: 1.568 MB / 0.5221 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003342/0.002705, allocations: 124.2 kB / 0.5222 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.002747, allocations: 0.9688 kB / 0.5222 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.002778, allocations: 3.938 kB / 0.5222 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.002827, allocations: 5.156 kB / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.003108, allocations: 31.83 kB / 0.5223 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.003185, allocations: 32.89 kB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003296, allocations: 4 kB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.00336, allocations: 19.97 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.003407, allocations: 12.48 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003425, allocations: 4.5 kB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.003498, allocations: 15.98 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.003515, allocations: 4.75 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.003541, allocations: 7.984 kB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.003691, allocations: 41 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003693, allocations: 0 / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003694, allocations: 0 / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.003699, allocations: 0.5312 kB / 0.5224 GB, free: 408 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.0004269/0.004126, allocations: 366.4 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.004182, allocations: 8.078 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.004225, allocations: 4.938 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.004322, allocations: 112.5 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.004348, allocations: 8.375 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.004357, allocations: 2.094 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.0045, allocations: 62.89 kB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004509, allocations: 192 / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.00452, allocations: 384 / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.004529, allocations: 1.844 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.004577, allocations: 19.86 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.004899, allocations: 263.8 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.005093, allocations: 39.8 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.005122, allocations: 21.2 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.005207, allocations: 8 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.005229, allocations: 41.33 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.005231, allocations: 0 / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001441/0.005375, allocations: 50.97 kB / 0.5234 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.005402, allocations: 55.41 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.005466, allocations: 161.9 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.005475, allocations: 26.33 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.005514, allocations: 126.9 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.005529, allocations: 11.23 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.005558, allocations: 27.36 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.005654, allocations: 492.1 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.005671, allocations: 11.94 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.005682, allocations: 3.984 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.005715, allocations: 19.62 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005716, allocations: 0 / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.788e-05/0.005774, allocations: 54.16 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005787, allocations: 12.47 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005791, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.005802, allocations: 0.5 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.005842, allocations: 8.578 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.005847, allocations: 0 / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.005866, allocations: 4.844 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.00587, allocations: 0 / 0.5243 GB, free: 14.22 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.126e-05/0.005931, allocations: 166 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.005952, allocations: 3.984 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.006053, allocations: 58.05 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006055, allocations: 0 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.006059, allocations: 0 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006063, allocations: 1.219 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.006164, allocations: 124.6 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006165, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.006191, allocations: 6.75 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006194, allocations: 4 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.006202, allocations: 3.984 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006204, allocations: 3.938 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006205, allocations: 0 / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.006314, allocations: 195.8 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.006319, allocations: 4 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.006334, allocations: 6.75 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.006367, allocations: 7.938 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.006423, allocations: 3.984 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.006427, allocations: 4 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.006467, allocations: 127.2 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006467, allocations: 0 / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001444/0.006611, allocations: 8 kB / 0.525 GB, free: 13.44 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.0001264/0.006738, allocations: 100.1 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.006842, allocations: 32.55 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006844, allocations: 0 / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.006876, allocations: 20.61 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.007058, allocations: 7.938 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.007304, allocations: 120.2 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.007334, allocations: 55.36 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.007355, allocations: 10.42 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.007379, allocations: 16.5 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.007379, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.002305/0.009684, allocations: 0.752 MB / 0.5261 GB, free: 12.3 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.832533151144162]