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.001149/0.001149, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001339/0.001339, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.052/1.052, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.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.7614/0.7614, allocations: 154.6 MB / 415.6 MB, free: 0.5312 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 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 1.382e-06/1.382e-06, allocations: 1.312 kB / 0.5215 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.657e-05, allocations: 2.312 kB / 0.5215 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001897/0.001914, allocations: 1.587 MB / 0.5231 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.002198, allocations: 131.6 kB / 0.5232 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.002235, allocations: 0.7656 kB / 0.5232 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.002262, allocations: 8.547 kB / 0.5232 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.002306, allocations: 6.953 kB / 0.5232 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.002569, allocations: 36.66 kB / 0.5233 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.002631, allocations: 32.69 kB / 0.5233 GB, free: 15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.00272, allocations: 19.91 kB / 0.5233 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.002759, allocations: 19.98 kB / 0.5233 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.002794, allocations: 13.36 kB / 0.5233 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.002808, allocations: 4 kB / 0.5233 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.00288, allocations: 23.97 kB / 0.5234 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.002893, allocations: 11.92 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.002909, allocations: 8.562 kB / 0.5234 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.003014, allocations: 49 kB / 0.5234 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003015, allocations: 0 / 0.5234 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003016, allocations: 0 / 0.5234 GB, free: 14.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003019, allocations: 0 / 0.5234 GB, free: 14.86 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.0002999/0.003319, allocations: 373.3 kB / 0.5238 GB, free: 14.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.00335, allocations: 12.66 kB / 0.5238 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.003376, allocations: 0.9375 kB / 0.5238 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.326e-05/0.003459, allocations: 121.8 kB / 0.5239 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.003477, allocations: 4.375 kB / 0.5239 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003487, allocations: 8.312 kB / 0.5239 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.003599, allocations: 59.84 kB / 0.524 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.003604, allocations: 192 / 0.524 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.003618, allocations: 4.906 kB / 0.524 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.003627, allocations: 4.375 kB / 0.524 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.917e-05/0.003656, allocations: 15.39 kB / 0.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.003919, allocations: 248.4 kB / 0.5242 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.004066, allocations: 47.05 kB / 0.5243 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.004083, allocations: 11.67 kB / 0.5243 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.004161, allocations: 19.98 kB / 0.5243 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.004181, allocations: 33.39 kB / 0.5244 GB, free: 13.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.004182, allocations: 0 / 0.5244 GB, free: 13.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001284/0.004311, allocations: 58.14 kB / 0.5244 GB, free: 13.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.004339, allocations: 55.41 kB / 0.5245 GB, free: 13.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.004405, allocations: 162.5 kB / 0.5246 GB, free: 13.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.004415, allocations: 26.23 kB / 0.5246 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.004468, allocations: 138.8 kB / 0.5248 GB, free: 13.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.004485, allocations: 8.891 kB / 0.5248 GB, free: 13.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.004514, allocations: 23.36 kB / 0.5248 GB, free: 13.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.004636, allocations: 497.6 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.004649, allocations: 4 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.004659, allocations: 4 kB / 0.5253 GB, free: 12.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.004687, allocations: 15.67 kB / 0.5253 GB, free: 12.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004689, allocations: 0.8125 kB / 0.5253 GB, free: 12.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.677e-05/0.004746, allocations: 53.91 kB / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.004758, allocations: 12.47 kB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004762, allocations: 1.969 kB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.004769, allocations: 0 / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/0.004807, allocations: 4 kB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.004812, allocations: 7.984 kB / 0.5254 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.004831, allocations: 3.984 kB / 0.5254 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.004836, allocations: 4.547 kB / 0.5254 GB, free: 12.66 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.0003474/0.005183, allocations: 157.1 kB / 0.5255 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.005199, allocations: 4.719 kB / 0.5255 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.005274, allocations: 61.23 kB / 0.5256 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005276, allocations: 0.5625 kB / 0.5256 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005277, allocations: 1.781 kB / 0.5256 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00528, allocations: 0 / 0.5256 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.827e-05/0.005368, allocations: 101.2 kB / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005369, allocations: 256 / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.005393, allocations: 8 kB / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.005394, allocations: 6.75 kB / 0.5257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.005398, allocations: 0 / 0.5257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005398, allocations: 0 / 0.5257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0054, allocations: 3.938 kB / 0.5257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.005486, allocations: 199.9 kB / 0.5259 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.005501, allocations: 7.938 kB / 0.5259 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.005509, allocations: 3.938 kB / 0.5259 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.005541, allocations: 5.875 kB / 0.5259 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.005578, allocations: 15.86 kB / 0.5259 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.00558, allocations: 0 / 0.5259 GB, free: 12.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.013e-05/0.005611, allocations: 123.2 kB / 0.5261 GB, free: 11.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005611, allocations: 0 / 0.5261 GB, free: 11.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.005758, allocations: 12.92 kB / 0.5261 GB, free: 11.91 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 8.929e-05/0.005847, allocations: 104 kB / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.005908, allocations: 23.67 kB / 0.5262 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.005909, allocations: 0.6562 kB / 0.5262 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.005931, allocations: 18.78 kB / 0.5262 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.006089, allocations: 17.41 kB / 0.5262 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.006286, allocations: 126.2 kB / 0.5264 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.006314, allocations: 55.36 kB / 0.5264 GB, free: 11.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.006333, allocations: 3.984 kB / 0.5264 GB, free: 11.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.006375, allocations: 77.33 kB / 0.5265 GB, free: 11.43 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006375, allocations: 0 / 0.5265 GB, free: 11.43 MB / 458.7 MB Notification: Performance of Templates: time 0.00227/0.008645, allocations: 0.8637 MB / 0.5273 GB, free: 10.61 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: 3.684708580840379]