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.001578/0.001578, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001811/0.001811, allocations: 188.7 kB / 17.2 MB, free: 5.508 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7912/0.7912, allocations: 135.1 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3793, allocations: 80.92 MB / 0.585 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002347/0.3816, allocations: 1.531 MB / 0.5865 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.382, allocations: 177 kB / 0.5867 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.3821, allocations: 1.219 kB / 0.5867 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.3821, allocations: 4.594 kB / 0.5867 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.3822, allocations: 7.062 kB / 0.5867 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3825, allocations: 50.16 kB / 0.5867 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.3826, allocations: 39.92 kB / 0.5868 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.3827, allocations: 14.89 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.3827, allocations: 10.81 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.3827, allocations: 20.16 kB / 0.5868 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3827, allocations: 4 kB / 0.5868 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3829, allocations: 47.7 kB / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.3829, allocations: 9.062 kB / 0.5869 GB, free: 24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.3829, allocations: 21.05 kB / 0.5869 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.383, allocations: 61.69 kB / 0.5869 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.383, allocations: 0 / 0.5869 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.383, allocations: 2.438 kB / 0.587 GB, free: 23.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3831, allocations: 1.281 kB / 0.587 GB, free: 23.95 MB / 446.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.00039/0.3835, allocations: 352 kB / 0.5873 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3835, allocations: 11.2 kB / 0.5873 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3835, allocations: 7.531 kB / 0.5873 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.3836, allocations: 178.3 kB / 0.5875 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3836, allocations: 6.188 kB / 0.5875 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3837, allocations: 5.344 kB / 0.5875 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.3839, allocations: 58.8 kB / 0.5875 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3839, allocations: 1.562 kB / 0.5875 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3839, allocations: 7.922 kB / 0.5876 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3839, allocations: 1.281 kB / 0.5876 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3841, allocations: 45.58 kB / 0.5876 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.3844, allocations: 279.7 kB / 0.5879 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.3847, allocations: 59.41 kB / 0.5879 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.3848, allocations: 25.12 kB / 0.5879 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.385, allocations: 166.7 kB / 0.5881 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.385, allocations: 35.84 kB / 0.5881 GB, free: 22.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.385, allocations: 0 / 0.5881 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003704/0.3854, allocations: 101.8 kB / 0.5882 GB, free: 22.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.3854, allocations: 52.47 kB / 0.5883 GB, free: 22.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.23e-05/0.3855, allocations: 107 kB / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3855, allocations: 27.11 kB / 0.5884 GB, free: 22.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.3855, allocations: 90.23 kB / 0.5885 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.3856, allocations: 10.05 kB / 0.5885 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3856, allocations: 17.09 kB / 0.5885 GB, free: 22.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.3856, allocations: 316.7 kB / 0.5888 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.3857, allocations: 23.62 kB / 0.5888 GB, free: 21.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.3858, allocations: 23.42 kB / 0.5889 GB, free: 21.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.386, allocations: 52.09 kB / 0.5889 GB, free: 21.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.386, allocations: 1.312 kB / 0.5889 GB, free: 21.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001998/0.3862, allocations: 68.67 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3862, allocations: 6.906 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3862, allocations: 3.984 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3863, allocations: 1.031 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.3863, allocations: 16.55 kB / 0.589 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3864, allocations: 1.812 kB / 0.589 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.3864, allocations: 16.23 kB / 0.589 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3864, allocations: 1.406 kB / 0.589 GB, free: 21.86 MB / 446.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 4.806e-05/0.3865, allocations: 112.7 kB / 0.5891 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.3865, allocations: 7.062 kB / 0.5891 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3868, allocations: 88.77 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3868, allocations: 1.125 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3868, allocations: 1.562 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3868, allocations: 5.547 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3869, allocations: 168.8 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3869, allocations: 0 / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.387, allocations: 13.7 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.387, allocations: 0 / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.387, allocations: 5.062 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.387, allocations: 0 / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.387, allocations: 8.391 kB / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3873, allocations: 170.6 kB / 0.5896 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.3873, allocations: 82.41 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3873, allocations: 1.219 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.3874, allocations: 4.781 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3874, allocations: 10.64 kB / 0.5897 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3875, allocations: 1.125 kB / 0.5897 GB, free: 21.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.674e-05/0.3875, allocations: 90.45 kB / 0.5898 GB, free: 21.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3875, allocations: 4.5 kB / 0.5898 GB, free: 21.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3877, allocations: 22.41 kB / 0.5898 GB, free: 21.09 MB / 446.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.0001568/0.3879, allocations: 114 kB / 0.5899 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3881, allocations: 48.3 kB / 0.59 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3882, allocations: 1.125 kB / 0.59 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3883, allocations: 25.39 kB / 0.59 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3885, allocations: 11.27 kB / 0.59 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.3888, allocations: 146.2 kB / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.3889, allocations: 0.679 MB / 0.5908 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.3889, allocations: 10.75 kB / 0.5908 GB, free: 20.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.389, allocations: 0 / 0.5908 GB, free: 20.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002078/0.391, allocations: 0.9757 MB / 0.5918 GB, free: 19.4 MB / 446.1 MB 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)