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.001439/0.001439, allocations: 88.72 kB / 19.44 MB, free: 356 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.001708/0.001708, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.52/1.52, allocations: 177.2 MB / 203.1 MB, free: 5.598 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.277/1.277, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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.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.693e-06/1.693e-06, allocations: 0 / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.347e-05/4.516e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002081/0.002127, allocations: 0.5981 MB / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.00245, allocations: 52.62 kB / 0.5203 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.002474, allocations: 0 / 0.5203 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.002515, allocations: 3.938 kB / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.002523, allocations: 0 / 0.5203 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.002871, allocations: 21.28 kB / 0.5203 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.002972, allocations: 31.95 kB / 0.5204 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.003013, allocations: 0 / 0.5204 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.003059, allocations: 16.58 kB / 0.5204 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.003093, allocations: 7.984 kB / 0.5204 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.003112, allocations: 5.5 kB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.003225, allocations: 23.91 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.003257, allocations: 11.92 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.003301, allocations: 12.91 kB / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.003438, allocations: 39.88 kB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003441, allocations: 0 / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003441, allocations: 0.9688 kB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.003446, allocations: 0 / 0.5205 GB, free: 1.688 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.0004174/0.003864, allocations: 259.3 kB / 0.5207 GB, free: 1.402 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.003907, allocations: 8.031 kB / 0.5207 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.003981, allocations: 16.88 kB / 0.5208 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004105, allocations: 106.7 kB / 0.5209 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004119, allocations: 4.375 kB / 0.5209 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.004141, allocations: 13.12 kB / 0.5209 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.004332, allocations: 60.86 kB / 0.5209 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.004344, allocations: 192 / 0.5209 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.004357, allocations: 1.594 kB / 0.5209 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.004369, allocations: 4.375 kB / 0.5209 GB, free: 1.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.00455, allocations: 99.8 kB / 0.521 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.004752, allocations: 121.9 kB / 0.5211 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.004895, allocations: 70.53 kB / 0.5212 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.004957, allocations: 30.66 kB / 0.5212 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.005173, allocations: 15.98 kB / 0.5213 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.005227, allocations: 34.56 kB / 0.5213 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.005229, allocations: 0 / 0.5213 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003245/0.005553, allocations: 115.3 kB / 0.5214 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.005602, allocations: 55.62 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.005679, allocations: 97.81 kB / 0.5215 GB, free: 476 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.005701, allocations: 29.64 kB / 0.5216 GB, free: 440 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.005757, allocations: 89.36 kB / 0.5217 GB, free: 348 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.005798, allocations: 19.8 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.005859, allocations: 33.7 kB / 0.5217 GB, free: 288 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.006068, allocations: 322.8 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.006119, allocations: 20.61 kB / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.006166, allocations: 19.98 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.006286, allocations: 56.11 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.006289, allocations: 0 / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002072/0.006496, allocations: 103.1 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.006516, allocations: 4 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.006522, allocations: 0 / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.006547, allocations: 1.188 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.006674, allocations: 19.94 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.006681, allocations: 0 / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.006729, allocations: 19.88 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.006737, allocations: 1.812 kB / 0.5223 GB, free: 15.71 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 0.0001896/0.006927, allocations: 117.8 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.006952, allocations: 7.984 kB / 0.5224 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.007224, allocations: 135.5 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.007227, allocations: 3.938 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.007233, allocations: 0 / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.007238, allocations: 3.938 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.007394, allocations: 117.3 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007395, allocations: 2.75 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.007469, allocations: 16 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.007475, allocations: 3.984 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.007495, allocations: 8 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007497, allocations: 0 / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.007501, allocations: 4 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.007726, allocations: 130.3 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007736, allocations: 5.594 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.00775, allocations: 0 / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.007769, allocations: 4 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.007826, allocations: 15.91 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.007837, allocations: 7.938 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.007889, allocations: 76.22 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007889, allocations: 0 / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002248/0.008114, allocations: 20.88 kB / 0.5229 GB, free: 15 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.000211/0.008325, allocations: 104.1 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.008494, allocations: 60.56 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.008496, allocations: 4 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.008566, allocations: 32.72 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.008717, allocations: 9.422 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.00912, allocations: 147.3 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.009204, allocations: 67.34 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.624e-05/0.00929, allocations: 39.81 kB / 0.5233 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.009327, allocations: 20.44 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.009327, allocations: 3.125 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003757/0.01308, allocations: 0.5895 MB / 0.5239 GB, free: 13.91 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.915488384081982]