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.001309/0.001309, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001704/0.001704, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9593/0.9593, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8729/0.8729, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.533e-06/1.533e-06, allocations: 0 / 480.1 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.984e-05, allocations: 8.469 kB / 480.1 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001222/0.001242, allocations: 0.5968 MB / 480.7 MB, free: 6.324 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.001464, allocations: 54.55 kB / 480.7 MB, free: 6.273 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.001489, allocations: 0 / 480.7 MB, free: 6.273 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.001526, allocations: 7.938 kB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.001533, allocations: 0 / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.001811, allocations: 16.56 kB / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.001884, allocations: 31.97 kB / 480.8 MB, free: 6.219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.001923, allocations: 8.484 kB / 480.8 MB, free: 6.211 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.001959, allocations: 14.44 kB / 480.8 MB, free: 6.199 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.001981, allocations: 11.98 kB / 480.8 MB, free: 6.188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.001994, allocations: 0 / 480.8 MB, free: 6.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.002075, allocations: 23.97 kB / 480.8 MB, free: 6.164 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.002098, allocations: 10.06 kB / 480.8 MB, free: 6.156 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.002118, allocations: 10.31 kB / 480.9 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.002214, allocations: 41.41 kB / 480.9 MB, free: 6.109 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002216, allocations: 0 / 480.9 MB, free: 6.109 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002217, allocations: 0.5312 kB / 480.9 MB, free: 6.109 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.00222, allocations: 0 / 480.9 MB, free: 6.109 MB / 442.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.0002225/0.002443, allocations: 237.6 kB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.002475, allocations: 8.031 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.002502, allocations: 8.922 kB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.798e-05/0.00256, allocations: 110.4 kB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.002573, allocations: 9.047 kB / 481.3 MB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.002584, allocations: 5.125 kB / 481.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.002667, allocations: 61.33 kB / 481.3 MB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.002674, allocations: 3.031 kB / 481.3 MB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.00268, allocations: 384 / 481.3 MB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.002686, allocations: 1.031 kB / 481.3 MB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.002749, allocations: 67.83 kB / 481.4 MB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.673e-05/0.002846, allocations: 85.88 kB / 481.5 MB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.002903, allocations: 47.16 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.002923, allocations: 16.8 kB / 481.5 MB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.003049, allocations: 20.89 kB / 481.6 MB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.003068, allocations: 31.44 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.884e-06/0.00307, allocations: 0.5312 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000124/0.003194, allocations: 74.97 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.003222, allocations: 57.27 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.201e-05/0.003254, allocations: 93.84 kB / 481.8 MB, free: 5.094 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.003264, allocations: 25.7 kB / 481.8 MB, free: 5.062 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.039e-05/0.003284, allocations: 80.77 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.003309, allocations: 28.41 kB / 481.9 MB, free: 4.953 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.00334, allocations: 30.45 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.003417, allocations: 323.4 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.003432, allocations: 7.938 kB / 482.3 MB, free: 4.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.003446, allocations: 12.89 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.003501, allocations: 41.91 kB / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.003505, allocations: 4 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.018e-05/0.003565, allocations: 59.39 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.003576, allocations: 8 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.00358, allocations: 0.5938 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.00359, allocations: 0.8125 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.003655, allocations: 24.91 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.003657, allocations: 1.781 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.00367, allocations: 0 / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.003675, allocations: 4 kB / 482.5 MB, free: 4.434 MB / 442.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: 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.93e-05/0.003745, allocations: 125.4 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.003754, allocations: 8 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.003857, allocations: 95.88 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.003859, allocations: 0 / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.003861, allocations: 0 / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.003865, allocations: 4.578 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.752e-05/0.003922, allocations: 78.72 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.003923, allocations: 1.219 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.003958, allocations: 19.98 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00396, allocations: 4 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.003966, allocations: 0.5938 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.003967, allocations: 1.188 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.003967, allocations: 0 / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.409e-05/0.004041, allocations: 98.94 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.004049, allocations: 11.89 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.004058, allocations: 4.719 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.004065, allocations: 5.141 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.004092, allocations: 9.297 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.004096, allocations: 4 kB / 482.9 MB, free: 3.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.953e-06/0.004103, allocations: 4.859 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004103, allocations: 4.594 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001048/0.004208, allocations: 9.938 kB / 482.9 MB, free: 3.91 MB / 442.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: 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.000113/0.004321, allocations: 92.41 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.948e-05/0.00439, allocations: 46.08 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004392, allocations: 0.6562 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.004415, allocations: 30.94 kB / 483.1 MB, free: 3.738 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.798e-05/0.004463, allocations: 8 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.004647, allocations: 133.4 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.004675, allocations: 60.34 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.004699, allocations: 12 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.004734, allocations: 59.97 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.004734, allocations: 1.438 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of Templates: time 0.002024/0.006759, allocations: 0.6693 MB / 484 MB, free: 2.805 MB / 442.7 MB " [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.611608819104731]