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.0009908/0.0009908, 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.001077/0.001077, allocations: 173 kB / 23.49 MB, free: 1.059 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.9574/0.9574, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.8317/0.8317, allocations: 154.6 MB / 414.8 MB, free: 0.6758 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.523e-06/1.523e-06, allocations: 0 / 0.5204 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.768e-05, allocations: 9.891 kB / 0.5204 GB, free: 2.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0009575/0.0009752, allocations: 0.5999 MB / 0.521 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.001167, allocations: 56.98 kB / 0.521 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.001189, allocations: 0 / 0.521 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.001221, allocations: 0 / 0.521 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.001226, allocations: 1.719 kB / 0.521 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.00147, allocations: 19.92 kB / 0.5211 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.001536, allocations: 27.95 kB / 0.5211 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.937e-05/0.001565, allocations: 4 kB / 0.5211 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/0.001595, allocations: 16.75 kB / 0.5211 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.991e-05/0.001615, allocations: 9.547 kB / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.001628, allocations: 0 / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.769e-05/0.001706, allocations: 31.89 kB / 0.5211 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.001728, allocations: 12.7 kB / 0.5212 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.001749, allocations: 8.734 kB / 0.5212 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.001836, allocations: 39.88 kB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.001838, allocations: 1.469 kB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.001838, allocations: 0 / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.001842, allocations: 0 / 0.5212 GB, free: 1.66 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.000251/0.002093, allocations: 364.2 kB / 0.5215 GB, free: 1.266 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.002125, allocations: 17.36 kB / 0.5216 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.00216, allocations: 9.234 kB / 0.5216 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.988e-05/0.00222, allocations: 112.6 kB / 0.5217 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.002232, allocations: 4.375 kB / 0.5217 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.002242, allocations: 5.312 kB / 0.5217 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.002337, allocations: 57.19 kB / 0.5217 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.002343, allocations: 3.156 kB / 0.5217 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.002351, allocations: 384 / 0.5217 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.002358, allocations: 8.312 kB / 0.5218 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.002439, allocations: 83.81 kB / 0.5218 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.002549, allocations: 124.6 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.002618, allocations: 59.05 kB / 0.522 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.002647, allocations: 24 kB / 0.522 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.002782, allocations: 19.98 kB / 0.5221 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.002802, allocations: 41.89 kB / 0.5221 GB, free: 0.625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.002803, allocations: 0.5625 kB / 0.5221 GB, free: 0.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001689/0.002971, allocations: 97.56 kB / 0.5222 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.002997, allocations: 52.22 kB / 0.5222 GB, free: 472 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.003041, allocations: 154.2 kB / 0.5224 GB, free: 304 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.003052, allocations: 26.23 kB / 0.5224 GB, free: 272 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.003079, allocations: 132.3 kB / 0.5225 GB, free: 136 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.003102, allocations: 23.8 kB / 0.5226 GB, free: 112 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.003135, allocations: 39.36 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.003252, allocations: 0.4884 MB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.003274, allocations: 16.86 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.003293, allocations: 15.98 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.003353, allocations: 41.59 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003354, allocations: 1.406 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.171e-05/0.003436, allocations: 89.59 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.003447, allocations: 8 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.003451, allocations: 1.156 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.00346, allocations: 0 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.003525, allocations: 19.98 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.003529, allocations: 0 / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.003543, allocations: 8.641 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.003548, allocations: 4 kB / 0.5233 GB, free: 15.36 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.82e-05/0.003616, allocations: 165.8 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.003626, allocations: 14.92 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.003754, allocations: 109.5 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.003756, allocations: 0 / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.003758, allocations: 4 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.003762, allocations: 3.938 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.485e-05/0.003827, allocations: 124.6 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.003828, allocations: 0 / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.003866, allocations: 19.94 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.003867, allocations: 6.688 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.003875, allocations: 7.984 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.003876, allocations: 0 / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.003877, allocations: 4 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.625e-05/0.003973, allocations: 122.4 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.003978, allocations: 4 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.003987, allocations: 0 / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.003995, allocations: 4.594 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.004022, allocations: 11.92 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.004026, allocations: 5.25 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.624e-05/0.004052, allocations: 119.2 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004052, allocations: 3.938 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001277/0.004179, allocations: 20.56 kB / 0.524 GB, free: 14.56 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.0001096/0.004289, allocations: 111.7 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.171e-05/0.004381, allocations: 55.59 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004382, allocations: 0 / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.004415, allocations: 41.25 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.165e-05/0.004507, allocations: 6.438 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.004698, allocations: 142.2 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.004727, allocations: 63.34 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.004773, allocations: 34.45 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.004795, allocations: 12.5 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.004795, allocations: 0 / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.001938/0.006733, allocations: 0.5954 MB / 0.525 GB, free: 13.48 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.764892753213644]