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.001542/0.001542, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001202/0.001202, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8318/0.8318, allocations: 135.2 MB / 426.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.89 kB / 0.506 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3479, allocations: 80.92 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001703/0.3497, allocations: 0.574 MB / 0.5856 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000333/0.35, allocations: 109.7 kB / 0.5857 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.3501, allocations: 0 / 0.5857 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.3501, allocations: 3.938 kB / 0.5857 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.3501, allocations: 0 / 0.5857 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.3504, allocations: 42.11 kB / 0.5858 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3505, allocations: 63.81 kB / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.3506, allocations: 2.688 kB / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.3506, allocations: 22.08 kB / 0.5859 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.3507, allocations: 24.83 kB / 0.5859 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3507, allocations: 2.594 kB / 0.5859 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3508, allocations: 48.67 kB / 0.5859 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.3508, allocations: 23.69 kB / 0.586 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.3509, allocations: 18.48 kB / 0.586 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.351, allocations: 70.05 kB / 0.586 GB, free: 24.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.351, allocations: 0.5 kB / 0.586 GB, free: 24.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.351, allocations: 0 / 0.586 GB, free: 24.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.351, allocations: 2.625 kB / 0.586 GB, free: 24.63 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.0004265/0.3515, allocations: 372.6 kB / 0.5864 GB, free: 24.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3515, allocations: 10.8 kB / 0.5864 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3516, allocations: 13.95 kB / 0.5864 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.985e-05/0.3516, allocations: 166.3 kB / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.3518, allocations: 288.2 kB / 0.5869 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3519, allocations: 8.75 kB / 0.5869 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.3521, allocations: 77.84 kB / 0.5869 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3521, allocations: 5.125 kB / 0.5869 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3521, allocations: 4 kB / 0.5869 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3521, allocations: 2.625 kB / 0.5869 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3524, allocations: 128.5 kB / 0.5871 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.3526, allocations: 179.4 kB / 0.5872 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.3529, allocations: 99.89 kB / 0.5873 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.353, allocations: 43.95 kB / 0.5874 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.353, allocations: 1.562 kB / 0.5874 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.353, allocations: 33.58 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3531, allocations: 0 / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004979/0.3536, allocations: 157.5 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3536, allocations: 52.53 kB / 0.5876 GB, free: 23.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.149e-05/0.3536, allocations: 90.92 kB / 0.5877 GB, free: 23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.3536, allocations: 26.61 kB / 0.5877 GB, free: 22.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.043e-05/0.3536, allocations: 80.14 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.3537, allocations: 42.42 kB / 0.5878 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3537, allocations: 29.73 kB / 0.5879 GB, free: 22.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.3538, allocations: 313.9 kB / 0.5882 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3539, allocations: 33.94 kB / 0.5882 GB, free: 22.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.354, allocations: 35.75 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.3543, allocations: 79 kB / 0.5883 GB, free: 22.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3543, allocations: 1.375 kB / 0.5883 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002933/0.3546, allocations: 108.2 kB / 0.5884 GB, free: 22.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3546, allocations: 8.844 kB / 0.5884 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3546, allocations: 0.625 kB / 0.5884 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3547, allocations: 1.094 kB / 0.5884 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3548, allocations: 34.62 kB / 0.5885 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3548, allocations: 1.375 kB / 0.5885 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.3549, allocations: 3.75 kB / 0.5885 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3549, allocations: 6.875 kB / 0.5885 GB, free: 22.36 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.773e-05/0.355, allocations: 116.1 kB / 0.5886 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.355, allocations: 10.84 kB / 0.5886 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.355, allocations: 11.97 kB / 0.5886 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.355, allocations: 2.188 kB / 0.5886 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.355, allocations: 5.156 kB / 0.5886 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.355, allocations: 0 / 0.5886 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.3551, allocations: 184.2 kB / 0.5888 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3551, allocations: 1.438 kB / 0.5888 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3553, allocations: 24.42 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3553, allocations: 6.906 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3553, allocations: 9.109 kB / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3553, allocations: 5.156 kB / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3553, allocations: 0 / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3556, allocations: 144.2 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3556, allocations: 79.27 kB / 0.589 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3557, allocations: 13.33 kB / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.3557, allocations: 3.156 kB / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.3558, allocations: 11.08 kB / 0.5891 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3558, allocations: 10.11 kB / 0.5891 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.195e-05/0.3558, allocations: 79.59 kB / 0.5892 GB, free: 21.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3558, allocations: 0 / 0.5892 GB, free: 21.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.356, allocations: 20.78 kB / 0.5892 GB, free: 21.69 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.0001583/0.3562, allocations: 121.3 kB / 0.5893 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3565, allocations: 99.72 kB / 0.5894 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3565, allocations: 1.281 kB / 0.5894 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3567, allocations: 46.62 kB / 0.5894 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3569, allocations: 3.469 kB / 0.5894 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.3572, allocations: 190.6 kB / 0.5896 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.3573, allocations: 0.6836 MB / 0.5903 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.3574, allocations: 29.69 kB / 0.5903 GB, free: 20.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3574, allocations: 1.125 kB / 0.5903 GB, free: 20.64 MB / 446.1 MB Notification: Performance of Templates: time 0.002608/0.36, allocations: 1.315 MB / 0.5916 GB, free: 19.48 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)