Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006755/0.0006755, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001733, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0006943/0.0006943, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009828/0.001677, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9931/0.9931, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09415/1.087, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7592/0.7592, allocations: 154.5 MB / 398.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2657/1.025, allocations: 49.05 MB / 447.6 MB, free: 6.691 MB / 426.7 MB " [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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.913e-05, allocations: 4.281 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002054/0.002073, allocations: 1.626 MB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.002255, allocations: 128.3 kB / 450.6 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.002281, allocations: 0 / 450.6 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.002302, allocations: 1.703 kB / 450.6 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.002324, allocations: 8.703 kB / 450.7 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.002437, allocations: 17.61 kB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.0025, allocations: 32.91 kB / 450.7 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.002568, allocations: 9.078 kB / 450.7 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.002629, allocations: 21.3 kB / 450.7 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.002673, allocations: 9.516 kB / 450.7 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.002687, allocations: 4.625 kB / 450.8 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.002763, allocations: 23.91 kB / 450.8 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.002775, allocations: 6.484 kB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.00279, allocations: 9.172 kB / 450.8 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.002895, allocations: 26.11 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.002911, allocations: 0.6562 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002911, allocations: 4.5 kB / 450.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.002928, allocations: 2.156 kB / 450.8 MB, free: 3.516 MB / 426.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.0003526/0.003281, allocations: 238.7 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.003313, allocations: 9.125 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.003338, allocations: 8.938 kB / 451.1 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.173e-05/0.00342, allocations: 109.7 kB / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.003438, allocations: 6.594 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.003447, allocations: 0.9375 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.003559, allocations: 66.88 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.003566, allocations: 192 / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.003573, allocations: 384 / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.003578, allocations: 1.641 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.003604, allocations: 13.89 kB / 451.3 MB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.003814, allocations: 153.1 kB / 451.4 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.003952, allocations: 34.55 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.00397, allocations: 12.8 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/0.004036, allocations: 8.922 kB / 451.5 MB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.004056, allocations: 30.56 kB / 451.5 MB, free: 2.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004057, allocations: 0.5625 kB / 451.5 MB, free: 2.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.00011/0.004167, allocations: 51.53 kB / 451.6 MB, free: 2.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.0042, allocations: 52.06 kB / 451.6 MB, free: 2.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.004252, allocations: 110 kB / 451.7 MB, free: 2.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.004261, allocations: 25.7 kB / 451.7 MB, free: 2.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.004289, allocations: 84.12 kB / 451.8 MB, free: 2.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.004305, allocations: 5.156 kB / 451.8 MB, free: 2.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.004332, allocations: 21.72 kB / 451.8 MB, free: 2.367 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.004412, allocations: 318.8 kB / 452.2 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.004422, allocations: 7.938 kB / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.004432, allocations: 4 kB / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.00446, allocations: 22.91 kB / 452.2 MB, free: 2.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.004462, allocations: 0 / 452.2 MB, free: 2.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.645e-05/0.004509, allocations: 37.69 kB / 452.2 MB, free: 1.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.004522, allocations: 9.875 kB / 452.2 MB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.004527, allocations: 0 / 452.2 MB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.004538, allocations: 3.938 kB / 452.2 MB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.004594, allocations: 12.53 kB / 452.3 MB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-06/0.004598, allocations: 4.812 kB / 452.3 MB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.004616, allocations: 3.953 kB / 452.3 MB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.00462, allocations: 4 kB / 452.3 MB, free: 1.934 MB / 426.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 (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 5.793e-05/0.004678, allocations: 110.7 kB / 452.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.004699, allocations: 9.766 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.00478, allocations: 46.3 kB / 452.4 MB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.004783, allocations: 4.5 kB / 452.4 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.004785, allocations: 0 / 452.4 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004787, allocations: 1.312 kB / 452.4 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.908e-05/0.004866, allocations: 65.89 kB / 452.5 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.004867, allocations: 4 kB / 452.5 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.004898, allocations: 9.297 kB / 452.5 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-06/0.004905, allocations: 5.453 kB / 452.5 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.004907, allocations: 1.219 kB / 452.5 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.004912, allocations: 4 kB / 452.5 MB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.004913, allocations: 3.938 kB / 452.5 MB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.004915, allocations: 5 kB / 452.5 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.724e-05/0.004982, allocations: 136.5 kB / 452.7 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.00499, allocations: 0 / 452.7 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.005023, allocations: 9.016 kB / 452.7 MB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.005057, allocations: 8 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.005061, allocations: 7.922 kB / 452.7 MB, free: 1.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.909e-06/0.005071, allocations: 10.86 kB / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005071, allocations: 0.5938 kB / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001196/0.005191, allocations: 4 kB / 452.7 MB, free: 1.457 MB / 426.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.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 9.781e-05/0.005289, allocations: 82.81 kB / 452.8 MB, free: 1.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.005358, allocations: 20.78 kB / 452.8 MB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.005361, allocations: 0.7812 kB / 452.8 MB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.005382, allocations: 22.34 kB / 452.8 MB, free: 1.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.005504, allocations: 8 kB / 452.8 MB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.005829, allocations: 112.2 kB / 452.9 MB, free: 1.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.005865, allocations: 60.73 kB / 453 MB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.332e-05/0.005889, allocations: 1.812 kB / 453 MB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.005931, allocations: 51.38 kB / 453.1 MB, free: 1.051 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.005932, allocations: 0 / 453.1 MB, free: 1.051 MB / 426.7 MB Notification: Performance of Templates: time 0.002179/0.008111, allocations: 0.7808 MB / 453.8 MB, free: 324 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5146891875192523]