Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.0006213/0.0006213, 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.000726/0.000726, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9042/0.9042, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.6918/0.6918, allocations: 154.6 MB / 414.5 MB, free: 0.8203 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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.481e-05, allocations: 2.844 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001356/0.001381, allocations: 0.5948 MB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.001582, allocations: 99.61 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.001597, allocations: 0 / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.001622, allocations: 3.984 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.001628, allocations: 3.938 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.001912, allocations: 39.89 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.002013, allocations: 71.86 kB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.002044, allocations: 0 / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.002085, allocations: 31.95 kB / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.002119, allocations: 23.95 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.002132, allocations: 4 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.351e-05/0.002226, allocations: 47.94 kB / 0.6203 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.002255, allocations: 19.92 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.002277, allocations: 19.97 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.002403, allocations: 91.73 kB / 0.6204 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002405, allocations: 0 / 0.6204 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002406, allocations: 4 kB / 0.6204 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.002411, allocations: 0 / 0.6204 GB, free: 12.06 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.0003262/0.002737, allocations: 298.2 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.00277, allocations: 8.031 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.002812, allocations: 12.94 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.116e-05/0.002863, allocations: 101.8 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.003103, allocations: 0.5338 MB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.003112, allocations: 4.375 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.003235, allocations: 78.14 kB / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-06/0.003238, allocations: 192 / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.003245, allocations: 8.375 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.00325, allocations: 4.125 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.00342, allocations: 131.8 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.995e-05/0.00352, allocations: 121.2 kB / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.003663, allocations: 86.53 kB / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.00373, allocations: 40.83 kB / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.003745, allocations: 0 / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.003763, allocations: 38.5 kB / 0.6218 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 7.92e-07/0.003763, allocations: 3.938 kB / 0.6218 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002747/0.004038, allocations: 153.6 kB / 0.622 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.00406, allocations: 55.41 kB / 0.622 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.777e-05/0.004088, allocations: 93.8 kB / 0.6221 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.004097, allocations: 25.7 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.004117, allocations: 80.14 kB / 0.6222 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.004147, allocations: 43.64 kB / 0.6223 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.004178, allocations: 25.7 kB / 0.6223 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.004255, allocations: 322.8 kB / 0.6226 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.004317, allocations: 27.98 kB / 0.6226 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.004377, allocations: 31.91 kB / 0.6226 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.004505, allocations: 80.81 kB / 0.6227 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004507, allocations: 0 / 0.6227 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001572/0.004664, allocations: 113.6 kB / 0.6228 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.004673, allocations: 5.875 kB / 0.6228 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.004676, allocations: 0 / 0.6228 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.004681, allocations: 0 / 0.6228 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.004756, allocations: 31.91 kB / 0.6229 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.00476, allocations: 3.938 kB / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.004787, allocations: 11.94 kB / 0.6229 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.004795, allocations: 3.984 kB / 0.6229 GB, free: 9.227 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: 1 (n) * 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 5.969e-05/0.004855, allocations: 122.8 kB / 0.623 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.004862, allocations: 3.953 kB / 0.623 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.00489, allocations: 7.969 kB / 0.623 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.004893, allocations: 4 kB / 0.623 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.004895, allocations: 0 / 0.623 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.004899, allocations: 7.922 kB / 0.623 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.989e-05/0.004969, allocations: 121.3 kB / 0.6231 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004969, allocations: 0 / 0.6231 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.005018, allocations: 19.98 kB / 0.6232 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.005018, allocations: 4 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.005027, allocations: 11.98 kB / 0.6232 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005028, allocations: 0 / 0.6232 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005029, allocations: 7.938 kB / 0.6232 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.0052, allocations: 144.9 kB / 0.6233 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.005205, allocations: 3.938 kB / 0.6233 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.005216, allocations: 7.984 kB / 0.6233 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.00524, allocations: 4 kB / 0.6233 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.00528, allocations: 15.97 kB / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.005284, allocations: 0 / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.988e-05/0.005304, allocations: 79.22 kB / 0.6234 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005304, allocations: 0 / 0.6234 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000144/0.005448, allocations: 31.94 kB / 0.6235 GB, free: 8.578 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: 1 (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.0001289/0.005576, allocations: 123.1 kB / 0.6236 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.00574, allocations: 82.5 kB / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.005741, allocations: 0 / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.005819, allocations: 47.91 kB / 0.6237 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.45e-05/0.005903, allocations: 11.97 kB / 0.6237 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.006134, allocations: 174.5 kB / 0.6239 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.006172, allocations: 75.33 kB / 0.6239 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.006204, allocations: 24.48 kB / 0.624 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.006204, allocations: 0 / 0.624 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of Templates: time 0.001843/0.008047, allocations: 1.338 MB / 0.6253 GB, free: 6.648 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.06856151483953] Failed to read output from testmodel.py, exit status != 0: 0.013384788297116756 0.021035106 0.017085039 Calling exit ...