Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001804/0.001804, allocations: 77.55 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.002123/0.002123, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.8079/0.8079, allocations: 101.3 MB / 361.1 MB, free: 9.52 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002103/0.002103, allocations: 65.77 kB / 0.5356 GB, free: 5.223 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.1397/0.1419, allocations: 85.89 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002859/0.1447, allocations: 1.543 MB / 0.621 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004789/0.1452, allocations: 180.3 kB / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.1452, allocations: 0 / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.381e-05/0.1452, allocations: 4 kB / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.1453, allocations: 3.938 kB / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1456, allocations: 51.88 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.1457, allocations: 35.86 kB / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.1458, allocations: 11.98 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.1458, allocations: 23.92 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.1458, allocations: 15.86 kB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1459, allocations: 4 kB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.146, allocations: 55.88 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.146, allocations: 7.984 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.146, allocations: 11.94 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1462, allocations: 71.78 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1462, allocations: 0 / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1462, allocations: 0 / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.1463, allocations: 4 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004789/0.1467, allocations: 292.8 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1468, allocations: 12.03 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1468, allocations: 4.938 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1469, allocations: 114.5 kB / 0.6219 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1469, allocations: 384 / 0.6219 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1469, allocations: 4.375 kB / 0.6219 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1471, allocations: 70.14 kB / 0.6219 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1472, allocations: 192 / 0.6219 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1472, allocations: 11.94 kB / 0.622 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1472, allocations: 0 / 0.622 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.1474, allocations: 47.94 kB / 0.622 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1477, allocations: 212.5 kB / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.1481, allocations: 62.42 kB / 0.6223 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1482, allocations: 28.89 kB / 0.6223 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.1483, allocations: 15.98 kB / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1484, allocations: 34.56 kB / 0.6223 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1484, allocations: 0 / 0.6223 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000393/0.1488, allocations: 89.77 kB / 0.6224 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.1488, allocations: 51.41 kB / 0.6225 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.1489, allocations: 109.8 kB / 0.6226 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1489, allocations: 25.7 kB / 0.6226 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.149, allocations: 96.06 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.149, allocations: 7.953 kB / 0.6227 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1491, allocations: 17.72 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1492, allocations: 314.8 kB / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.1493, allocations: 19.98 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.1494, allocations: 24.02 kB / 0.6231 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1496, allocations: 44.81 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1496, allocations: 7.938 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002338/0.1498, allocations: 73.61 kB / 0.6232 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1498, allocations: 11.98 kB / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1498, allocations: 0 / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1499, allocations: 3.938 kB / 0.6232 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.1499, allocations: 11.94 kB / 0.6232 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1499, allocations: 3.984 kB / 0.6232 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.15, allocations: 8 kB / 0.6232 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.15, allocations: 0 / 0.6232 GB, free: 13.56 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.236e-05/0.1501, allocations: 117.8 kB / 0.6233 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1501, allocations: 3.984 kB / 0.6233 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1504, allocations: 85.33 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1504, allocations: 0 / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1504, allocations: 256 / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1504, allocations: 0 / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1506, allocations: 117.2 kB / 0.6235 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1506, allocations: 0 / 0.6235 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.1506, allocations: 15.92 kB / 0.6235 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1506, allocations: 4 kB / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.1507, allocations: 0 / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1507, allocations: 0 / 0.6236 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1507, allocations: 4 kB / 0.6236 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1509, allocations: 171.4 kB / 0.6237 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.151, allocations: 7.984 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.151, allocations: 0 / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.1511, allocations: 4 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1511, allocations: 11.98 kB / 0.6237 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1511, allocations: 0 / 0.6237 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.1512, allocations: 91.2 kB / 0.6238 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1512, allocations: 0 / 0.6238 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002544/0.1514, allocations: 19.94 kB / 0.6238 GB, free: 12.86 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001763/0.1516, allocations: 126.6 kB / 0.624 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1518, allocations: 40.19 kB / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1518, allocations: 0 / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1519, allocations: 27.98 kB / 0.624 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.1522, allocations: 7.922 kB / 0.624 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.1525, allocations: 117.7 kB / 0.6242 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.059e-05/0.1525, allocations: 67.28 kB / 0.6242 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.1526, allocations: 3.984 kB / 0.6242 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.1526, allocations: 16.5 kB / 0.6242 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1526, allocations: 0 / 0.6242 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.00353/0.1561, allocations: 0.978 MB / 0.6252 GB, free: 11.43 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.021320173051208] Failed to read output from testmodel.py, exit status != 0: 0.16320918302517384 0.17938099200000002 0.030056403000000002 Calling exit ...