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.001605/0.001605, allocations: 80.88 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.001818/0.001818, allocations: 181 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 1.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.8266/0.8266, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.322e-06/1.322e-06, allocations: 0 / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.325e-05, allocations: 2.312 kB / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00108/0.001093, allocations: 0.6451 MB / 480.8 MB, free: 6.191 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.00129, allocations: 47.81 kB / 480.8 MB, free: 6.145 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.001308, allocations: 5.25 kB / 480.8 MB, free: 6.141 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.001337, allocations: 0.6562 kB / 480.8 MB, free: 6.141 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.001342, allocations: 0 / 480.8 MB, free: 6.141 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.001591, allocations: 24.45 kB / 480.8 MB, free: 6.117 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.001663, allocations: 32.95 kB / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.001696, allocations: 1.875 kB / 480.9 MB, free: 6.086 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.00173, allocations: 15.98 kB / 480.9 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.191e-05/0.001752, allocations: 15.97 kB / 480.9 MB, free: 6.055 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.001768, allocations: 0 / 480.9 MB, free: 6.055 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.001871, allocations: 24.52 kB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.001891, allocations: 10.69 kB / 480.9 MB, free: 6.023 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.001911, allocations: 9.422 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.001998, allocations: 41.41 kB / 481 MB, free: 5.977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.002, allocations: 3.984 kB / 481 MB, free: 5.973 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.002001, allocations: 0 / 481 MB, free: 5.973 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.002004, allocations: 1.688 kB / 481 MB, free: 5.973 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.0001907/0.002194, allocations: 231.7 kB / 481.2 MB, free: 5.723 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.002222, allocations: 8.906 kB / 481.2 MB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.002246, allocations: 4.938 kB / 481.2 MB, free: 5.711 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.837e-05/0.002305, allocations: 118.6 kB / 481.3 MB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002315, allocations: 5.031 kB / 481.3 MB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.002324, allocations: 5 kB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.0024, allocations: 55.16 kB / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.002407, allocations: 1.656 kB / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.002414, allocations: 384 / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.002419, allocations: 1 kB / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.002489, allocations: 80.7 kB / 481.5 MB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.826e-05/0.002577, allocations: 77.05 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.00263, allocations: 43.95 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.002649, allocations: 16.84 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.002766, allocations: 27.47 kB / 481.6 MB, free: 5.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.002787, allocations: 36.27 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 8.41e-07/0.002788, allocations: 0 / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001126/0.0029, allocations: 71.39 kB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.002924, allocations: 56.06 kB / 481.8 MB, free: 5.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.897e-05/0.002953, allocations: 95.56 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.002962, allocations: 25.7 kB / 481.9 MB, free: 4.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.851e-05/0.002981, allocations: 80.14 kB / 482 MB, free: 4.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.003004, allocations: 27.78 kB / 482 MB, free: 4.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.003033, allocations: 35.47 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.003104, allocations: 314.8 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.003116, allocations: 7.984 kB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.003126, allocations: 9.703 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.003178, allocations: 44.23 kB / 482.4 MB, free: 4.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00318, allocations: 0.625 kB / 482.4 MB, free: 4.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 5.894e-05/0.003239, allocations: 68.11 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.003249, allocations: 5.875 kB / 482.5 MB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.003253, allocations: 0 / 482.5 MB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.003264, allocations: 1.219 kB / 482.5 MB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.003323, allocations: 20.64 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.003326, allocations: 3.938 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.003338, allocations: 5.188 kB / 482.5 MB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.003343, allocations: 0 / 482.5 MB, free: 4.305 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.326e-05/0.003406, allocations: 121.6 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.003416, allocations: 11.98 kB / 482.7 MB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.003521, allocations: 91.92 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.003523, allocations: 0 / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.003526, allocations: 6.656 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.003529, allocations: 0 / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.985e-05/0.003588, allocations: 81.81 kB / 482.8 MB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.00359, allocations: 0 / 482.8 MB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.003632, allocations: 24.95 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.003634, allocations: 0 / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.003641, allocations: 8 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.003642, allocations: 0.9688 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.003643, allocations: 0 / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.062e-05/0.003714, allocations: 90.69 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.00372, allocations: 8.766 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.00373, allocations: 8 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.003737, allocations: 0.75 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.003762, allocations: 13.02 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.003767, allocations: 8.516 kB / 483 MB, free: 3.797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.631e-06/0.003773, allocations: 6.203 kB / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003773, allocations: 0 / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001063/0.003879, allocations: 12 kB / 483 MB, free: 3.777 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 9.206e-05/0.003971, allocations: 89.34 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.004043, allocations: 47.52 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.004045, allocations: 7.875 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.004069, allocations: 24.84 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.041e-05/0.004119, allocations: 13 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.004293, allocations: 132.2 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.905e-05/0.004322, allocations: 55.89 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.004348, allocations: 17.33 kB / 483.4 MB, free: 3.348 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.004382, allocations: 59.38 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.004382, allocations: 3.938 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of Templates: time 0.00204/0.006423, allocations: 0.6695 MB / 484.1 MB, free: 2.66 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8602712829597294]