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.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/package.mo", uses=false) 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.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_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001297/0.001297, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001498/0.001498, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7894/0.7894, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 55.97 kB / 0.5013 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4822, allocations: 80.21 MB / 0.5796 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003958/0.4862, allocations: 1.596 MB / 0.5812 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.4868, allocations: 175.8 kB / 0.5813 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.4868, allocations: 0.9375 kB / 0.5813 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.4869, allocations: 0.75 kB / 0.5813 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.4869, allocations: 5.672 kB / 0.5813 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.4874, allocations: 51.05 kB / 0.5814 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.4874, allocations: 35.38 kB / 0.5814 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.4876, allocations: 11.92 kB / 0.5814 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.4876, allocations: 15.88 kB / 0.5814 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.4877, allocations: 22.39 kB / 0.5815 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.4877, allocations: 4.062 kB / 0.5815 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.4878, allocations: 47.86 kB / 0.5815 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.4878, allocations: 14.12 kB / 0.5815 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.4879, allocations: 17.98 kB / 0.5815 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.488, allocations: 60.78 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.488, allocations: 1.344 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4881, allocations: 0 / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4881, allocations: 4.641 kB / 0.5816 GB, free: 3.18 MB / 430.1 MB 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.000422/0.4885, allocations: 355.2 kB / 0.5819 GB, free: 2.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4885, allocations: 9.25 kB / 0.582 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.4886, allocations: 6.562 kB / 0.582 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.4887, allocations: 176.1 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4887, allocations: 2.5 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4887, allocations: 2.375 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.4889, allocations: 62.59 kB / 0.5822 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4889, allocations: 192 / 0.5822 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.489, allocations: 5.031 kB / 0.5822 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.489, allocations: 0.75 kB / 0.5822 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.4892, allocations: 43.84 kB / 0.5822 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.4895, allocations: 288.9 kB / 0.5825 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.4898, allocations: 58.38 kB / 0.5826 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.49, allocations: 25.19 kB / 0.5826 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.4902, allocations: 169.5 kB / 0.5828 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.4902, allocations: 36.09 kB / 0.5828 GB, free: 1.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4902, allocations: 0 / 0.5828 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003782/0.4906, allocations: 93.7 kB / 0.5829 GB, free: 1.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.4906, allocations: 52.22 kB / 0.5829 GB, free: 1.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.239e-05/0.4907, allocations: 115.8 kB / 0.583 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.4907, allocations: 25.7 kB / 0.5831 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.4907, allocations: 87.19 kB / 0.5831 GB, free: 1.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.4908, allocations: 9.344 kB / 0.5832 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.4908, allocations: 15.28 kB / 0.5832 GB, free: 1.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.4909, allocations: 324.7 kB / 0.5835 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.4909, allocations: 16.95 kB / 0.5835 GB, free: 1.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.491, allocations: 24.94 kB / 0.5835 GB, free: 1.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4912, allocations: 49.66 kB / 0.5836 GB, free: 1.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4912, allocations: 1.25 kB / 0.5836 GB, free: 1.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/0.4914, allocations: 78.06 kB / 0.5836 GB, free: 1.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4914, allocations: 7.125 kB / 0.5836 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4914, allocations: 0 / 0.5836 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4914, allocations: 1.562 kB / 0.5836 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.4915, allocations: 15.88 kB / 0.5837 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4915, allocations: 0 / 0.5837 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.4916, allocations: 14.44 kB / 0.5837 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.4916, allocations: 0.5156 kB / 0.5837 GB, free: 1.215 MB / 430.1 MB 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.897e-05/0.4917, allocations: 117.7 kB / 0.5838 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.4917, allocations: 6.828 kB / 0.5838 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.492, allocations: 86.47 kB / 0.5839 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.492, allocations: 2.141 kB / 0.5839 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.492, allocations: 0 / 0.5839 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.492, allocations: 0 / 0.5839 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.4921, allocations: 174.9 kB / 0.584 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4921, allocations: 0 / 0.584 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.4922, allocations: 11.64 kB / 0.5841 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4922, allocations: 0 / 0.5841 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4922, allocations: 1.578 kB / 0.5841 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4923, allocations: 0 / 0.5841 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4923, allocations: 5.953 kB / 0.5841 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4925, allocations: 173.1 kB / 0.5842 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.4925, allocations: 84.09 kB / 0.5843 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4925, allocations: 0 / 0.5843 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.4926, allocations: 10.09 kB / 0.5843 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.4927, allocations: 6.047 kB / 0.5843 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.4927, allocations: 6.281 kB / 0.5843 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.498e-05/0.4927, allocations: 91.67 kB / 0.5844 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4927, allocations: 0 / 0.5844 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.493, allocations: 17.95 kB / 0.5844 GB, free: 500 kB / 430.1 MB 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.0002009/0.4932, allocations: 116.4 kB / 0.5845 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.4935, allocations: 43.08 kB / 0.5846 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4935, allocations: 4 kB / 0.5846 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4936, allocations: 28.5 kB / 0.5846 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4939, allocations: 15.11 kB / 0.5846 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.4942, allocations: 125.5 kB / 0.5848 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.4945, allocations: 0.679 MB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.4945, allocations: 8.375 kB / 0.5854 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.4945, allocations: 15.47 kB / 0.5854 GB, free: 15.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4945, allocations: 0 / 0.5854 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Templates: time 0.00377/0.4983, allocations: 0.9048 MB / 0.5863 GB, free: 15.44 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)