Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007347/0.0007347, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007802/0.0007802, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8829/0.8829, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7673/0.7673, allocations: 203.8 MB / 0.5049 GB, free: 0.7266 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008628/0.0008628, allocations: 65.39 kB / 0.7195 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4458, allocations: 102 MB / 0.8191 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001431/0.4472, allocations: 0.5856 MB / 0.8197 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.4476, allocations: 111.6 kB / 0.8198 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.4476, allocations: 4 kB / 0.8198 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.4476, allocations: 0 / 0.8198 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.4476, allocations: 0 / 0.8198 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.448, allocations: 35.91 kB / 0.8198 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.4482, allocations: 67.92 kB / 0.8199 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.4482, allocations: 4 kB / 0.8199 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.4482, allocations: 19.98 kB / 0.8199 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.4483, allocations: 27.95 kB / 0.82 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4483, allocations: 0 / 0.82 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.4484, allocations: 55.94 kB / 0.82 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.4484, allocations: 23.92 kB / 0.82 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.4485, allocations: 19.92 kB / 0.8201 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.4486, allocations: 79.61 kB / 0.8201 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4486, allocations: 0 / 0.8201 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4486, allocations: 0 / 0.8201 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.4486, allocations: 0 / 0.8201 GB, free: 13.53 MB / 0.6042 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.0003823/0.449, allocations: 301.1 kB / 0.8204 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.449, allocations: 9.469 kB / 0.8204 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.4491, allocations: 8.938 kB / 0.8204 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.372e-05/0.4491, allocations: 110.5 kB / 0.8205 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.4494, allocations: 0.5337 MB / 0.8211 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4494, allocations: 12.36 kB / 0.8211 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.4496, allocations: 74.19 kB / 0.8211 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4496, allocations: 7.938 kB / 0.8212 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4496, allocations: 4 kB / 0.8212 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4496, allocations: 3.938 kB / 0.8212 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.4498, allocations: 127.8 kB / 0.8213 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.45, allocations: 164.5 kB / 0.8214 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.4501, allocations: 89.7 kB / 0.8215 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.4502, allocations: 40.83 kB / 0.8216 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4502, allocations: 4 kB / 0.8216 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.4502, allocations: 30.89 kB / 0.8216 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.4502, allocations: 0 / 0.8216 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003155/0.4506, allocations: 153.4 kB / 0.8217 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4506, allocations: 55.41 kB / 0.8218 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.922e-05/0.4506, allocations: 89.86 kB / 0.8219 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4506, allocations: 33.7 kB / 0.8219 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.4506, allocations: 80.14 kB / 0.822 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.4507, allocations: 39.67 kB / 0.822 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.4507, allocations: 25.7 kB / 0.8221 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.4508, allocations: 318.8 kB / 0.8224 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4509, allocations: 27.98 kB / 0.8224 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.4509, allocations: 39.91 kB / 0.8224 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4511, allocations: 76.81 kB / 0.8225 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4511, allocations: 0 / 0.8225 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001736/0.4513, allocations: 117 kB / 0.8226 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4513, allocations: 7.938 kB / 0.8226 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4513, allocations: 0 / 0.8226 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4513, allocations: 4 kB / 0.8226 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.4514, allocations: 31.91 kB / 0.8226 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4514, allocations: 0 / 0.8226 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.4514, allocations: 4 kB / 0.8227 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4514, allocations: 11.98 kB / 0.8227 GB, free: 10.63 MB / 0.6042 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 6.163e-05/0.4515, allocations: 114.8 kB / 0.8228 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-06/0.4515, allocations: 7.891 kB / 0.8228 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.4515, allocations: 19.84 kB / 0.8228 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4515, allocations: 0 / 0.8228 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4515, allocations: 0 / 0.8228 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4515, allocations: 3.984 kB / 0.8228 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.576e-05/0.4516, allocations: 148.7 kB / 0.8229 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4516, allocations: 4 kB / 0.8229 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.4517, allocations: 23.98 kB / 0.823 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4517, allocations: 3.938 kB / 0.823 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4517, allocations: 7.984 kB / 0.823 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4517, allocations: 3.938 kB / 0.823 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4517, allocations: 0 / 0.823 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.4519, allocations: 144.9 kB / 0.8231 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.4519, allocations: 11.98 kB / 0.8231 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4519, allocations: 11.94 kB / 0.8231 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.4519, allocations: 4 kB / 0.8232 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.452, allocations: 11.97 kB / 0.8232 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.452, allocations: 4 kB / 0.8232 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.452, allocations: 75.28 kB / 0.8232 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.452, allocations: 0 / 0.8232 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000171/0.4522, allocations: 20 kB / 0.8233 GB, free: 9.949 MB / 0.6042 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.0003103/0.4525, allocations: 119.2 kB / 0.8234 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.4527, allocations: 91.81 kB / 0.8235 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4527, allocations: 0 / 0.8235 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.4528, allocations: 47.95 kB / 0.8235 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.4529, allocations: 2.188 kB / 0.8235 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.4532, allocations: 194.3 kB / 0.8237 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.4534, allocations: 0.6885 MB / 0.8244 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.4534, allocations: 15.42 kB / 0.8244 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.4534, allocations: 8 kB / 0.8244 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of Templates: time 0.002197/0.4556, allocations: 1.314 MB / 0.8257 GB, free: 7.414 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.676945619983599] Failed to read output from testmodel.py, exit status != 0: 0.46074435603804886 0.468608411 0.018216897000000003 Calling exit ...