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.0008855/0.0008855, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009297/0.0009298, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6596/0.6596, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002556, allocations: 8 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3233, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001286/0.3246, allocations: 1.244 MB / 0.5843 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.3249, allocations: 175.2 kB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.325, allocations: 1.75 kB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.325, allocations: 0.75 kB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.3251, allocations: 10.56 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.3253, allocations: 30.58 kB / 0.5845 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.3254, allocations: 35.62 kB / 0.5845 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.3254, allocations: 11.77 kB / 0.5845 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.3255, allocations: 14.86 kB / 0.5846 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.3255, allocations: 17.34 kB / 0.5846 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3255, allocations: 0.9375 kB / 0.5846 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.3256, allocations: 42.06 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.3256, allocations: 3.328 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.3257, allocations: 32.16 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.3258, allocations: 44.25 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3258, allocations: 4 kB / 0.5847 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3258, allocations: 0 / 0.5847 GB, free: 2.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3258, allocations: 1.156 kB / 0.5847 GB, free: 2.812 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.0003356/0.3261, allocations: 355.4 kB / 0.585 GB, free: 2.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.3262, allocations: 9.812 kB / 0.585 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.3262, allocations: 7.578 kB / 0.5851 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.3263, allocations: 169 kB / 0.5852 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3263, allocations: 5.969 kB / 0.5852 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3263, allocations: 1.594 kB / 0.5852 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3265, allocations: 67.52 kB / 0.5853 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.3265, allocations: 0 / 0.5853 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3265, allocations: 0 / 0.5853 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3265, allocations: 1.484 kB / 0.5853 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3267, allocations: 61.31 kB / 0.5853 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.327, allocations: 272.7 kB / 0.5856 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3273, allocations: 66.44 kB / 0.5857 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.3274, allocations: 35.08 kB / 0.5857 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.3275, allocations: 167.2 kB / 0.5859 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.3276, allocations: 35.44 kB / 0.5859 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3276, allocations: 0 / 0.5859 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003335/0.3279, allocations: 112.2 kB / 0.586 GB, free: 1.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.3279, allocations: 60.11 kB / 0.5861 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.328, allocations: 111.6 kB / 0.5862 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.328, allocations: 25.7 kB / 0.5862 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.328, allocations: 87.36 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.328, allocations: 9.625 kB / 0.5863 GB, free: 1.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.3281, allocations: 0 / 0.5863 GB, free: 1.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.397e-05/0.3281, allocations: 313.7 kB / 0.5866 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.3282, allocations: 36.59 kB / 0.5866 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.3283, allocations: 26.72 kB / 0.5866 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.3284, allocations: 20.22 kB / 0.5867 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3284, allocations: 1 kB / 0.5867 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.3286, allocations: 95.28 kB / 0.5868 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3286, allocations: 11.56 kB / 0.5868 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3286, allocations: 0 / 0.5868 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3286, allocations: 1.516 kB / 0.5868 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.3287, allocations: 17.8 kB / 0.5868 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3287, allocations: 8.656 kB / 0.5868 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.3288, allocations: 13.31 kB / 0.5868 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3288, allocations: 5.375 kB / 0.5868 GB, free: 0.8672 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.3288, allocations: 108.8 kB / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3288, allocations: 5 kB / 0.5869 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.3291, allocations: 98.48 kB / 0.587 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3291, allocations: 0.6562 kB / 0.587 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3291, allocations: 0 / 0.587 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3291, allocations: 5.203 kB / 0.587 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.3292, allocations: 161.6 kB / 0.5872 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3292, allocations: 0.6875 kB / 0.5872 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.3293, allocations: 18.06 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3293, allocations: 0 / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3293, allocations: 1.484 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3293, allocations: 0.625 kB / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3293, allocations: 0 / 0.5872 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3295, allocations: 195.8 kB / 0.5874 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.3296, allocations: 78.86 kB / 0.5875 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3296, allocations: 2.047 kB / 0.5875 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.3297, allocations: 8.266 kB / 0.5875 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3297, allocations: 10.25 kB / 0.5875 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3297, allocations: 1.922 kB / 0.5875 GB, free: 244 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.39e-05/0.3297, allocations: 86.84 kB / 0.5876 GB, free: 164 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3297, allocations: 0 / 0.5876 GB, free: 164 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.33, allocations: 18.88 kB / 0.5876 GB, free: 160 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.3301, allocations: 111.4 kB / 0.5877 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3303, allocations: 63.92 kB / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3303, allocations: 0 / 0.5877 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.3304, allocations: 30.59 kB / 0.5878 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3307, allocations: 6.484 kB / 0.5878 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.3309, allocations: 134.2 kB / 0.5879 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3312, allocations: 0.684 MB / 0.5886 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.3312, allocations: 4.328 kB / 0.5886 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.3312, allocations: 11.05 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3312, allocations: 0 / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002812/0.334, allocations: 0.847 MB / 0.5894 GB, free: 15.11 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)