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.001296/0.001296, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001899/0.001899, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8624/0.8624, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.6753/0.6753, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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 2.284e-06/2.284e-06, allocations: 3.984 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.834e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0009304/0.0009488, allocations: 0.5899 MB / 0.62 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.001146, allocations: 51.8 kB / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.001162, allocations: 0 / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.001189, allocations: 4 kB / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.001195, allocations: 0 / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.001465, allocations: 23.91 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.001535, allocations: 27.92 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.001569, allocations: 3.984 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.001601, allocations: 15.98 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.084e-05/0.001622, allocations: 15.91 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.001635, allocations: 4 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.599e-05/0.001711, allocations: 19.92 kB / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.001735, allocations: 15.97 kB / 0.6202 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.00176, allocations: 11.94 kB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.00185, allocations: 31.95 kB / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.001852, allocations: 0 / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.001853, allocations: 0 / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.001856, allocations: 0 / 0.6202 GB, free: 12.27 MB / 0.5886 GB 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.0002214/0.002077, allocations: 266.3 kB / 0.6204 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.002107, allocations: 8.031 kB / 0.6205 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.002138, allocations: 8.891 kB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.988e-05/0.002188, allocations: 105.7 kB / 0.6206 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.0022, allocations: 8.375 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.002208, allocations: 384 / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.002312, allocations: 74.16 kB / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.002319, allocations: 4.172 kB / 0.6206 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.002327, allocations: 4.312 kB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.002331, allocations: 384 / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.002422, allocations: 95.81 kB / 0.6207 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.002528, allocations: 121.3 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.002607, allocations: 62.55 kB / 0.6209 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.002641, allocations: 32.78 kB / 0.6209 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.002795, allocations: 23.97 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.002812, allocations: 34.56 kB / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.002813, allocations: 0 / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0001774/0.002991, allocations: 117.4 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.003015, allocations: 51.41 kB / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.13e-05/0.003046, allocations: 97.81 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.003055, allocations: 29.7 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.003077, allocations: 84.08 kB / 0.6214 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.0031, allocations: 27.78 kB / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.003133, allocations: 25.72 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.003202, allocations: 322.8 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.003228, allocations: 19.98 kB / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.003251, allocations: 23.92 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.003315, allocations: 56.83 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.003317, allocations: 7.938 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.395e-05/0.003401, allocations: 89.67 kB / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.003411, allocations: 7.938 kB / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.003415, allocations: 0 / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.003425, allocations: 0 / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.003491, allocations: 23.92 kB / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.003495, allocations: 0 / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.003508, allocations: 11.89 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.003514, allocations: 4 kB / 0.622 GB, free: 10.29 MB / 0.5886 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 7.09e-05/0.003585, allocations: 125.6 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.00359, allocations: 4 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.003723, allocations: 132.3 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.003726, allocations: 4 kB / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.003729, allocations: 0 / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.003732, allocations: 3.938 kB / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/0.003794, allocations: 121.2 kB / 0.6223 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.003795, allocations: 0 / 0.6223 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.003827, allocations: 19.98 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.003828, allocations: 0 / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.003835, allocations: 12 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.003836, allocations: 0 / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003837, allocations: 4 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.255e-05/0.003929, allocations: 124.9 kB / 0.6225 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-06/0.003933, allocations: 4 kB / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.003942, allocations: 0 / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-06/0.00395, allocations: 4 kB / 0.6225 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.003975, allocations: 15.86 kB / 0.6225 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.003986, allocations: 4 kB / 0.6225 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.827e-05/0.004004, allocations: 75.28 kB / 0.6226 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004004, allocations: 0 / 0.6226 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001267/0.004131, allocations: 27.92 kB / 0.6226 GB, free: 9.555 MB / 0.5886 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.0001028/0.004234, allocations: 99.25 kB / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.87e-05/0.004332, allocations: 71.89 kB / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.004333, allocations: 0 / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.004361, allocations: 31.92 kB / 0.6228 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.122e-05/0.004452, allocations: 0 / 0.6228 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.004653, allocations: 174.5 kB / 0.623 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.004692, allocations: 75.28 kB / 0.623 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.004714, allocations: 20.5 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.004714, allocations: 0 / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of Templates: time 0.001511/0.006225, allocations: 0.9673 MB / 0.624 GB, free: 8.062 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.915233572013676] Failed to read output from testmodel.py, exit status != 0: 0.010993383824825287 0.018769576 0.015341762 Calling exit ...