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.001384/0.001384, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7172/0.7172, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 63.42 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4343, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003049/0.4373, allocations: 1.525 MB / 0.5816 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004361/0.4378, allocations: 182.5 kB / 0.5818 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.4379, allocations: 5.312 kB / 0.5818 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.4379, allocations: 5.25 kB / 0.5818 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.438, allocations: 3.938 kB / 0.5818 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.4383, allocations: 51.58 kB / 0.5818 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.4384, allocations: 39.47 kB / 0.5819 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.4385, allocations: 16.16 kB / 0.5819 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.4385, allocations: 11.77 kB / 0.5819 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.4386, allocations: 26.2 kB / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.4386, allocations: 2.625 kB / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4387, allocations: 44.72 kB / 0.5819 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.4388, allocations: 7.031 kB / 0.582 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.4388, allocations: 17.62 kB / 0.582 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.439, allocations: 64.69 kB / 0.582 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.439, allocations: 0 / 0.582 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.439, allocations: 1.375 kB / 0.582 GB, free: 3.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.439, allocations: 7.938 kB / 0.582 GB, free: 3.211 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.000435/0.4394, allocations: 354.6 kB / 0.5824 GB, free: 2.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4395, allocations: 10.59 kB / 0.5824 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.4395, allocations: 7.281 kB / 0.5824 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.4396, allocations: 166.6 kB / 0.5826 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4396, allocations: 2.969 kB / 0.5826 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4397, allocations: 3.516 kB / 0.5826 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.4399, allocations: 69.55 kB / 0.5826 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4399, allocations: 0.8906 kB / 0.5826 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4399, allocations: 3.938 kB / 0.5826 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4399, allocations: 1.062 kB / 0.5826 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.4401, allocations: 43.95 kB / 0.5827 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.4405, allocations: 277.8 kB / 0.5829 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.4408, allocations: 64.67 kB / 0.583 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.4409, allocations: 25.38 kB / 0.583 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.4411, allocations: 170.4 kB / 0.5832 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.4411, allocations: 32.41 kB / 0.5832 GB, free: 2.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.4411, allocations: 4 kB / 0.5832 GB, free: 2.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003764/0.4415, allocations: 97.03 kB / 0.5833 GB, free: 1.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.4415, allocations: 56.77 kB / 0.5834 GB, free: 1.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.4416, allocations: 106.9 kB / 0.5835 GB, free: 1.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.4416, allocations: 30.39 kB / 0.5835 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.4417, allocations: 86.72 kB / 0.5836 GB, free: 1.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.4417, allocations: 9.094 kB / 0.5836 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.4417, allocations: 19.59 kB / 0.5836 GB, free: 1.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.4418, allocations: 325.5 kB / 0.5839 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.4419, allocations: 16.61 kB / 0.5839 GB, free: 1.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.4419, allocations: 23.67 kB / 0.584 GB, free: 1.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.4421, allocations: 46.72 kB / 0.584 GB, free: 1.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4421, allocations: 4 kB / 0.584 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002106/0.4423, allocations: 77.44 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4424, allocations: 6.391 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4424, allocations: 0 / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4424, allocations: 1.188 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.4425, allocations: 10.8 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4425, allocations: 1.219 kB / 0.5841 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.4426, allocations: 9.797 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.4426, allocations: 5.609 kB / 0.5841 GB, free: 1.246 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.01e-05/0.4426, allocations: 113.7 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4427, allocations: 9.422 kB / 0.5842 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.4429, allocations: 80.36 kB / 0.5843 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4429, allocations: 1.719 kB / 0.5843 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4429, allocations: 3.938 kB / 0.5843 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4429, allocations: 0.8438 kB / 0.5843 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.4431, allocations: 173.1 kB / 0.5845 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4431, allocations: 4.969 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.4432, allocations: 10.62 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4432, allocations: 1.406 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4432, allocations: 0.5156 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4432, allocations: 1.469 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4432, allocations: 0 / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.4434, allocations: 174.5 kB / 0.5847 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.4434, allocations: 83 kB / 0.5847 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4435, allocations: 1.375 kB / 0.5847 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.4436, allocations: 6.312 kB / 0.5848 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4436, allocations: 8.656 kB / 0.5848 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4436, allocations: 2.953 kB / 0.5848 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.732e-05/0.4436, allocations: 87.16 kB / 0.5848 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4437, allocations: 3.938 kB / 0.5849 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000245/0.4439, allocations: 25.81 kB / 0.5849 GB, free: 0.5195 MB / 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.0001587/0.4441, allocations: 113.6 kB / 0.585 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4443, allocations: 46.22 kB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4443, allocations: 0 / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4444, allocations: 25.31 kB / 0.5851 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4447, allocations: 17.09 kB / 0.5851 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.445, allocations: 123.1 kB / 0.5852 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4452, allocations: 0.6845 MB / 0.5859 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.4453, allocations: 3.312 kB / 0.5859 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.4453, allocations: 19.3 kB / 0.5859 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4453, allocations: 0 / 0.5859 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.003268/0.4486, allocations: 0.9658 MB / 0.5868 GB, free: 15.48 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)