Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006363/0.006363, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.001092/0.001092, allocations: 199.3 kB / 16.68 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9728/0.9728, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 59.91 kB / 0.5857 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4577, allocations: 80.92 MB / 0.6647 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001447/0.4592, allocations: 0.5737 MB / 0.6652 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.4596, allocations: 109.4 kB / 0.6653 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.4596, allocations: 4 kB / 0.6653 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.4596, allocations: 9.156 kB / 0.6654 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.4597, allocations: 0 / 0.6654 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.46, allocations: 41.8 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.4602, allocations: 59.69 kB / 0.6655 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.4602, allocations: 1.406 kB / 0.6655 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.4603, allocations: 25.44 kB / 0.6655 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.4603, allocations: 19.94 kB / 0.6655 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.4603, allocations: 3.625 kB / 0.6655 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.4605, allocations: 50.59 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.4605, allocations: 27.66 kB / 0.6656 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.4606, allocations: 22.3 kB / 0.6656 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.4607, allocations: 70.56 kB / 0.6657 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4607, allocations: 0 / 0.6657 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4607, allocations: 0 / 0.6657 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.4607, allocations: 0 / 0.6657 GB, free: 6.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004246/0.4612, allocations: 373.7 kB / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4612, allocations: 9.156 kB / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.4613, allocations: 10.58 kB / 0.666 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.723e-05/0.4613, allocations: 161.5 kB / 0.6662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4615, allocations: 294.2 kB / 0.6665 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4615, allocations: 4.688 kB / 0.6665 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.4618, allocations: 77.86 kB / 0.6666 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4618, allocations: 3.938 kB / 0.6666 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4618, allocations: 0 / 0.6666 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.4618, allocations: 5.375 kB / 0.6666 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.4622, allocations: 136.1 kB / 0.6667 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.4623, allocations: 175.7 kB / 0.6669 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.4626, allocations: 107.2 kB / 0.667 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4628, allocations: 40.55 kB / 0.667 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4628, allocations: 6.156 kB / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.4628, allocations: 39.67 kB / 0.667 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.4628, allocations: 0 / 0.667 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005541/0.4634, allocations: 151.8 kB / 0.6672 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.4634, allocations: 56.81 kB / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.128e-05/0.4635, allocations: 95.25 kB / 0.6673 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4635, allocations: 33.64 kB / 0.6674 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.803e-05/0.4635, allocations: 80.14 kB / 0.6674 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.4636, allocations: 36.84 kB / 0.6675 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.4636, allocations: 33.91 kB / 0.6675 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.4637, allocations: 312.5 kB / 0.6678 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4638, allocations: 35.03 kB / 0.6678 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.464, allocations: 31.36 kB / 0.6679 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4642, allocations: 74.06 kB / 0.6679 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4643, allocations: 0 / 0.6679 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003309/0.4646, allocations: 117.2 kB / 0.6681 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4646, allocations: 7.875 kB / 0.6681 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4646, allocations: 1.312 kB / 0.6681 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4646, allocations: 0 / 0.6681 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4648, allocations: 25.67 kB / 0.6681 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.4648, allocations: 1.469 kB / 0.6681 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.4649, allocations: 15.69 kB / 0.6681 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4649, allocations: 2.844 kB / 0.6681 GB, free: 4.609 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: 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 7.469e-05/0.465, allocations: 118.4 kB / 0.6682 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.465, allocations: 4.938 kB / 0.6682 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.4651, allocations: 13.38 kB / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4651, allocations: 1.031 kB / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4651, allocations: 0 / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4651, allocations: 0.875 kB / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.4652, allocations: 179.9 kB / 0.6684 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4652, allocations: 4 kB / 0.6684 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.4654, allocations: 30.03 kB / 0.6684 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4654, allocations: 7.875 kB / 0.6684 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4654, allocations: 5.469 kB / 0.6685 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4654, allocations: 1.469 kB / 0.6685 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4654, allocations: 0 / 0.6685 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.4658, allocations: 137.6 kB / 0.6686 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.4658, allocations: 87.22 kB / 0.6687 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4658, allocations: 9.094 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.4659, allocations: 7.438 kB / 0.6687 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.466, allocations: 13.34 kB / 0.6687 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.466, allocations: 2.781 kB / 0.6687 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.737e-05/0.466, allocations: 75.28 kB / 0.6688 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.466, allocations: 0 / 0.6688 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002411/0.4663, allocations: 24.78 kB / 0.6688 GB, free: 3.93 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: 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.0002134/0.4665, allocations: 132.9 kB / 0.6689 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.4668, allocations: 80.75 kB / 0.669 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4669, allocations: 0 / 0.669 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.467, allocations: 54.22 kB / 0.669 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.4672, allocations: 6.5 kB / 0.6691 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.4675, allocations: 158.8 kB / 0.6692 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.4676, allocations: 0.6877 MB / 0.6699 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.4678, allocations: 43.02 kB / 0.6699 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.4678, allocations: 16.72 kB / 0.6699 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4678, allocations: 0 / 0.6699 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.003103/0.471, allocations: 1.022 MB / 0.6709 GB, free: 2.363 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)