Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008551/0.0008554, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0009677/0.0009676, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8501/0.8501, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 12 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4815, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0006364/0.4821, allocations: 321.1 kB / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003724/0.4825, allocations: 107 kB / 0.5841 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.4825, allocations: 0 / 0.5841 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.4826, allocations: 0.5156 kB / 0.5841 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.4826, allocations: 0 / 0.5841 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.4828, allocations: 34.91 kB / 0.5841 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.483, allocations: 60.38 kB / 0.5842 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.483, allocations: 1.922 kB / 0.5842 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.483, allocations: 22 kB / 0.5842 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.4831, allocations: 23.97 kB / 0.5842 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.4831, allocations: 2.781 kB / 0.5842 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4832, allocations: 48.41 kB / 0.5843 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.4833, allocations: 25.89 kB / 0.5843 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.4833, allocations: 46.47 kB / 0.5844 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.4835, allocations: 68.97 kB / 0.5844 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4835, allocations: 0 / 0.5844 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4835, allocations: 0 / 0.5844 GB, free: 3.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.4835, allocations: 0 / 0.5844 GB, free: 3.625 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003902/0.4839, allocations: 360 kB / 0.5848 GB, free: 3.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.484, allocations: 8.906 kB / 0.5848 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.484, allocations: 10.72 kB / 0.5848 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.61e-05/0.4841, allocations: 172.9 kB / 0.5849 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.4842, allocations: 280.2 kB / 0.5852 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4843, allocations: 3.844 kB / 0.5852 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.4845, allocations: 80.11 kB / 0.5853 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4845, allocations: 5.5 kB / 0.5853 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4846, allocations: 0 / 0.5853 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4846, allocations: 2.203 kB / 0.5853 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.4849, allocations: 132.4 kB / 0.5854 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.4851, allocations: 179.6 kB / 0.5856 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.4854, allocations: 101.8 kB / 0.5857 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4856, allocations: 41.25 kB / 0.5857 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4856, allocations: 3.359 kB / 0.5857 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.4856, allocations: 36.23 kB / 0.5858 GB, free: 2.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.4856, allocations: 3.938 kB / 0.5858 GB, free: 2.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.000541/0.4862, allocations: 150.5 kB / 0.5859 GB, free: 2.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.4862, allocations: 57.64 kB / 0.586 GB, free: 2.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.872e-05/0.4862, allocations: 89.86 kB / 0.5861 GB, free: 2.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4862, allocations: 30.92 kB / 0.5861 GB, free: 2.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.867e-06/0.4863, allocations: 80.14 kB / 0.5862 GB, free: 2.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.4863, allocations: 35.64 kB / 0.5862 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4863, allocations: 17.83 kB / 0.5862 GB, free: 1.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.4864, allocations: 314.1 kB / 0.5865 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.4865, allocations: 32.73 kB / 0.5865 GB, free: 1.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4867, allocations: 43.19 kB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.487, allocations: 74.25 kB / 0.5867 GB, free: 1.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.487, allocations: 0 / 0.5867 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003372/0.4873, allocations: 112 kB / 0.5868 GB, free: 1.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4874, allocations: 11.56 kB / 0.5868 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4874, allocations: 0.7188 kB / 0.5868 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4874, allocations: 5.312 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4876, allocations: 23.34 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4876, allocations: 1.562 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.4877, allocations: 8.406 kB / 0.5868 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4877, allocations: 3.766 kB / 0.5868 GB, free: 1.547 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: 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 6.447e-05/0.4877, allocations: 117.5 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.4878, allocations: 9.719 kB / 0.5869 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.4878, allocations: 17.39 kB / 0.587 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4878, allocations: 1.656 kB / 0.587 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4878, allocations: 0 / 0.587 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4878, allocations: 1.484 kB / 0.587 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.4879, allocations: 184.2 kB / 0.5871 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.488, allocations: 4.656 kB / 0.5871 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4881, allocations: 23.48 kB / 0.5872 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4881, allocations: 5.781 kB / 0.5872 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4881, allocations: 1.547 kB / 0.5872 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4881, allocations: 5.266 kB / 0.5872 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4881, allocations: 1.156 kB / 0.5872 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.4885, allocations: 144.2 kB / 0.5873 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.4885, allocations: 83.42 kB / 0.5874 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.4885, allocations: 13.66 kB / 0.5874 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.4886, allocations: 4.875 kB / 0.5874 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.4887, allocations: 13.52 kB / 0.5874 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4887, allocations: 4.641 kB / 0.5874 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.199e-05/0.4887, allocations: 78.78 kB / 0.5875 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4887, allocations: 0 / 0.5875 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.4889, allocations: 21.81 kB / 0.5875 GB, free: 0.9062 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: 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.0001734/0.4891, allocations: 118.8 kB / 0.5876 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.4895, allocations: 87.67 kB / 0.5877 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4895, allocations: 0.6562 kB / 0.5877 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4897, allocations: 49.53 kB / 0.5878 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.4898, allocations: 6.969 kB / 0.5878 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.4902, allocations: 170.7 kB / 0.5879 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.4903, allocations: 0.6882 MB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.4905, allocations: 38.22 kB / 0.5886 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.4906, allocations: 21.14 kB / 0.5887 GB, free: 15.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4906, allocations: 0 / 0.5887 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003579/0.4942, allocations: 0.9574 MB / 0.5896 GB, free: 15.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)