Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001069/0.001069, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001077/0.001077, allocations: 181 kB / 23.36 MB, free: 1.133 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8579/0.8579, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.446e-05, allocations: 2.312 kB / 480.1 MB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001415/0.00144, allocations: 0.6574 MB / 480.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.001647, allocations: 44.86 kB / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.001662, allocations: 0.8125 kB / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.001674, allocations: 0 / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.001681, allocations: 4.812 kB / 480.8 MB, free: 6.125 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.00187, allocations: 11.92 kB / 480.8 MB, free: 6.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.988e-05/0.00191, allocations: 2.031 kB / 480.8 MB, free: 6.113 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.001945, allocations: 4 kB / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.001975, allocations: 5.141 kB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.772e-05/0.001992, allocations: 3.984 kB / 480.8 MB, free: 6.102 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.002003, allocations: 0 / 480.8 MB, free: 6.102 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.002094, allocations: 13.94 kB / 480.9 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.002104, allocations: 0.7656 kB / 480.9 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.072e-05/0.002115, allocations: 3.984 kB / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.521e-05/0.00219, allocations: 8.547 kB / 480.9 MB, free: 6.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.002192, allocations: 0 / 480.9 MB, free: 6.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002193, allocations: 1.094 kB / 480.9 MB, free: 6.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.002197, allocations: 0.8438 kB / 480.9 MB, free: 6.078 MB / 442.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.0001973/0.002394, allocations: 219.8 kB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.002423, allocations: 8.812 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.002444, allocations: 4.938 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.739e-05/0.002501, allocations: 106.4 kB / 481.2 MB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.002511, allocations: 1.625 kB / 481.2 MB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.002518, allocations: 4.375 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.601e-05/0.002584, allocations: 35.41 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.00259, allocations: 0.7188 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.002595, allocations: 384 / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.0026, allocations: 1.406 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.002617, allocations: 7.938 kB / 481.2 MB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.737e-05/0.002694, allocations: 63.3 kB / 481.3 MB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.002736, allocations: 26.53 kB / 481.3 MB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.002747, allocations: 5.672 kB / 481.3 MB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.002842, allocations: 4.688 kB / 481.3 MB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.002861, allocations: 39.22 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.002862, allocations: 0.5938 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.673e-05/0.002948, allocations: 38.86 kB / 481.4 MB, free: 5.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.002976, allocations: 55.34 kB / 481.5 MB, free: 5.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.106e-05/0.003007, allocations: 90.48 kB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.003015, allocations: 25.7 kB / 481.6 MB, free: 5.242 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.003034, allocations: 84.75 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.003048, allocations: 1.391 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.003068, allocations: 13.72 kB / 481.7 MB, free: 5.137 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.003143, allocations: 323.4 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-06/0.003149, allocations: 0.8125 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.003154, allocations: 0 / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.003177, allocations: 10.64 kB / 482 MB, free: 4.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003178, allocations: 4 kB / 482 MB, free: 4.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.385e-05/0.003222, allocations: 42.67 kB / 482.1 MB, free: 4.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.003233, allocations: 4 kB / 482.1 MB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.003238, allocations: 8.469 kB / 482.1 MB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.00325, allocations: 3.812 kB / 482.1 MB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.875e-05/0.003288, allocations: 0 / 482.1 MB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.003292, allocations: 4 kB / 482.1 MB, free: 4.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-06/0.0033, allocations: 1.094 kB / 482.1 MB, free: 4.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.003303, allocations: 0 / 482.1 MB, free: 4.734 MB / 442.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 5.406e-05/0.003358, allocations: 111.6 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.003363, allocations: 8.531 kB / 482.2 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.003419, allocations: 33.58 kB / 482.2 MB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.003421, allocations: 0.7188 kB / 482.2 MB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.003422, allocations: 0 / 482.2 MB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.003424, allocations: 1.094 kB / 482.2 MB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.314e-05/0.003478, allocations: 82.64 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.003478, allocations: 0 / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.00349, allocations: 4.719 kB / 482.3 MB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.003491, allocations: 3.938 kB / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.003495, allocations: 1.906 kB / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.003496, allocations: 0 / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.003497, allocations: 0 / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.46e-05/0.003541, allocations: 61.06 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-06/0.003545, allocations: 4.766 kB / 482.4 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-06/0.003551, allocations: 0.75 kB / 482.4 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-06/0.003556, allocations: 0 / 482.4 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.003576, allocations: 4.766 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.003577, allocations: 4 kB / 482.4 MB, free: 4.379 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.67e-06/0.003583, allocations: 6.078 kB / 482.4 MB, free: 4.371 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003583, allocations: 0 / 482.4 MB, free: 4.371 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.67e-05/0.003679, allocations: 4.656 kB / 482.4 MB, free: 4.367 MB / 442.7 MB 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.0001031/0.003783, allocations: 81.42 kB / 482.5 MB, free: 4.277 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.76e-05/0.00383, allocations: 21.88 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.003832, allocations: 0.875 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.003843, allocations: 9.734 kB / 482.5 MB, free: 4.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.858e-05/0.003891, allocations: 3.938 kB / 482.5 MB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001373/0.004029, allocations: 87.03 kB / 482.6 MB, free: 4.129 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.55e-05/0.004054, allocations: 55.36 kB / 482.7 MB, free: 4.055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.087e-05/0.004065, allocations: 4 kB / 482.7 MB, free: 4.051 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.004095, allocations: 56 kB / 482.7 MB, free: 3.996 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004096, allocations: 0 / 482.7 MB, free: 3.996 MB / 442.7 MB Notification: Performance of Templates: time 0.001746/0.005842, allocations: 376 kB / 483.1 MB, free: 3.648 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.720794076099992]