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.00104/0.00104, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009768/0.0009768, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9937/0.9937, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.8028/0.8028, allocations: 154.6 MB / 415.6 MB, free: 0.543 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.452e-06/1.452e-06, allocations: 0 / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.554e-05, allocations: 3.906 kB / 0.5216 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001071/0.001086, allocations: 0.6059 MB / 0.5222 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.001255, allocations: 49.2 kB / 0.5222 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.001274, allocations: 0 / 0.5222 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.001302, allocations: 0.9688 kB / 0.5222 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.001306, allocations: 0 / 0.5222 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.001498, allocations: 19.91 kB / 0.5222 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.001556, allocations: 33.27 kB / 0.5223 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.808e-05/0.001584, allocations: 0 / 0.5223 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.001611, allocations: 24.75 kB / 0.5223 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.001629, allocations: 11.98 kB / 0.5223 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.001638, allocations: 3.938 kB / 0.5223 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.565e-05/0.001704, allocations: 20.94 kB / 0.5223 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.001724, allocations: 11.98 kB / 0.5223 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.001743, allocations: 13.73 kB / 0.5224 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.504e-05/0.001818, allocations: 31.89 kB / 0.5224 GB, free: 1.066 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-06/0.001819, allocations: 0 / 0.5224 GB, free: 1.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.4e-07/0.001819, allocations: 0 / 0.5224 GB, free: 1.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.001822, allocations: 4 kB / 0.5224 GB, free: 1.062 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.0001979/0.00202, allocations: 365.3 kB / 0.5227 GB, free: 0.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.002047, allocations: 8.031 kB / 0.5228 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.002068, allocations: 9.234 kB / 0.5228 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.828e-05/0.002117, allocations: 117.8 kB / 0.5229 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.002125, allocations: 4.312 kB / 0.5229 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.002133, allocations: 8.375 kB / 0.5229 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.002202, allocations: 50.86 kB / 0.5229 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.002207, allocations: 192 / 0.5229 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.002214, allocations: 6 kB / 0.5229 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.002219, allocations: 4.375 kB / 0.5229 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.002285, allocations: 83.73 kB / 0.523 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.313e-05/0.002368, allocations: 105.3 kB / 0.5231 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.002422, allocations: 52.14 kB / 0.5232 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.002445, allocations: 31.66 kB / 0.5232 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-05/0.002535, allocations: 15.98 kB / 0.5232 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.002551, allocations: 38.2 kB / 0.5233 GB, free: 68 kB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 7.41e-07/0.002552, allocations: 0 / 0.5233 GB, free: 68 kB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001265/0.002679, allocations: 91.09 kB / 0.5233 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.002701, allocations: 59.41 kB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.87e-05/0.00274, allocations: 142.2 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.002747, allocations: 26.42 kB / 0.5236 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.002773, allocations: 130.8 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.002796, allocations: 28.41 kB / 0.5237 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.002827, allocations: 39.34 kB / 0.5237 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.002935, allocations: 0.4971 MB / 0.5242 GB, free: 15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.002946, allocations: 4 kB / 0.5242 GB, free: 15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.002959, allocations: 16 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.003001, allocations: 39.66 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.003002, allocations: 0.75 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.358e-05/0.003065, allocations: 69.62 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.003075, allocations: 11.19 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.003078, allocations: 0 / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.003084, allocations: 0 / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.003143, allocations: 23.92 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.003144, allocations: 0 / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.003156, allocations: 3.953 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.003161, allocations: 11.94 kB / 0.5244 GB, free: 14.82 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.724e-05/0.003228, allocations: 165.5 kB / 0.5246 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.003236, allocations: 4 kB / 0.5246 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.003344, allocations: 113.9 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.003346, allocations: 0.9375 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.003348, allocations: 3.984 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.003351, allocations: 0 / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.952e-05/0.00342, allocations: 119 kB / 0.5248 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.003421, allocations: 0 / 0.5248 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.003455, allocations: 19.98 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.003456, allocations: 0 / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.00346, allocations: 4 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.003461, allocations: 1.531 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.003462, allocations: 0 / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.003544, allocations: 126.4 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.003551, allocations: 3.938 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.003563, allocations: 10.75 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-06/0.00357, allocations: 0 / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.003593, allocations: 7.984 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.003596, allocations: 0 / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.482e-05/0.003621, allocations: 123.2 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003621, allocations: 0 / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001236/0.003744, allocations: 12 kB / 0.5251 GB, free: 14.07 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.0003621/0.004106, allocations: 117.3 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.194e-05/0.004178, allocations: 51.58 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.004179, allocations: 0 / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.004204, allocations: 32.61 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.074e-05/0.004285, allocations: 15.45 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001521/0.004437, allocations: 139.6 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.534e-05/0.004462, allocations: 63.34 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.004486, allocations: 16.66 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.004521, allocations: 81.53 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.004522, allocations: 0 / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.001783/0.006304, allocations: 0.6802 MB / 0.5262 GB, free: 12.86 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.7220107968896627]