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.001094/0.001094, allocations: 80.94 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.001046/0.001046, allocations: 173 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7942/0.7942, allocations: 154.9 MB / 415.1 MB, free: 256 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.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.703e-06/1.703e-06, allocations: 0 / 480.5 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.119e-05, allocations: 2.312 kB / 480.5 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001409/0.001431, allocations: 0.6532 MB / 481.1 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000211/0.001642, allocations: 52.33 kB / 481.2 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.001656, allocations: 1.406 kB / 481.2 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.001668, allocations: 0.875 kB / 481.2 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.001675, allocations: 0 / 481.2 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.001865, allocations: 7.938 kB / 481.2 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.065e-05/0.001905, allocations: 6.188 kB / 481.2 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.001941, allocations: 8.531 kB / 481.2 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.00197, allocations: 0 / 481.2 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.739e-05/0.001987, allocations: 4.75 kB / 481.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.001998, allocations: 0 / 481.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.002089, allocations: 15.98 kB / 481.2 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.002099, allocations: 0.9062 kB / 481.2 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.709e-06/0.002108, allocations: 0.7656 kB / 481.2 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.027e-05/0.002189, allocations: 9.359 kB / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002191, allocations: 0 / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002191, allocations: 1.094 kB / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.002194, allocations: 0 / 481.2 MB, free: 5.801 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.0001786/0.002373, allocations: 222.4 kB / 481.4 MB, free: 5.559 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.002404, allocations: 8.625 kB / 481.4 MB, free: 5.551 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.002426, allocations: 4.938 kB / 481.4 MB, free: 5.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.234e-05/0.002479, allocations: 106.4 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.002487, allocations: 384 / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-06/0.002491, allocations: 1.656 kB / 481.6 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.427e-05/0.002556, allocations: 30.89 kB / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.002562, allocations: 192 / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.002569, allocations: 1 kB / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.002574, allocations: 1 kB / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.002593, allocations: 11.88 kB / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.977e-05/0.002672, allocations: 69.66 kB / 481.7 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.002713, allocations: 23.14 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.092e-05/0.002724, allocations: 5.891 kB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.00282, allocations: 4.062 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.00284, allocations: 35.73 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.002841, allocations: 0.9062 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.828e-05/0.00293, allocations: 42.53 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.002959, allocations: 51.41 kB / 481.8 MB, free: 5.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.852e-05/0.002987, allocations: 90.62 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.002996, allocations: 26.7 kB / 481.9 MB, free: 4.969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.003016, allocations: 84.12 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.003031, allocations: 0.625 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.00306, allocations: 21.7 kB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.003134, allocations: 320.1 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.00314, allocations: 0 / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.003145, allocations: 0.9844 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.003168, allocations: 10.23 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003169, allocations: 4 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.97e-05/0.003209, allocations: 37.62 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.003218, allocations: 5.062 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.003224, allocations: 4 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.003232, allocations: 0.5312 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.003267, allocations: 0 / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.00327, allocations: 4.938 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-06/0.003278, allocations: 0.9844 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-06/0.003281, allocations: 0.5938 kB / 482.4 MB, free: 4.465 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 4.695e-05/0.003328, allocations: 115.2 kB / 482.5 MB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.003333, allocations: 4 kB / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.003396, allocations: 44.38 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.003399, allocations: 4.766 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.003401, allocations: 0 / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.003405, allocations: 1.406 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.419e-05/0.003459, allocations: 75.22 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.003461, allocations: 0.875 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.003474, allocations: 8 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.003476, allocations: 1.781 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.00348, allocations: 0 / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.003481, allocations: 0 / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.003482, allocations: 0 / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.564e-05/0.003528, allocations: 61.06 kB / 482.7 MB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-06/0.003532, allocations: 4.719 kB / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-06/0.003538, allocations: 0.7656 kB / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-06/0.003543, allocations: 4.594 kB / 482.7 MB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.003565, allocations: 5.422 kB / 482.7 MB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.003567, allocations: 4 kB / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.983e-06/0.003574, allocations: 8.797 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003574, allocations: 0 / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.429e-05/0.003668, allocations: 5.609 kB / 482.8 MB, free: 4.082 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.0001014/0.003769, allocations: 80.23 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.945e-05/0.003819, allocations: 16.84 kB / 482.9 MB, free: 3.977 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.003821, allocations: 0.8125 kB / 482.9 MB, free: 3.977 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.003833, allocations: 9.453 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.764e-05/0.00388, allocations: 8.953 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/0.00404, allocations: 89.94 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.813e-05/0.004068, allocations: 61.14 kB / 483 MB, free: 3.766 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.053e-05/0.004079, allocations: 0 / 483 MB, free: 3.766 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.004106, allocations: 51.38 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.004107, allocations: 0.6562 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of Templates: time 0.001725/0.005832, allocations: 375.6 kB / 483.4 MB, free: 3.367 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.782368670217693]