Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.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.001912/0.001912, 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.002248/0.002248, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.593e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001609/0.001635, allocations: 0.601 MB / 0.5203 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.001917, allocations: 47.8 kB / 0.5203 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.00194, allocations: 4 kB / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.001984, allocations: 0 / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.001989, allocations: 0 / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.002273, allocations: 22.39 kB / 0.5203 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.002369, allocations: 35.95 kB / 0.5204 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.002406, allocations: 4 kB / 0.5204 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.002451, allocations: 9.078 kB / 0.5204 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.396e-05/0.002485, allocations: 17.55 kB / 0.5204 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.002501, allocations: 0 / 0.5204 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.002609, allocations: 23.91 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.002642, allocations: 16.14 kB / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.002669, allocations: 4.75 kB / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.002791, allocations: 35.94 kB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002793, allocations: 1.469 kB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002794, allocations: 0 / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.002798, allocations: 0 / 0.5205 GB, free: 1.691 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004215/0.00322, allocations: 364.2 kB / 0.5208 GB, free: 1.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.003254, allocations: 13.36 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.003302, allocations: 16.89 kB / 0.5209 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.003413, allocations: 112.5 kB / 0.521 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.00343, allocations: 4.375 kB / 0.521 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.00344, allocations: 1.25 kB / 0.521 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.003583, allocations: 58.23 kB / 0.521 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.003592, allocations: 3.219 kB / 0.521 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.003601, allocations: 384 / 0.521 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.003605, allocations: 384 / 0.521 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.00377, allocations: 95.81 kB / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.003963, allocations: 124.6 kB / 0.5212 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.004088, allocations: 66.98 kB / 0.5213 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.00414, allocations: 28 kB / 0.5213 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.004313, allocations: 23.92 kB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.004356, allocations: 33.95 kB / 0.5214 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.004357, allocations: 0 / 0.5214 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002577/0.004615, allocations: 102.2 kB / 0.5215 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.004659, allocations: 52.16 kB / 0.5215 GB, free: 484 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.004758, allocations: 158.2 kB / 0.5217 GB, free: 312 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.004779, allocations: 26.3 kB / 0.5217 GB, free: 280 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.004845, allocations: 130.8 kB / 0.5218 GB, free: 144 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.00489, allocations: 25.27 kB / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.004951, allocations: 39.36 kB / 0.5219 GB, free: 72 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.005213, allocations: 0.4884 MB / 0.5224 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.005252, allocations: 19.92 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.005281, allocations: 12.92 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.005372, allocations: 45.66 kB / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005373, allocations: 1.406 kB / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001503/0.005524, allocations: 89.55 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.005537, allocations: 4 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005541, allocations: 0 / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.005555, allocations: 1.156 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.005659, allocations: 23.98 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005665, allocations: 0 / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.00569, allocations: 12.7 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.005697, allocations: 0 / 0.5226 GB, free: 15.36 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001297/0.005826, allocations: 169.9 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.005845, allocations: 7.984 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.006059, allocations: 112.2 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006061, allocations: 0 / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.006066, allocations: 4 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.006071, allocations: 6.844 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.006208, allocations: 132.6 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006209, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.006277, allocations: 15.94 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.006281, allocations: 7.984 kB / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.006291, allocations: 3.984 kB / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006292, allocations: 0 / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006293, allocations: 0 / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.00648, allocations: 135 kB / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.006491, allocations: 4 kB / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.006504, allocations: 0 / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.741e-05/0.006521, allocations: 4 kB / 0.5231 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.006559, allocations: 11.92 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.006567, allocations: 4 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.75e-05/0.006624, allocations: 119.2 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006624, allocations: 0 / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001919/0.006816, allocations: 20.59 kB / 0.5233 GB, free: 14.55 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001656/0.006982, allocations: 104.4 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.007142, allocations: 71.61 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007143, allocations: 0 / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.007207, allocations: 40.11 kB / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.007338, allocations: 11.23 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.007654, allocations: 138.2 kB / 0.5236 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.463e-05/0.007729, allocations: 67.34 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.572e-05/0.007804, allocations: 38.25 kB / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.007835, allocations: 12.5 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.007835, allocations: 4 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.003258/0.01109, allocations: 0.5993 MB / 0.5243 GB, free: 13.45 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.143540837918408]