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.007389/0.00739, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001188/0.001189, allocations: 187 kB / 16.67 MB, free: 5.883 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.953/0.953, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.05 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4396, allocations: 80.91 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002563/0.4422, allocations: 1.533 MB / 0.6661 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.4427, allocations: 177.1 kB / 0.6663 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.4427, allocations: 1.562 kB / 0.6663 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.4428, allocations: 7.922 kB / 0.6663 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.4428, allocations: 7.922 kB / 0.6663 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.4432, allocations: 55.2 kB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.4433, allocations: 35.59 kB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.4434, allocations: 13.33 kB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.4434, allocations: 12.81 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.4435, allocations: 21.33 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.4435, allocations: 3.344 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.4436, allocations: 51.88 kB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.4437, allocations: 5.625 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.4437, allocations: 22.52 kB / 0.6665 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.4438, allocations: 63.22 kB / 0.6666 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4439, allocations: 3.938 kB / 0.6666 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4439, allocations: 0 / 0.6666 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4439, allocations: 0 / 0.6666 GB, free: 6.059 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.0004562/0.4443, allocations: 362.5 kB / 0.6669 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4444, allocations: 9.469 kB / 0.6669 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.4444, allocations: 3.125 kB / 0.667 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.54e-05/0.4445, allocations: 170.9 kB / 0.6671 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4445, allocations: 5.594 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.4446, allocations: 7 kB / 0.6671 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.4448, allocations: 59.38 kB / 0.6672 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4448, allocations: 192 / 0.6672 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4448, allocations: 13.23 kB / 0.6672 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4448, allocations: 0 / 0.6672 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.445, allocations: 40.67 kB / 0.6672 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.4454, allocations: 288.7 kB / 0.6675 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.4457, allocations: 54.41 kB / 0.6676 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.4458, allocations: 27.83 kB / 0.6676 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.446, allocations: 170 kB / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.446, allocations: 34.56 kB / 0.6678 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.446, allocations: 0 / 0.6678 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003876/0.4464, allocations: 98.62 kB / 0.6679 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.4464, allocations: 52.53 kB / 0.6679 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.4465, allocations: 112.2 kB / 0.668 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.4465, allocations: 25.7 kB / 0.6681 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.4466, allocations: 89.39 kB / 0.6681 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4466, allocations: 9.172 kB / 0.6682 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.4466, allocations: 13.81 kB / 0.6682 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.4467, allocations: 319.9 kB / 0.6685 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.4468, allocations: 26.81 kB / 0.6685 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.4469, allocations: 14.77 kB / 0.6685 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.447, allocations: 50.72 kB / 0.6686 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.447, allocations: 0 / 0.6686 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002075/0.4473, allocations: 76.91 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4473, allocations: 5.406 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.4473, allocations: 1.531 kB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4473, allocations: 0 / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.4474, allocations: 14.83 kB / 0.6687 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4474, allocations: 4.906 kB / 0.6687 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.4475, allocations: 11.3 kB / 0.6687 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.4475, allocations: 1.094 kB / 0.6687 GB, free: 3.953 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 5.401e-05/0.4475, allocations: 116.7 kB / 0.6688 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4476, allocations: 5.812 kB / 0.6688 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.4478, allocations: 88.14 kB / 0.6689 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4478, allocations: 4 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4478, allocations: 1.438 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4479, allocations: 3.984 kB / 0.6689 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.448, allocations: 173.6 kB / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.448, allocations: 0 / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.4481, allocations: 11.3 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4481, allocations: 0 / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.4481, allocations: 1.156 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4481, allocations: 1.156 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4481, allocations: 0 / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.4483, allocations: 179.9 kB / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.4484, allocations: 86.16 kB / 0.6693 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4484, allocations: 1.281 kB / 0.6693 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.4485, allocations: 2.906 kB / 0.6693 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4485, allocations: 11.86 kB / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4485, allocations: 0 / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.833e-05/0.4486, allocations: 94.08 kB / 0.6694 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4486, allocations: 0 / 0.6694 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002619/0.4488, allocations: 18.19 kB / 0.6694 GB, free: 3.172 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.0001674/0.449, allocations: 114.3 kB / 0.6695 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.4493, allocations: 45.73 kB / 0.6696 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4493, allocations: 1.031 kB / 0.6696 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/0.4494, allocations: 34.55 kB / 0.6696 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.4496, allocations: 14.64 kB / 0.6696 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.4499, allocations: 120.4 kB / 0.6698 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.4501, allocations: 0.6794 MB / 0.6704 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.4501, allocations: 4.031 kB / 0.6704 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.4501, allocations: 14.16 kB / 0.6704 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4501, allocations: 0 / 0.6704 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of Templates: time 0.003355/0.4535, allocations: 0.9767 MB / 0.6714 GB, free: 1.695 MB / 0.4981 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)