Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001317/0.001317, allocations: 92.7 kB / 19.44 MB, free: 324 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.001529/0.001529, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.252/1.252, allocations: 154.8 MB / 414.3 MB, free: 484 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 178] 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.288e-05, allocations: 5.375 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001644/0.001676, allocations: 0.5894 MB / 0.5205 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.001928, allocations: 49.88 kB / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.001944, allocations: 0 / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.001955, allocations: 0 / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.001962, allocations: 0 / 0.5205 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.002203, allocations: 17.44 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.002241, allocations: 1.312 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.00228, allocations: 8.953 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.002306, allocations: 0 / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.002327, allocations: 0 / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.002346, allocations: 5 kB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.002443, allocations: 11.98 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.002454, allocations: 1.312 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.002472, allocations: 0.8125 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.476e-05/0.002567, allocations: 11.97 kB / 0.5206 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.002569, allocations: 1.344 kB / 0.5206 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00257, allocations: 0 / 0.5206 GB, free: 1.559 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.002574, allocations: 0 / 0.5206 GB, free: 1.559 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003415/0.002916, allocations: 250.8 kB / 0.5208 GB, free: 1.281 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.002953, allocations: 8.031 kB / 0.5208 GB, free: 1.273 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.002998, allocations: 5.969 kB / 0.5208 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.003101, allocations: 109.8 kB / 0.5209 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.003112, allocations: 384 / 0.5209 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.003119, allocations: 1.5 kB / 0.521 GB, free: 1.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.003223, allocations: 38.2 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.003231, allocations: 0.8125 kB / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.003239, allocations: 384 / 0.521 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.003246, allocations: 6.016 kB / 0.521 GB, free: 1.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.833e-05/0.003284, allocations: 7.938 kB / 0.521 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.003445, allocations: 101.3 kB / 0.5211 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.003504, allocations: 18.61 kB / 0.5211 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.003523, allocations: 6.672 kB / 0.5211 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.00365, allocations: 8.047 kB / 0.5211 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.003694, allocations: 42.5 kB / 0.5212 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.003694, allocations: 0 / 0.5212 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.003848, allocations: 39.44 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.003891, allocations: 51.41 kB / 0.5213 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.003957, allocations: 93.86 kB / 0.5213 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.00398, allocations: 29.7 kB / 0.5214 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.004023, allocations: 80.89 kB / 0.5215 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.004038, allocations: 0 / 0.5215 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.004069, allocations: 15.12 kB / 0.5215 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.004241, allocations: 314.8 kB / 0.5218 GB, free: 204 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.004254, allocations: 4 kB / 0.5218 GB, free: 200 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.004278, allocations: 7.984 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.004317, allocations: 14.14 kB / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004318, allocations: 0 / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.78e-05/0.004386, allocations: 43.09 kB / 0.5218 GB, free: 128 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.004401, allocations: 9.562 kB / 0.5218 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004405, allocations: 0 / 0.5218 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.004421, allocations: 0 / 0.5218 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.004479, allocations: 10.55 kB / 0.5219 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.004484, allocations: 3.938 kB / 0.5219 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.004499, allocations: 3.938 kB / 0.5219 GB, free: 104 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.004503, allocations: 0 / 0.5219 GB, free: 104 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001001/0.004603, allocations: 109.8 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.00461, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.004714, allocations: 49.34 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004716, allocations: 0.5312 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.004719, allocations: 0.9688 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.004721, allocations: 0 / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.004818, allocations: 105.3 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004819, allocations: 1.031 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.004844, allocations: 7.984 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.004845, allocations: 0 / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.004855, allocations: 4.938 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004856, allocations: 0 / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004857, allocations: 3.25 kB / 0.5221 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.004985, allocations: 73 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.004993, allocations: 3.938 kB / 0.5222 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.005005, allocations: 0 / 0.5222 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.005022, allocations: 0 / 0.5222 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.005061, allocations: 4 kB / 0.5222 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.005065, allocations: 0 / 0.5222 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.005129, allocations: 75.28 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.005129, allocations: 0 / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003438/0.005473, allocations: 6.906 kB / 0.5223 GB, free: 15.61 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002137/0.005687, allocations: 103.2 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.163e-05/0.005778, allocations: 12 kB / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00578, allocations: 0 / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.005811, allocations: 7.938 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.006014, allocations: 1.5 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.006319, allocations: 95.67 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.844e-05/0.006387, allocations: 51.36 kB / 0.5225 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.006403, allocations: 4.5 kB / 0.5225 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.006432, allocations: 18.67 kB / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.006433, allocations: 0 / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.003886/0.01032, allocations: 344.6 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952414968051016]