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.002291/0.002291, allocations: 85.48 kB / 19.44 MB, free: 344 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.002652/0.002652, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.461 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.402/1.402, allocations: 154.8 MB / 414.3 MB, free: 384 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.643e-06/1.643e-06, allocations: 0 / 0.5199 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.093e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.105 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001913/0.001944, allocations: 0.602 MB / 0.5205 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.002203, allocations: 44.47 kB / 0.5205 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.00222, allocations: 0 / 0.5205 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.002234, allocations: 0.9688 kB / 0.5205 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.00224, allocations: 0 / 0.5205 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.002465, allocations: 8.75 kB / 0.5205 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.002505, allocations: 9 kB / 0.5206 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.002541, allocations: 3.938 kB / 0.5206 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.002572, allocations: 5.922 kB / 0.5206 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.286e-05/0.002595, allocations: 3.984 kB / 0.5206 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.002608, allocations: 0 / 0.5206 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.002692, allocations: 17.17 kB / 0.5206 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.268e-06/0.002701, allocations: 336 / 0.5206 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.002718, allocations: 3.938 kB / 0.5206 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.00281, allocations: 16.47 kB / 0.5206 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.002813, allocations: 0 / 0.5206 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002813, allocations: 0.5 kB / 0.5206 GB, free: 1.426 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.002817, allocations: 1.031 kB / 0.5206 GB, free: 1.426 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.0004323/0.00325, allocations: 336.4 kB / 0.5209 GB, free: 1.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.003292, allocations: 8.031 kB / 0.5209 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.00334, allocations: 10.14 kB / 0.5209 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.00345, allocations: 104.6 kB / 0.521 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.003463, allocations: 384 / 0.521 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.003478, allocations: 10.14 kB / 0.5211 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.003598, allocations: 34.27 kB / 0.5211 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.003606, allocations: 192 / 0.5211 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003615, allocations: 4.375 kB / 0.5211 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003619, allocations: 6.125 kB / 0.5211 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.003665, allocations: 7.922 kB / 0.5211 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.003854, allocations: 108.6 kB / 0.5212 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.003932, allocations: 31.09 kB / 0.5212 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.003959, allocations: 13.41 kB / 0.5213 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.004103, allocations: 7.984 kB / 0.5213 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.004145, allocations: 33.39 kB / 0.5213 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004146, allocations: 0 / 0.5213 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.004323, allocations: 46.39 kB / 0.5213 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.004369, allocations: 51.41 kB / 0.5214 GB, free: 500 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.004475, allocations: 147.6 kB / 0.5215 GB, free: 340 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.004492, allocations: 25.7 kB / 0.5215 GB, free: 308 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.00456, allocations: 126.9 kB / 0.5217 GB, free: 176 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.00459, allocations: 11.95 kB / 0.5217 GB, free: 164 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.004629, allocations: 16.72 kB / 0.5217 GB, free: 140 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.004918, allocations: 0.4883 MB / 0.5222 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.00493, allocations: 3.938 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.00494, allocations: 5.125 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.004982, allocations: 23.61 kB / 0.5222 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004984, allocations: 2.781 kB / 0.5222 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.744e-05/0.005051, allocations: 37.7 kB / 0.5222 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005063, allocations: 4 kB / 0.5222 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.005069, allocations: 4 kB / 0.5223 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.005082, allocations: 0 / 0.5223 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.005133, allocations: 0 / 0.5223 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.005146, allocations: 7.984 kB / 0.5223 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.005162, allocations: 8.438 kB / 0.5223 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.005166, allocations: 0.5625 kB / 0.5223 GB, free: 15.54 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 (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.0001095/0.005275, allocations: 153.5 kB / 0.5224 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.005287, allocations: 4 kB / 0.5224 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.005387, allocations: 49.81 kB / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.005388, allocations: 0 / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005391, allocations: 0 / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005393, allocations: 0.9375 kB / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005494, allocations: 108.6 kB / 0.5226 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005495, allocations: 4 kB / 0.5226 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.005514, allocations: 3.094 kB / 0.5226 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005515, allocations: 0 / 0.5226 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.005526, allocations: 7.984 kB / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005527, allocations: 0 / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005528, allocations: 0 / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.005633, allocations: 80.33 kB / 0.5227 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.005641, allocations: 7.984 kB / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.00566, allocations: 6.781 kB / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.005671, allocations: 0 / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.005698, allocations: 0 / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.005703, allocations: 4 kB / 0.5227 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.913e-05/0.005773, allocations: 119.2 kB / 0.5228 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005773, allocations: 0 / 0.5228 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001701/0.005943, allocations: 4 kB / 0.5228 GB, free: 14.93 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.0001603/0.006103, allocations: 108.4 kB / 0.5229 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.006186, allocations: 15.69 kB / 0.5229 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.00619, allocations: 4.5 kB / 0.5229 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.006217, allocations: 17.56 kB / 0.5229 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.006333, allocations: 2.344 kB / 0.5229 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.006566, allocations: 101.3 kB / 0.523 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.006632, allocations: 55.36 kB / 0.5231 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.108e-05/0.006644, allocations: 2.438 kB / 0.5231 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.006663, allocations: 8.5 kB / 0.5231 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.006663, allocations: 0 / 0.5231 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.003001/0.009664, allocations: 346.7 kB / 0.5234 GB, free: 14.23 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.132664322038181]