Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8211/0.8211, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 63.41 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1421, allocations: 80.93 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002924/0.145, allocations: 1.526 MB / 0.6668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005032/0.1456, allocations: 184.2 kB / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.1456, allocations: 0 / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.1456, allocations: 0 / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.1457, allocations: 7.938 kB / 0.667 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.146, allocations: 59.81 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.1461, allocations: 31.97 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.1462, allocations: 8 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.1463, allocations: 19.92 kB / 0.6671 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.1463, allocations: 27.84 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1464, allocations: 4 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1465, allocations: 47.95 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.1465, allocations: 8 kB / 0.6672 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1465, allocations: 15.88 kB / 0.6672 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1467, allocations: 63.78 kB / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1467, allocations: 0 / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1467, allocations: 0 / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1467, allocations: 4 kB / 0.6673 GB, free: 3.711 MB / 0.4981 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.0005247/0.1473, allocations: 359.3 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1473, allocations: 13.11 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1473, allocations: 8.891 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1475, allocations: 164.4 kB / 0.6678 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1475, allocations: 384 / 0.6678 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1475, allocations: 8.375 kB / 0.6678 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.1477, allocations: 70.09 kB / 0.6679 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1478, allocations: 192 / 0.6679 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1478, allocations: 3.938 kB / 0.6679 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1478, allocations: 4 kB / 0.6679 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.148, allocations: 51.94 kB / 0.668 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1484, allocations: 284.7 kB / 0.6682 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.1487, allocations: 54.48 kB / 0.6683 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1489, allocations: 28.89 kB / 0.6683 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.1491, allocations: 174.2 kB / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1491, allocations: 30.56 kB / 0.6685 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1492, allocations: 3.938 kB / 0.6685 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003809/0.1495, allocations: 89.62 kB / 0.6686 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1496, allocations: 59.34 kB / 0.6687 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.1497, allocations: 113.8 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1497, allocations: 25.7 kB / 0.6688 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1498, allocations: 88.09 kB / 0.6689 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1498, allocations: 12.02 kB / 0.6689 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1498, allocations: 21.7 kB / 0.6689 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.15, allocations: 314.8 kB / 0.6692 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.1501, allocations: 19.98 kB / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.1502, allocations: 23.97 kB / 0.6692 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1503, allocations: 44.81 kB / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1504, allocations: 0 / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002112/0.1506, allocations: 73.66 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1506, allocations: 7.938 kB / 0.6694 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1506, allocations: 0 / 0.6694 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1506, allocations: 0 / 0.6694 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.1507, allocations: 15.98 kB / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1507, allocations: 0 / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.1508, allocations: 7.984 kB / 0.6694 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1508, allocations: 4.312 kB / 0.6694 GB, free: 1.312 MB / 0.4981 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.061e-05/0.1509, allocations: 113.8 kB / 0.6695 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1509, allocations: 7.953 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.1512, allocations: 81.55 kB / 0.6696 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1512, allocations: 3.938 kB / 0.6696 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1512, allocations: 4 kB / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1512, allocations: 0 / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1514, allocations: 169.6 kB / 0.6698 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1514, allocations: 3.938 kB / 0.6698 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.1515, allocations: 11.98 kB / 0.6698 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1515, allocations: 0 / 0.6698 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1515, allocations: 0 / 0.6698 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1515, allocations: 3.984 kB / 0.6698 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1515, allocations: 4.375 kB / 0.6698 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1518, allocations: 175.4 kB / 0.6699 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1518, allocations: 81.06 kB / 0.67 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1518, allocations: 4 kB / 0.67 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.1519, allocations: 11.98 kB / 0.67 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.152, allocations: 7.984 kB / 0.67 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.152, allocations: 8 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.1521, allocations: 83.27 kB / 0.6701 GB, free: 460 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 0.6701 GB, free: 460 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002429/0.1523, allocations: 31.86 kB / 0.6702 GB, free: 428 kB / 0.4981 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.000168/0.1525, allocations: 107.2 kB / 0.6703 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1527, allocations: 51.94 kB / 0.6703 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1527, allocations: 4 kB / 0.6703 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/0.1528, allocations: 19.98 kB / 0.6703 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1531, allocations: 7.938 kB / 0.6703 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.1534, allocations: 129.2 kB / 0.6705 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1537, allocations: 0.6845 MB / 0.6711 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.1538, allocations: 8 kB / 0.6711 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1538, allocations: 7.438 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.064e-06/0.1538, allocations: 0 / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.003327/0.1571, allocations: 0.974 MB / 0.6721 GB, free: 14.38 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)