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.0009149/0.0009149, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009564/0.0009564, allocations: 169 kB / 23.27 MB, free: 1.223 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.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7407/0.7407, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.693e-06/1.693e-06, allocations: 0 / 0.5208 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.941e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002714/0.002734, allocations: 1.587 MB / 0.5223 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.003109, allocations: 148.6 kB / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.003153, allocations: 0 / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.00318, allocations: 0 / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.003231, allocations: 6.516 kB / 0.5225 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.003548, allocations: 36.61 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.003622, allocations: 39.73 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.003708, allocations: 7.984 kB / 0.5225 GB, free: 76 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.003758, allocations: 19.98 kB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.003801, allocations: 17.58 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.003816, allocations: 4 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.351e-05/0.00391, allocations: 27.95 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.003923, allocations: 4 kB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.003958, allocations: 8.828 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.004075, allocations: 43.73 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004078, allocations: 1.406 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004078, allocations: 0 / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004082, allocations: 0 / 0.5227 GB, free: 15.95 MB / 0.4948 GB 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.0003955/0.004478, allocations: 372.6 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004516, allocations: 13.38 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.004551, allocations: 8.938 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.004633, allocations: 116.5 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.004652, allocations: 5.531 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.004661, allocations: 384 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.004796, allocations: 66.92 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004803, allocations: 2.969 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.00481, allocations: 384 / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.004817, allocations: 4.375 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.004852, allocations: 11.94 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.005148, allocations: 256.3 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.005338, allocations: 51.17 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.00536, allocations: 12.16 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.005462, allocations: 28.47 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.005484, allocations: 33.39 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.005486, allocations: 0.9688 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001597/0.005646, allocations: 53.52 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.005673, allocations: 57.03 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.005756, allocations: 165.9 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.005767, allocations: 25.7 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.005818, allocations: 134.8 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.005836, allocations: 8.875 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.005873, allocations: 23.38 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.006004, allocations: 496.1 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.006024, allocations: 9.391 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.006038, allocations: 4 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.006077, allocations: 15.62 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006078, allocations: 1.156 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.764e-05/0.006156, allocations: 45.69 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.006172, allocations: 11.94 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006177, allocations: 3.125 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.006188, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.006259, allocations: 11.98 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006262, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.006291, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.006297, allocations: 4 kB / 0.5246 GB, free: 13.75 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 7.329e-05/0.00637, allocations: 156.5 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.0064, allocations: 11.92 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.006508, allocations: 52.09 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.00651, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006511, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.006515, allocations: 4 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.006647, allocations: 113.1 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006649, allocations: 0 / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.006698, allocations: 11.98 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.0067, allocations: 1.281 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006705, allocations: 0 / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006706, allocations: 256 / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.006712, allocations: 12.42 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.006853, allocations: 198.2 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.006859, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.00687, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.006938, allocations: 8.031 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.00698, allocations: 11.92 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.006987, allocations: 7.984 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.007029, allocations: 121.6 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.00703, allocations: 4 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002464/0.007276, allocations: 8 kB / 0.5253 GB, free: 12.99 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.0001199/0.007396, allocations: 95.25 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.033e-05/0.007476, allocations: 21.95 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007478, allocations: 3.938 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.00751, allocations: 23.66 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.007734, allocations: 9.828 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.007998, allocations: 127.2 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.008038, allocations: 59.34 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.008065, allocations: 0.9375 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.008129, allocations: 74.8 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.00813, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.002912/0.01104, allocations: 0.8503 MB / 0.5265 GB, free: 11.71 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.632136397063732]