Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0009523/0.0009523, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002392, allocations: 440 kB / 10.41 MB, free: 284 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.001054/0.001054, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002565, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.026/1.026, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08344/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7581/0.7581, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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.2757/1.034, allocations: 49.05 MB / 447.8 MB, free: 6.598 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.761e-05, allocations: 6.75 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002521/0.002548, allocations: 1.651 MB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.00275, allocations: 136.3 kB / 451 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.00278, allocations: 0.6562 kB / 451 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.002804, allocations: 3.984 kB / 451 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.002831, allocations: 7.859 kB / 451 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.003005, allocations: 35.89 kB / 451 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.003071, allocations: 33.12 kB / 451 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.003156, allocations: 9.297 kB / 451 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.003221, allocations: 29.94 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.00327, allocations: 15.61 kB / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.003288, allocations: 4 kB / 451.1 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.003403, allocations: 23.91 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.003423, allocations: 5.75 kB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.003443, allocations: 9.312 kB / 451.1 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.003581, allocations: 35.89 kB / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.003597, allocations: 0 / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003597, allocations: 0 / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.003615, allocations: 1.281 kB / 451.2 MB, free: 3.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005142/0.004129, allocations: 259.5 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004163, allocations: 12.03 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.0042, allocations: 5.625 kB / 451.4 MB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.00431, allocations: 109.7 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.004337, allocations: 5.438 kB / 451.6 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.004359, allocations: 1.031 kB / 451.6 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.004498, allocations: 67.83 kB / 451.6 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004507, allocations: 192 / 451.6 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004517, allocations: 3.016 kB / 451.6 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.004526, allocations: 4.375 kB / 451.6 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.004553, allocations: 9.594 kB / 451.6 MB, free: 2.801 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.004856, allocations: 169.3 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.005013, allocations: 38.56 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.00503, allocations: 10.36 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.00511, allocations: 15.98 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.005131, allocations: 30.64 kB / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.005132, allocations: 0 / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001137/0.005245, allocations: 51.06 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.00527, allocations: 51.41 kB / 452 MB, free: 2.391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.005331, allocations: 114.7 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.005342, allocations: 25.7 kB / 452.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.005376, allocations: 89.58 kB / 452.2 MB, free: 2.145 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.005391, allocations: 9.688 kB / 452.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.005416, allocations: 13.72 kB / 452.2 MB, free: 2.117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.005488, allocations: 314.8 kB / 452.6 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.005498, allocations: 8.609 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.005507, allocations: 4 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.005537, allocations: 29.41 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005539, allocations: 1.203 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.336e-05/0.005582, allocations: 37.69 kB / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.005597, allocations: 8 kB / 452.6 MB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005602, allocations: 3.938 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.005614, allocations: 0 / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.005669, allocations: 4 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005673, allocations: 7.984 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.005694, allocations: 13.03 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005698, allocations: 4 kB / 452.7 MB, free: 1.68 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 (falFac.y,rea2Int.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.788e-05/0.005756, allocations: 111.1 kB / 452.8 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.005768, allocations: 0 / 452.8 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.561e-05/0.005854, allocations: 64.41 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005856, allocations: 0 / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.005858, allocations: 0 / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.005861, allocations: 0.5 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.005946, allocations: 74.56 kB / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005946, allocations: 0.7656 kB / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.005973, allocations: 8.625 kB / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.005979, allocations: 4.547 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.00598, allocations: 0 / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005984, allocations: 0.625 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.005986, allocations: 4.562 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005987, allocations: 0 / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.188e-05/0.006068, allocations: 141.2 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.006078, allocations: 4 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.985e-05/0.006108, allocations: 1.719 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.006153, allocations: 17.84 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.006155, allocations: 0 / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.494e-05/0.00617, allocations: 12.84 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00617, allocations: 0 / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.006301, allocations: 9.453 kB / 453.1 MB, free: 1.191 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 (rea2Int.y,falFac.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 0.0001208/0.006422, allocations: 81.42 kB / 453.2 MB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.006489, allocations: 17.39 kB / 453.2 MB, free: 1.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.006492, allocations: 2.516 kB / 453.2 MB, free: 1.082 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.006518, allocations: 20.84 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.006664, allocations: 39.09 kB / 453.3 MB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.007001, allocations: 128.6 kB / 453.4 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.007032, allocations: 57.45 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.007052, allocations: 1.062 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.007093, allocations: 59.36 kB / 453.5 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007094, allocations: 0 / 453.5 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of Templates: time 0.002289/0.009382, allocations: 0.8083 MB / 454.3 MB, free: 15.97 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.582580056041479]