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.0008682/0.0008682, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00108/0.00108, allocations: 173 kB / 23.5 MB, free: 1.055 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.9557/0.9557, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8156/0.8156, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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 2.244e-06/2.244e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.11e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002359/0.00239, allocations: 1.581 MB / 0.5219 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003448/0.002734, allocations: 141.2 kB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.002775, allocations: 4 kB / 0.522 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.002803, allocations: 7.875 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.002847, allocations: 0.625 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.003155, allocations: 37.42 kB / 0.5221 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.003226, allocations: 35.91 kB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.003332, allocations: 8 kB / 0.5221 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.003385, allocations: 27.91 kB / 0.5221 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.003424, allocations: 13.8 kB / 0.5222 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003442, allocations: 4 kB / 0.5222 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.003522, allocations: 19.97 kB / 0.5222 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.003534, allocations: 11.92 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.003554, allocations: 8 kB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.003694, allocations: 53.5 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003698, allocations: 0 / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.003699, allocations: 0 / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.003705, allocations: 0 / 0.5222 GB, free: 0.6094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003846/0.004089, allocations: 372.6 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.00413, allocations: 8.781 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.004176, allocations: 4.938 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.004276, allocations: 117.9 kB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.004299, allocations: 4.359 kB / 0.5227 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.004312, allocations: 12.38 kB / 0.5227 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.00448, allocations: 64.28 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004487, allocations: 4.125 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004497, allocations: 384 / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004505, allocations: 384 / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.004545, allocations: 17.44 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.004888, allocations: 267.8 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.005067, allocations: 53.48 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.005092, allocations: 11.75 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.005201, allocations: 15.98 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.005223, allocations: 41.33 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.005224, allocations: 0 / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001706/0.005395, allocations: 53.81 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.005424, allocations: 55.97 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.005501, allocations: 161.9 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.005513, allocations: 30.2 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.005568, allocations: 143.7 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.005584, allocations: 3.953 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.005614, allocations: 23.38 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.005724, allocations: 497.6 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.005741, allocations: 4 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.005754, allocations: 7.984 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.005789, allocations: 23.67 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005791, allocations: 0.9375 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.111e-05/0.005862, allocations: 49.62 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005876, allocations: 7.25 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005881, allocations: 0 / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005893, allocations: 7.938 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.005944, allocations: 4 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005949, allocations: 0 / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.00597, allocations: 7.984 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005975, allocations: 0 / 0.5242 GB, free: 14.38 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.683e-05/0.006042, allocations: 160.5 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.006059, allocations: 10.91 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.00616, allocations: 53.36 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006162, allocations: 0 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006166, allocations: 0 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006169, allocations: 0 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.006271, allocations: 124.6 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006272, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.006305, allocations: 13.69 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.006307, allocations: 0 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.006316, allocations: 7.938 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.006319, allocations: 3.984 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.00632, allocations: 0.5 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.006429, allocations: 194.2 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.006436, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.006448, allocations: 3.938 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.00648, allocations: 4 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.006527, allocations: 11.98 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.00653, allocations: 0 / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.006568, allocations: 131.2 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.006568, allocations: 6.375 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001506/0.006719, allocations: 8 kB / 0.5249 GB, free: 13.6 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.0001396/0.006858, allocations: 99.19 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.006951, allocations: 27.91 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006952, allocations: 1.938 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.00698, allocations: 23.75 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.007163, allocations: 4 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.007434, allocations: 126.2 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.007471, allocations: 60.38 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.00749, allocations: 0.9375 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.007517, allocations: 20.44 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.007518, allocations: 0.9375 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002543/0.01006, allocations: 0.7779 MB / 0.526 GB, free: 12.44 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.9243298878427595]