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.001523/0.001523, allocations: 92.22 kB / 19.65 MB, free: 280 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.001686/0.001686, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9964/0.9964, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7831/0.7831, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.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.272e-06/1.272e-06, allocations: 3.938 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.556e-05, allocations: 4 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0009884/0.001004, allocations: 0.59 MB / 0.521 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.001191, allocations: 61 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.001205, allocations: 0 / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.001233, allocations: 0 / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.001238, allocations: 0.9844 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.001465, allocations: 24.55 kB / 0.521 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.001526, allocations: 33.14 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.574e-05/0.001551, allocations: 0 / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.001581, allocations: 20.62 kB / 0.5211 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.001597, allocations: 8 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.001608, allocations: 1.438 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.001676, allocations: 23.95 kB / 0.5211 GB, free: 1.402 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.00179, allocations: 12.7 kB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.001811, allocations: 16.75 kB / 0.5212 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.596e-05/0.001887, allocations: 27.95 kB / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.001888, allocations: 0 / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001889, allocations: 0.8438 kB / 0.5212 GB, free: 1.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.001893, allocations: 4 kB / 0.5212 GB, free: 1.344 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.0002184/0.002111, allocations: 371 kB / 0.5215 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.00214, allocations: 8.031 kB / 0.5215 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.00217, allocations: 9.234 kB / 0.5216 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.423e-05/0.002225, allocations: 116.5 kB / 0.5217 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.002236, allocations: 4.375 kB / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.002245, allocations: 4.375 kB / 0.5217 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.002338, allocations: 52.97 kB / 0.5217 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.002346, allocations: 4.688 kB / 0.5217 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.002354, allocations: 4.938 kB / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.002362, allocations: 384 / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.002439, allocations: 88.84 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.002546, allocations: 120.6 kB / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.002624, allocations: 62.98 kB / 0.522 GB, free: 416 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.002655, allocations: 28.91 kB / 0.522 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.002799, allocations: 15.98 kB / 0.522 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.00282, allocations: 42.08 kB / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.42e-07/0.00282, allocations: 0 / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001704/0.002991, allocations: 94.31 kB / 0.5222 GB, free: 216 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.00302, allocations: 59.39 kB / 0.5222 GB, free: 144 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.003084, allocations: 146.8 kB / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.003096, allocations: 30.73 kB / 0.5224 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.003129, allocations: 134.8 kB / 0.5225 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.003156, allocations: 27.78 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.00319, allocations: 40.39 kB / 0.5226 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.0033, allocations: 492.1 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.003322, allocations: 19.92 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.003338, allocations: 12.61 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.003395, allocations: 42.7 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.003398, allocations: 4 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.432e-05/0.003482, allocations: 85.55 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.003493, allocations: 4 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.003498, allocations: 0.5625 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.003509, allocations: 0.5312 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.003577, allocations: 19.98 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.003582, allocations: 1.375 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.003596, allocations: 15.89 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.003601, allocations: 0 / 0.5233 GB, free: 15.04 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 6.574e-05/0.003667, allocations: 169.3 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.003675, allocations: 5.25 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.003793, allocations: 114.4 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.003795, allocations: 0 / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.003799, allocations: 0.75 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.003803, allocations: 3.938 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.572e-05/0.003869, allocations: 125.2 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.003869, allocations: 1.188 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.003901, allocations: 19.98 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.003903, allocations: 3.938 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.00391, allocations: 4 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.00391, allocations: 0.8438 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.003911, allocations: 0 / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.494e-05/0.004006, allocations: 130.9 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.004012, allocations: 7.938 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.004022, allocations: 6.75 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-06/0.004028, allocations: 0 / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.004058, allocations: 19.91 kB / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.004061, allocations: 0 / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.004086, allocations: 123.2 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004086, allocations: 0 / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001232/0.004209, allocations: 8 kB / 0.524 GB, free: 14.25 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.000106/0.004315, allocations: 114 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.004413, allocations: 59.53 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.004414, allocations: 0 / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.004444, allocations: 38.56 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.694e-05/0.004531, allocations: 11.98 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.004722, allocations: 139.5 kB / 0.5243 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.688e-05/0.004749, allocations: 59.34 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.004795, allocations: 33.7 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.004815, allocations: 20.5 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.004815, allocations: 0 / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.002324/0.007139, allocations: 0.6564 MB / 0.5251 GB, free: 13.11 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: 3.781864118296653]