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.005139/0.005139, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.001039/0.001039, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.379/1.379, allocations: 222.9 MB / 240.4 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.8236/0.8236, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.28 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 80.93 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00249/0.1482, allocations: 1.518 MB / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004384/0.1487, allocations: 176.3 kB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.1487, allocations: 0 / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.1487, allocations: 7.938 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.1488, allocations: 7.922 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1491, allocations: 55.88 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.1492, allocations: 31.92 kB / 0.6664 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1493, allocations: 12 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.1493, allocations: 15.92 kB / 0.6664 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.1494, allocations: 19.91 kB / 0.6664 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1494, allocations: 4 kB / 0.6665 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1495, allocations: 47.95 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.1495, allocations: 4 kB / 0.6665 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1496, allocations: 27.84 kB / 0.6665 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1497, allocations: 63.86 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1497, allocations: 0 / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1497, allocations: 0 / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1497, allocations: 7.922 kB / 0.6666 GB, free: 3.777 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.0004979/0.1502, allocations: 359.2 kB / 0.6669 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1503, allocations: 9.109 kB / 0.6669 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1503, allocations: 4.938 kB / 0.667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1505, allocations: 168.4 kB / 0.6671 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1505, allocations: 12.38 kB / 0.6671 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1505, allocations: 4.312 kB / 0.6671 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1507, allocations: 66.22 kB / 0.6672 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1507, allocations: 192 / 0.6672 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1508, allocations: 3.938 kB / 0.6672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1508, allocations: 0 / 0.6672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1509, allocations: 47.89 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1514, allocations: 288.7 kB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.1517, allocations: 58.53 kB / 0.6676 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.1518, allocations: 24.91 kB / 0.6676 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.152, allocations: 166.2 kB / 0.6678 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1521, allocations: 42.5 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1521, allocations: 0 / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003612/0.1524, allocations: 97.53 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1525, allocations: 51.41 kB / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.1526, allocations: 109.9 kB / 0.668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1526, allocations: 29.7 kB / 0.6681 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.1527, allocations: 88.14 kB / 0.6682 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.1527, allocations: 3.906 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1527, allocations: 21.7 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1529, allocations: 318.8 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1529, allocations: 19.97 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.153, allocations: 19.98 kB / 0.6685 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1532, allocations: 52.75 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1532, allocations: 4 kB / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001903/0.1534, allocations: 65.66 kB / 0.6686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1534, allocations: 8 kB / 0.6686 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1534, allocations: 0 / 0.6686 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1535, allocations: 0 / 0.6686 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.1535, allocations: 15.98 kB / 0.6687 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1536, allocations: 4 kB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.1536, allocations: 7.984 kB / 0.6687 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1536, allocations: 0 / 0.6687 GB, free: 1.387 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 0.0001381/0.1538, allocations: 117.7 kB / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1538, allocations: 3.906 kB / 0.6688 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1541, allocations: 89.48 kB / 0.6689 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1541, allocations: 4 kB / 0.6689 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1541, allocations: 3.938 kB / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1541, allocations: 0 / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1543, allocations: 173.6 kB / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1543, allocations: 0 / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.1543, allocations: 8 kB / 0.6691 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1543, allocations: 0 / 0.6691 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1544, allocations: 3.984 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1544, allocations: 4 kB / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1544, allocations: 4 kB / 0.6691 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1546, allocations: 175.4 kB / 0.6692 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.1547, allocations: 85.38 kB / 0.6693 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1547, allocations: 3.984 kB / 0.6693 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1548, allocations: 4 kB / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1548, allocations: 11.98 kB / 0.6693 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1548, allocations: 0 / 0.6693 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.1549, allocations: 91.28 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1549, allocations: 0 / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002387/0.1551, allocations: 15.98 kB / 0.6694 GB, free: 0.5 MB / 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.0001718/0.1553, allocations: 120.5 kB / 0.6696 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1555, allocations: 47.89 kB / 0.6696 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1556, allocations: 0 / 0.6696 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.1556, allocations: 27.98 kB / 0.6696 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1559, allocations: 10.05 kB / 0.6696 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.1562, allocations: 125.5 kB / 0.6698 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1565, allocations: 0.6768 MB / 0.6704 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.1565, allocations: 4 kB / 0.6704 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.1566, allocations: 15.44 kB / 0.6704 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1566, allocations: 3.938 kB / 0.6704 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.003464/0.1601, allocations: 0.9835 MB / 0.6714 GB, free: 14.44 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)