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.0006253/0.0006253, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008568/0.001482, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000705/0.000705, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008644/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9271/0.9271, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09138/1.018, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7722/0.7722, allocations: 154.6 MB / 398.5 MB, free: 0.5117 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2656/1.038, allocations: 49.03 MB / 447.6 MB, free: 6.691 MB / 426.7 MB " [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.814e-06/1.814e-06, allocations: 0 / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.09e-05, allocations: 4.422 kB / 448.9 MB, free: 5.34 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001603/0.001634, allocations: 0.6449 MB / 449.6 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.82e-05/0.001732, allocations: 56.5 kB / 449.6 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.001748, allocations: 0 / 449.6 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.001766, allocations: 0 / 449.6 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.032e-06/0.001767, allocations: 0 / 449.6 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.001927, allocations: 20.78 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.002013, allocations: 33.94 kB / 449.7 MB, free: 4.625 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.002052, allocations: 8.766 kB / 449.7 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.002097, allocations: 16.64 kB / 449.7 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.722e-05/0.002124, allocations: 15.91 kB / 449.7 MB, free: 4.586 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.002139, allocations: 4.766 kB / 449.7 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.002245, allocations: 16.64 kB / 449.8 MB, free: 4.566 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.00227, allocations: 11.27 kB / 449.8 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.002295, allocations: 5.203 kB / 449.8 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.002392, allocations: 33.64 kB / 449.8 MB, free: 4.523 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.00241, allocations: 4 kB / 449.8 MB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00241, allocations: 1.406 kB / 449.8 MB, free: 4.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.002428, allocations: 0 / 449.8 MB, free: 4.52 MB / 426.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.0003033/0.002731, allocations: 242.2 kB / 450 MB, free: 4.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.002763, allocations: 8.031 kB / 450.1 MB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.002791, allocations: 10.81 kB / 450.1 MB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.841e-05/0.002849, allocations: 105.8 kB / 450.2 MB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.00286, allocations: 9.219 kB / 450.2 MB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.002869, allocations: 4.375 kB / 450.2 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.002962, allocations: 50.61 kB / 450.2 MB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.00297, allocations: 2.062 kB / 450.2 MB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.002978, allocations: 8.375 kB / 450.2 MB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.002983, allocations: 1.031 kB / 450.2 MB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.003054, allocations: 71.8 kB / 450.3 MB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.477e-05/0.003149, allocations: 74.7 kB / 450.4 MB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.003206, allocations: 45.97 kB / 450.4 MB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.003231, allocations: 20.84 kB / 450.4 MB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.003375, allocations: 25 kB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.003396, allocations: 38.56 kB / 450.5 MB, free: 3.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.003397, allocations: 0.5469 kB / 450.5 MB, free: 3.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001256/0.003523, allocations: 68 kB / 450.6 MB, free: 3.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.003548, allocations: 51.41 kB / 450.6 MB, free: 3.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.478e-05/0.003583, allocations: 103.6 kB / 450.7 MB, free: 3.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.003593, allocations: 33.64 kB / 450.8 MB, free: 3.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.003611, allocations: 80.14 kB / 450.8 MB, free: 3.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.003635, allocations: 24.69 kB / 450.9 MB, free: 3.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.003667, allocations: 29.69 kB / 450.9 MB, free: 3.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.003745, allocations: 324.1 kB / 451.2 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.003759, allocations: 8.859 kB / 451.2 MB, free: 2.988 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.00377, allocations: 8 kB / 451.2 MB, free: 2.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.00382, allocations: 39.58 kB / 451.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003821, allocations: 1.422 kB / 451.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 5.769e-05/0.003879, allocations: 60.75 kB / 451.3 MB, free: 2.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.00389, allocations: 4 kB / 451.3 MB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.003894, allocations: 4 kB / 451.3 MB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.003903, allocations: 0 / 451.3 MB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.003983, allocations: 28.98 kB / 451.4 MB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.003987, allocations: 3.984 kB / 451.4 MB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.003999, allocations: 5.156 kB / 451.4 MB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.004004, allocations: 4 kB / 451.4 MB, free: 2.832 MB / 426.7 MB 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 7.383e-05/0.004078, allocations: 132.1 kB / 451.5 MB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.004085, allocations: 4 kB / 451.5 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.004193, allocations: 89.09 kB / 451.6 MB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004195, allocations: 0 / 451.6 MB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004196, allocations: 0 / 451.6 MB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.0042, allocations: 10.14 kB / 451.6 MB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.319e-05/0.004263, allocations: 81.83 kB / 451.7 MB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.004265, allocations: 0 / 451.7 MB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.004308, allocations: 23.98 kB / 451.7 MB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.004314, allocations: 8.875 kB / 451.7 MB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004315, allocations: 0.6875 kB / 451.7 MB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.00432, allocations: 5.094 kB / 451.7 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.004321, allocations: 0 / 451.7 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004322, allocations: 0 / 451.7 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.216e-05/0.004394, allocations: 98.91 kB / 451.8 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-06/0.004402, allocations: 1.078 kB / 451.8 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-06/0.00441, allocations: 7.312 kB / 451.8 MB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.004433, allocations: 8.531 kB / 451.8 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.004436, allocations: 0 / 451.8 MB, free: 2.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.047e-06/0.004445, allocations: 12.2 kB / 451.8 MB, free: 2.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004445, allocations: 0 / 451.8 MB, free: 2.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001013/0.004547, allocations: 12.66 kB / 451.9 MB, free: 2.312 MB / 426.7 MB 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.0001113/0.004658, allocations: 88.97 kB / 451.9 MB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.004738, allocations: 52.86 kB / 452 MB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.004743, allocations: 5.219 kB / 452 MB, free: 2.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.00477, allocations: 29.98 kB / 452 MB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.744e-05/0.004827, allocations: 15.92 kB / 452 MB, free: 2.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.005022, allocations: 131.7 kB / 452.2 MB, free: 1.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.005052, allocations: 60.73 kB / 452.2 MB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.005078, allocations: 12.67 kB / 452.2 MB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.005115, allocations: 56 kB / 452.3 MB, free: 1.82 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.005116, allocations: 4 kB / 452.3 MB, free: 1.816 MB / 426.7 MB Notification: Performance of Templates: time 0.002304/0.00742, allocations: 0.6794 MB / 453 MB, free: 1.188 MB / 426.7 MB " [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.475963994860649]