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.001205/0.001205, allocations: 93.06 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.001247/0.001247, allocations: 165 kB / 23.02 MB, free: 1.555 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.9796/0.9796, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.8045/0.8045, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.483e-06/1.483e-06, allocations: 0.875 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.382e-05, allocations: 3.281 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001293/0.001317, allocations: 0.6059 MB / 0.521 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.0016, allocations: 44.47 kB / 0.521 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.001626, allocations: 4.75 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.001683, allocations: 3.984 kB / 0.521 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.001689, allocations: 1.469 kB / 0.521 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.002112, allocations: 19.86 kB / 0.521 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.761e-05/0.002209, allocations: 27.97 kB / 0.5211 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.002251, allocations: 4 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.002291, allocations: 21.25 kB / 0.5211 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.002317, allocations: 11.98 kB / 0.5211 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.002336, allocations: 0 / 0.5211 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.002438, allocations: 24.91 kB / 0.5211 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.002471, allocations: 11.98 kB / 0.5211 GB, free: 1.387 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.002504, allocations: 11.92 kB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.002629, allocations: 34.92 kB / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002631, allocations: 0 / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002632, allocations: 0 / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.002636, allocations: 0 / 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.0003383/0.002975, allocations: 364.3 kB / 0.5215 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.003024, allocations: 12.03 kB / 0.5215 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.003069, allocations: 9.234 kB / 0.5215 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.01e-05/0.003139, allocations: 112.5 kB / 0.5217 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.003156, allocations: 8.938 kB / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.003172, allocations: 0.9375 kB / 0.5217 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.003322, allocations: 58.23 kB / 0.5217 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.003339, allocations: 8.922 kB / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.003351, allocations: 384 / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.003361, allocations: 0.9062 kB / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.003451, allocations: 91.8 kB / 0.5218 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.00358, allocations: 118.1 kB / 0.5219 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.003667, allocations: 70.97 kB / 0.522 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.003706, allocations: 19.69 kB / 0.522 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.003884, allocations: 20.92 kB / 0.522 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.003909, allocations: 41.38 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.00391, allocations: 0 / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001946/0.004104, allocations: 101.8 kB / 0.5222 GB, free: 204 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.004133, allocations: 51.41 kB / 0.5222 GB, free: 140 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.004191, allocations: 150.2 kB / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.004202, allocations: 30.86 kB / 0.5224 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.004232, allocations: 130.8 kB / 0.5225 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.00426, allocations: 27.78 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.004296, allocations: 40.11 kB / 0.5226 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.004408, allocations: 0.4884 MB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.00443, allocations: 9.281 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.004448, allocations: 11.98 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.004517, allocations: 51.61 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004519, allocations: 0 / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.872e-05/0.004607, allocations: 77.33 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004619, allocations: 4 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004623, allocations: 0 / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.004645, allocations: 8.688 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.004721, allocations: 19.98 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.004728, allocations: 6.969 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.004742, allocations: 7.891 kB / 0.5232 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.004748, allocations: 4 kB / 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 7.508e-05/0.004823, allocations: 164.6 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.004833, allocations: 8 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.004968, allocations: 117.4 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.00497, allocations: 2.75 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.004973, allocations: 0 / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.004978, allocations: 7.922 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.005189, allocations: 120.6 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.00519, allocations: 0 / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.005225, allocations: 15.98 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.005226, allocations: 4 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.005233, allocations: 4 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005234, allocations: 4.547 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005235, allocations: 1.281 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.005336, allocations: 132.2 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-06/0.005342, allocations: 7.938 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.00535, allocations: 0 / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.005357, allocations: 4.594 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.005388, allocations: 16.41 kB / 0.5238 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.005392, allocations: 4 kB / 0.5238 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.629e-05/0.005418, allocations: 120.2 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005418, allocations: 0 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001315/0.00555, allocations: 17.22 kB / 0.524 GB, free: 14.23 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.0001211/0.005671, allocations: 106.4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.005773, allocations: 60.67 kB / 0.5241 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005774, allocations: 0 / 0.5241 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.005807, allocations: 47.53 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.695e-05/0.005904, allocations: 4 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.006126, allocations: 140.6 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.006157, allocations: 55.36 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.0062, allocations: 35.95 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.006223, allocations: 16.5 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.006224, allocations: 2.469 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.002136/0.00836, allocations: 0.5913 MB / 0.525 GB, free: 13.15 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.9082794808782637]