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.001577/0.001577, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001862/0.001862, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7952/0.7952, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 0.5068 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3142, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00168/0.3159, allocations: 0.5762 MB / 0.5863 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000321/0.3162, allocations: 110.5 kB / 0.5864 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.3162, allocations: 0 / 0.5864 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.3163, allocations: 0 / 0.5864 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.3163, allocations: 1.719 kB / 0.5864 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3166, allocations: 40.69 kB / 0.5865 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3167, allocations: 63.62 kB / 0.5865 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.3167, allocations: 2.781 kB / 0.5865 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.3168, allocations: 30.5 kB / 0.5866 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.3168, allocations: 20.72 kB / 0.5866 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3169, allocations: 2.875 kB / 0.5866 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.317, allocations: 47.3 kB / 0.5866 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.317, allocations: 20.97 kB / 0.5867 GB, free: 25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.317, allocations: 17.52 kB / 0.5867 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.3172, allocations: 78.75 kB / 0.5868 GB, free: 24.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3172, allocations: 1.125 kB / 0.5868 GB, free: 24.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3172, allocations: 0.5625 kB / 0.5868 GB, free: 24.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3172, allocations: 5.188 kB / 0.5868 GB, free: 24.93 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003861/0.3176, allocations: 371.3 kB / 0.5871 GB, free: 24.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3176, allocations: 12.23 kB / 0.5871 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3177, allocations: 6.25 kB / 0.5871 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.887e-05/0.3177, allocations: 171.2 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3179, allocations: 280 kB / 0.5876 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3179, allocations: 2.688 kB / 0.5876 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.3182, allocations: 82.88 kB / 0.5876 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3182, allocations: 5.438 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3182, allocations: 0.6562 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3182, allocations: 2.062 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.3186, allocations: 131.7 kB / 0.5878 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.3187, allocations: 175.9 kB / 0.5879 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.319, allocations: 108.6 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.3191, allocations: 43.73 kB / 0.5881 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3191, allocations: 1.406 kB / 0.5881 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.3191, allocations: 37.16 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3192, allocations: 0 / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004574/0.3196, allocations: 150.2 kB / 0.5883 GB, free: 23.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3197, allocations: 59.12 kB / 0.5883 GB, free: 23.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.905e-05/0.3197, allocations: 89.86 kB / 0.5884 GB, free: 23.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3197, allocations: 34.67 kB / 0.5884 GB, free: 23.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.979e-06/0.3197, allocations: 86.06 kB / 0.5885 GB, free: 23.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3198, allocations: 36.11 kB / 0.5886 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3198, allocations: 26.52 kB / 0.5886 GB, free: 23.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.3198, allocations: 316.4 kB / 0.5889 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.32, allocations: 30.66 kB / 0.5889 GB, free: 22.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3201, allocations: 38.59 kB / 0.589 GB, free: 22.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.3203, allocations: 69.88 kB / 0.589 GB, free: 22.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3203, allocations: 4 kB / 0.589 GB, free: 22.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002892/0.3206, allocations: 118.1 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3207, allocations: 8.938 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3207, allocations: 1.812 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3207, allocations: 1.438 kB / 0.5892 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3208, allocations: 25.22 kB / 0.5892 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3208, allocations: 0 / 0.5892 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.3209, allocations: 9.656 kB / 0.5892 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3209, allocations: 2.094 kB / 0.5892 GB, free: 22.67 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: 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 5.895e-05/0.321, allocations: 120.5 kB / 0.5893 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.321, allocations: 12.72 kB / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.321, allocations: 7.969 kB / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.321, allocations: 1.344 kB / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3211, allocations: 0 / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3211, allocations: 0 / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.58e-05/0.3212, allocations: 184.2 kB / 0.5895 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3212, allocations: 0.8438 kB / 0.5895 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3213, allocations: 26.14 kB / 0.5895 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3213, allocations: 5.938 kB / 0.5895 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3213, allocations: 5.453 kB / 0.5895 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3213, allocations: 1.062 kB / 0.5895 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3213, allocations: 0 / 0.5895 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.3216, allocations: 147.6 kB / 0.5897 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.3216, allocations: 79.48 kB / 0.5898 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3217, allocations: 9.266 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.3217, allocations: 12.88 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.3218, allocations: 8.766 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.3218, allocations: 10.67 kB / 0.5898 GB, free: 22.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.116e-05/0.3218, allocations: 79.3 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3218, allocations: 0.625 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.322, allocations: 22.38 kB / 0.5899 GB, free: 22 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: 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.0001498/0.3222, allocations: 126.4 kB / 0.59 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.3225, allocations: 86.11 kB / 0.5901 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3225, allocations: 0 / 0.5901 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3226, allocations: 47.91 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3228, allocations: 13.52 kB / 0.5902 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3231, allocations: 164.2 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.463e-05/0.3232, allocations: 0.6846 MB / 0.591 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3233, allocations: 39.27 kB / 0.591 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.3234, allocations: 19.42 kB / 0.591 GB, free: 20.79 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3234, allocations: 2.281 kB / 0.591 GB, free: 20.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002681/0.3261, allocations: 0.9996 MB / 0.592 GB, free: 19.84 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)