Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0009978/0.0009978, allocations: 89.12 kB / 19.65 MB, free: 276 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.001134/0.001134, allocations: 177.3 kB / 23.03 MB, free: 1.539 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.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7838/0.7838, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.043e-05, allocations: 4 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002398/0.002429, allocations: 1.592 MB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003918/0.002821, allocations: 132.6 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.002865, allocations: 5.781 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.002903, allocations: 4.703 kB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.002962, allocations: 5.625 kB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.003365, allocations: 35.83 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.003452, allocations: 40.3 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.003546, allocations: 9.719 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.003587, allocations: 19.97 kB / 0.5221 GB, free: 352 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.003638, allocations: 11.98 kB / 0.5221 GB, free: 340 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.003656, allocations: 4 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.00375, allocations: 25.44 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.003765, allocations: 11.92 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.003791, allocations: 11.98 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003927, allocations: 43.77 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.003931, allocations: 4.734 kB / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.003933, allocations: 0 / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.003937, allocations: 1.469 kB / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004188/0.004356, allocations: 368.6 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.004395, allocations: 8.031 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.004443, allocations: 4.938 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.004532, allocations: 121.8 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.004553, allocations: 4.375 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.004563, allocations: 4.375 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004714, allocations: 63.62 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.004721, allocations: 192 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.004731, allocations: 3.594 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.004738, allocations: 4.312 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.918e-05/0.004778, allocations: 15.92 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.005127, allocations: 271.8 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.005306, allocations: 46.98 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.005334, allocations: 23.73 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.005436, allocations: 11.98 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.00546, allocations: 41.89 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.005462, allocations: 0.6562 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001598/0.005621, allocations: 54.36 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.005651, allocations: 55.41 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.00572, allocations: 161.9 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005729, allocations: 27.17 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.00578, allocations: 142.8 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.005796, allocations: 3.953 kB / 0.5236 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.005827, allocations: 28.3 kB / 0.5236 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.005944, allocations: 492.1 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.005966, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.005981, allocations: 9.281 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.006018, allocations: 19.67 kB / 0.5241 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.00602, allocations: 0 / 0.5241 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.933e-05/0.006089, allocations: 51.23 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.006104, allocations: 4 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006109, allocations: 0 / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.006124, allocations: 4.812 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.006176, allocations: 7.938 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.006182, allocations: 5.266 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.006201, allocations: 4 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.006209, allocations: 7.969 kB / 0.5242 GB, free: 14 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.873e-05/0.006278, allocations: 165.9 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.006294, allocations: 3.938 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.006396, allocations: 53.36 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006398, allocations: 2.812 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.006401, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006405, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/0.006502, allocations: 124.6 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006504, allocations: 0 / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.006536, allocations: 11.98 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006537, allocations: 3.938 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.006545, allocations: 10.62 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006546, allocations: 0 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006548, allocations: 256 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.006678, allocations: 191.9 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.006685, allocations: 4 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.006701, allocations: 7.938 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.006734, allocations: 7.984 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.006781, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.006794, allocations: 4.844 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.006847, allocations: 127.2 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006847, allocations: 1 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001516/0.006999, allocations: 8 kB / 0.5249 GB, free: 13.22 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001334/0.007132, allocations: 96.12 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.007249, allocations: 32.11 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007251, allocations: 1.5 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.007285, allocations: 19.67 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.007475, allocations: 4 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.007759, allocations: 132.6 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.007792, allocations: 55.34 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.007812, allocations: 4 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.00784, allocations: 12.5 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.007841, allocations: 2.75 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002839/0.01068, allocations: 0.8326 MB / 0.5261 GB, free: 12.02 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8296455633826554]