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.001565/0.001565, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001313/0.001313, allocations: 157.5 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.384/1.384, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7928/0.7928, allocations: 101.3 MB / 361.1 MB, free: 9.539 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.002114/0.002114, allocations: 66.52 kB / 0.5357 GB, free: 5.238 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 FrontEnd - Absyn->SCode: time 0.1355/0.1376, allocations: 85.89 MB / 0.6195 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001695/0.1393, allocations: 0.5836 MB / 0.6201 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003631/0.1397, allocations: 100.1 kB / 0.6202 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.1397, allocations: 0 / 0.6202 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1397, allocations: 7.938 kB / 0.6202 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1397, allocations: 0 / 0.6202 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1401, allocations: 47.88 kB / 0.6203 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1402, allocations: 59.94 kB / 0.6203 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.1402, allocations: 0 / 0.6203 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.1403, allocations: 31.97 kB / 0.6203 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.1403, allocations: 23.91 kB / 0.6204 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1403, allocations: 4 kB / 0.6204 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1405, allocations: 47.94 kB / 0.6204 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.1405, allocations: 19.98 kB / 0.6204 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.1405, allocations: 19.91 kB / 0.6205 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1407, allocations: 75.72 kB / 0.6205 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1407, allocations: 4 kB / 0.6205 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1407, allocations: 0 / 0.6205 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.1407, allocations: 0 / 0.6205 GB, free: 0.5195 MB / 0.5137 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.0004899/0.1412, allocations: 294.3 kB / 0.6208 GB, free: 204 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1412, allocations: 12.03 kB / 0.6208 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1413, allocations: 8.938 kB / 0.6208 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.1413, allocations: 110.5 kB / 0.6209 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.1418, allocations: 0.5298 MB / 0.6215 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1418, allocations: 4.375 kB / 0.6215 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1421, allocations: 90.12 kB / 0.6215 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1421, allocations: 3.938 kB / 0.6216 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1421, allocations: 0 / 0.6216 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1421, allocations: 8 kB / 0.6216 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.1424, allocations: 123.8 kB / 0.6217 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1426, allocations: 121.3 kB / 0.6218 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1429, allocations: 90.45 kB / 0.6219 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1431, allocations: 40.83 kB / 0.6219 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1431, allocations: 8 kB / 0.6219 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1431, allocations: 30.56 kB / 0.622 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1431, allocations: 4 kB / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005421/0.1437, allocations: 152.3 kB / 0.6221 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1437, allocations: 51.41 kB / 0.6222 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/0.1438, allocations: 89.86 kB / 0.6222 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1438, allocations: 33.7 kB / 0.6223 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.1438, allocations: 80.14 kB / 0.6223 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.1439, allocations: 43.61 kB / 0.6224 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.1439, allocations: 29.7 kB / 0.6224 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1441, allocations: 314.8 kB / 0.6227 GB, free: 14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1442, allocations: 27.97 kB / 0.6227 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1443, allocations: 39.97 kB / 0.6228 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.1446, allocations: 80.14 kB / 0.6229 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1446, allocations: 0 / 0.6229 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003471/0.145, allocations: 109.6 kB / 0.623 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.145, allocations: 4 kB / 0.623 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.145, allocations: 4 kB / 0.623 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.145, allocations: 3.938 kB / 0.623 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1451, allocations: 27.92 kB / 0.623 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1452, allocations: 3.984 kB / 0.623 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.1452, allocations: 15.88 kB / 0.623 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1452, allocations: 4 kB / 0.623 GB, free: 13.68 MB / 0.5294 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 9.601e-05/0.1453, allocations: 121.8 kB / 0.6231 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1453, allocations: 7.953 kB / 0.6231 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1454, allocations: 15.91 kB / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1454, allocations: 3.984 kB / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1454, allocations: 0 / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1454, allocations: 0 / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1455, allocations: 117.3 kB / 0.6233 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1455, allocations: 0 / 0.6233 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.1456, allocations: 35.91 kB / 0.6233 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1456, allocations: 0 / 0.6233 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1457, allocations: 4 kB / 0.6233 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1457, allocations: 3.938 kB / 0.6233 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1457, allocations: 0 / 0.6233 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.146, allocations: 141 kB / 0.6235 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.146, allocations: 11.88 kB / 0.6235 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1461, allocations: 0 / 0.6235 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.1461, allocations: 7.938 kB / 0.6235 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1462, allocations: 19.97 kB / 0.6235 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1462, allocations: 7.984 kB / 0.6235 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.1462, allocations: 79.28 kB / 0.6236 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1462, allocations: 0 / 0.6236 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002324/0.1465, allocations: 20 kB / 0.6236 GB, free: 13.03 MB / 0.5294 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.0001608/0.1466, allocations: 115.1 kB / 0.6237 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.147, allocations: 83.94 kB / 0.6238 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.147, allocations: 0 / 0.6238 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.1471, allocations: 47.84 kB / 0.6238 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1473, allocations: 8 kB / 0.6238 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.1476, allocations: 163.6 kB / 0.624 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.015e-05/0.1477, allocations: 67.34 kB / 0.6241 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.1478, allocations: 39.95 kB / 0.6241 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.526e-05/0.1479, allocations: 24.48 kB / 0.6241 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1479, allocations: 0 / 0.6241 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.003494/0.1514, allocations: 0.9817 MB / 0.6251 GB, free: 11.47 MB / 0.5294 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.067653993028216] Failed to read output from testmodel.py, exit status != 0: 0.15844083309639245 0.17375323899999995 0.030106447 Calling exit ...