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.002182/0.002182, allocations: 93.47 kB / 19.44 MB, free: 336 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.00277/0.00277, allocations: 169.2 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.334/1.334, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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.754e-06/1.754e-06, allocations: 0 / 0.5196 GB, free: 1.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.559e-05, allocations: 7.688 kB / 0.5196 GB, free: 1.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.004217/0.004252, allocations: 1.552 MB / 0.5211 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.004829, allocations: 139.5 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.004884, allocations: 0 / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.004927, allocations: 3.938 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.004997, allocations: 1.75 kB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.005398, allocations: 41.48 kB / 0.5213 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.005513, allocations: 33.25 kB / 0.5214 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.005637, allocations: 11.98 kB / 0.5214 GB, free: 15.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.005714, allocations: 24.86 kB / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.005769, allocations: 11.97 kB / 0.5214 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.005793, allocations: 4.531 kB / 0.5214 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005906, allocations: 19.98 kB / 0.5214 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.005935, allocations: 17.31 kB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.005966, allocations: 8 kB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.006154, allocations: 51.8 kB / 0.5215 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.006162, allocations: 4.938 kB / 0.5215 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006162, allocations: 0 / 0.5215 GB, free: 15.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006167, allocations: 0 / 0.5215 GB, free: 15.55 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.0006908/0.006858, allocations: 377.7 kB / 0.5219 GB, free: 15.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.006906, allocations: 8.031 kB / 0.5219 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.006967, allocations: 8.875 kB / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.007134, allocations: 112.6 kB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.007162, allocations: 5.406 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.007183, allocations: 8.359 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.007404, allocations: 58.92 kB / 0.5221 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.007415, allocations: 192 / 0.5221 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.007427, allocations: 1.656 kB / 0.5221 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.007433, allocations: 384 / 0.5221 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.007623, allocations: 35.91 kB / 0.5221 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.008212, allocations: 288.3 kB / 0.5224 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.00863, allocations: 56.02 kB / 0.5224 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.008733, allocations: 23.73 kB / 0.5224 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.008891, allocations: 16.48 kB / 0.5225 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.008942, allocations: 45.98 kB / 0.5225 GB, free: 14.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.008943, allocations: 0 / 0.5225 GB, free: 14.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004556/0.009398, allocations: 79.69 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.009455, allocations: 51.41 kB / 0.5226 GB, free: 14.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.00963, allocations: 169.9 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.009654, allocations: 25.7 kB / 0.5228 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.009765, allocations: 136 kB / 0.5229 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.009791, allocations: 12.02 kB / 0.523 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.009852, allocations: 19.38 kB / 0.523 GB, free: 13.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003362/0.01019, allocations: 0.4899 MB / 0.5234 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/0.01029, allocations: 15.98 kB / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.01036, allocations: 11.98 kB / 0.5235 GB, free: 13.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.01053, allocations: 44.11 kB / 0.5235 GB, free: 13.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01054, allocations: 1.031 kB / 0.5235 GB, free: 13.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002513/0.01079, allocations: 69.56 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.01081, allocations: 8.969 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01082, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.01083, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.01093, allocations: 12.61 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01093, allocations: 0.5 kB / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.01099, allocations: 0 / 0.5236 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.011, allocations: 10.55 kB / 0.5236 GB, free: 13.19 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 0.00017/0.01117, allocations: 156.5 kB / 0.5238 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.01122, allocations: 11.94 kB / 0.5238 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.01151, allocations: 69.67 kB / 0.5238 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01152, allocations: 0 / 0.5238 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.01152, allocations: 6.438 kB / 0.5238 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01153, allocations: 4.031 kB / 0.5239 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.01177, allocations: 124.6 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01177, allocations: 0 / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.01185, allocations: 7.984 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01186, allocations: 0 / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01187, allocations: 13.62 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01187, allocations: 256 / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01187, allocations: 0 / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.01225, allocations: 219.8 kB / 0.5242 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.01226, allocations: 5.031 kB / 0.5242 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.01228, allocations: 3.938 kB / 0.5242 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.01238, allocations: 0 / 0.5242 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.01246, allocations: 12.92 kB / 0.5242 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01247, allocations: 3.938 kB / 0.5242 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01258, allocations: 127.2 kB / 0.5243 GB, free: 12.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01258, allocations: 3.25 kB / 0.5244 GB, free: 12.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.01297, allocations: 15.94 kB / 0.5244 GB, free: 12.36 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.0002452/0.01322, allocations: 99.25 kB / 0.5245 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01348, allocations: 43.59 kB / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01349, allocations: 0 / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.0136, allocations: 31.67 kB / 0.5245 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.014, allocations: 17.47 kB / 0.5246 GB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.01446, allocations: 130.3 kB / 0.5247 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.01456, allocations: 67.2 kB / 0.5247 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.01461, allocations: 5.406 kB / 0.5247 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.01466, allocations: 12.5 kB / 0.5248 GB, free: 11.89 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01466, allocations: 4 kB / 0.5248 GB, free: 11.89 MB / 458.7 MB Notification: Performance of Templates: time 0.005536/0.02019, allocations: 0.7777 MB / 0.5255 GB, free: 11.14 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.020689385011792]