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.001483/0.001483, allocations: 88.72 kB / 19.44 MB, free: 360 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.001813/0.001813, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.247/1.247, allocations: 154.6 MB / 414.1 MB, free: 0.6289 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.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 1.864e-06/1.864e-06, allocations: 0 / 0.5196 GB, free: 1.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.207e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003277/0.003309, allocations: 1.547 MB / 0.5211 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.00376, allocations: 138 kB / 0.5213 GB, free: 15.76 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.003805, allocations: 0 / 0.5213 GB, free: 15.76 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.003838, allocations: 3.938 kB / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.003898, allocations: 11.28 kB / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.004238, allocations: 31.89 kB / 0.5213 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.004339, allocations: 43.03 kB / 0.5213 GB, free: 15.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.004438, allocations: 11.98 kB / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.004501, allocations: 16.94 kB / 0.5214 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.004558, allocations: 19.92 kB / 0.5214 GB, free: 15.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.004578, allocations: 6.031 kB / 0.5214 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.004674, allocations: 15.98 kB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.004697, allocations: 15.97 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.004732, allocations: 8 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.004903, allocations: 51.8 kB / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004906, allocations: 0 / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004907, allocations: 0.75 kB / 0.5215 GB, free: 15.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.004912, allocations: 0 / 0.5215 GB, free: 15.54 MB / 458.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.0005752/0.005488, allocations: 282.9 kB / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.00553, allocations: 8.594 kB / 0.5218 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.005586, allocations: 5.656 kB / 0.5218 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.005725, allocations: 109.8 kB / 0.5219 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.005755, allocations: 5.75 kB / 0.5219 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.005771, allocations: 8.375 kB / 0.5219 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.006009, allocations: 70.14 kB / 0.522 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006018, allocations: 0.9688 kB / 0.522 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006028, allocations: 384 / 0.522 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.006032, allocations: 1.156 kB / 0.522 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.006252, allocations: 51.02 kB / 0.522 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.006688, allocations: 224.4 kB / 0.5222 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.007043, allocations: 54.61 kB / 0.5223 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.007153, allocations: 24.83 kB / 0.5223 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.007284, allocations: 15.98 kB / 0.5223 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.007319, allocations: 34.5 kB / 0.5223 GB, free: 14.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.00732, allocations: 0.5 kB / 0.5223 GB, free: 14.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004485/0.007769, allocations: 107.1 kB / 0.5225 GB, free: 14.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.007816, allocations: 52.38 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.007917, allocations: 105.9 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.007939, allocations: 25.7 kB / 0.5226 GB, free: 14.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.008007, allocations: 89.09 kB / 0.5227 GB, free: 14.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.008024, allocations: 3.953 kB / 0.5227 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.008065, allocations: 21.72 kB / 0.5227 GB, free: 14.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.008241, allocations: 315.7 kB / 0.523 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.008357, allocations: 21.02 kB / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.681e-05/0.008444, allocations: 15.98 kB / 0.5231 GB, free: 13.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.008633, allocations: 46.03 kB / 0.5231 GB, free: 13.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008635, allocations: 0 / 0.5231 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005077/0.009142, allocations: 91.72 kB / 0.5232 GB, free: 13.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.00916, allocations: 4 kB / 0.5232 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.009165, allocations: 0 / 0.5232 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.009184, allocations: 0 / 0.5232 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.009281, allocations: 13.17 kB / 0.5232 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.009289, allocations: 3.984 kB / 0.5232 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.00935, allocations: 8.75 kB / 0.5232 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.009362, allocations: 8 kB / 0.5232 GB, free: 13.59 MB / 458.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 9.92e-05/0.009461, allocations: 111 kB / 0.5233 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.009493, allocations: 7.938 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.00979, allocations: 90.31 kB / 0.5234 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.009792, allocations: 0.625 kB / 0.5234 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.009796, allocations: 0 / 0.5234 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.009799, allocations: 1.828 kB / 0.5234 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.00997, allocations: 113.3 kB / 0.5235 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009972, allocations: 0 / 0.5235 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.01006, allocations: 11.98 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01006, allocations: 1.531 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01007, allocations: 3.938 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01007, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01007, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.01041, allocations: 178.2 kB / 0.5237 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-06/0.01042, allocations: 0 / 0.5237 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01044, allocations: 8.125 kB / 0.5237 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.01053, allocations: 12 kB / 0.5238 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.01059, allocations: 7.984 kB / 0.5238 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.0106, allocations: 0 / 0.5238 GB, free: 13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.01066, allocations: 89.39 kB / 0.5238 GB, free: 12.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01066, allocations: 0 / 0.5238 GB, free: 12.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.01091, allocations: 11.94 kB / 0.5239 GB, free: 12.9 MB / 458.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.0001998/0.01111, allocations: 99.25 kB / 0.524 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01136, allocations: 44.89 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01136, allocations: 0.7188 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01148, allocations: 34.28 kB / 0.524 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.0118, allocations: 7.281 kB / 0.524 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.01222, allocations: 128.6 kB / 0.5242 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.436e-05/0.0123, allocations: 67.2 kB / 0.5242 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.01233, allocations: 5.531 kB / 0.5242 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.01237, allocations: 8.5 kB / 0.5242 GB, free: 12.46 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01237, allocations: 3.344 kB / 0.5242 GB, free: 12.46 MB / 458.7 MB Notification: Performance of Templates: time 0.003839/0.01621, allocations: 0.7878 MB / 0.525 GB, free: 11.7 MB / 458.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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.844079867005348]