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.001011/0.001011, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.0009992/0.0009992, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3844, allocations: 80.91 MB / 0.5858 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002077/0.3866, allocations: 0.5798 MB / 0.5863 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004033/0.387, allocations: 104.9 kB / 0.5864 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.387, allocations: 0.6562 kB / 0.5864 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3871, allocations: 2.406 kB / 0.5864 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.3871, allocations: 0 / 0.5864 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.3875, allocations: 44.97 kB / 0.5865 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3876, allocations: 61 kB / 0.5865 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.3877, allocations: 1.75 kB / 0.5865 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.3877, allocations: 24.92 kB / 0.5866 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.3878, allocations: 28.77 kB / 0.5866 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3878, allocations: 3.938 kB / 0.5866 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3879, allocations: 46.58 kB / 0.5866 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.388, allocations: 20.12 kB / 0.5867 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.388, allocations: 23.36 kB / 0.5867 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3882, allocations: 79.09 kB / 0.5868 GB, free: 24.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3882, allocations: 0 / 0.5868 GB, free: 24.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3882, allocations: 1.25 kB / 0.5868 GB, free: 24.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3882, allocations: 0 / 0.5868 GB, free: 24.96 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.0004844/0.3887, allocations: 376.5 kB / 0.5871 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3888, allocations: 10.67 kB / 0.5871 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.3888, allocations: 9.984 kB / 0.5871 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.3889, allocations: 164.8 kB / 0.5873 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.3891, allocations: 279.4 kB / 0.5876 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3891, allocations: 2.719 kB / 0.5876 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3894, allocations: 90.53 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3894, allocations: 4.75 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3894, allocations: 0 / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3894, allocations: 3.25 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.3898, allocations: 132 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.3899, allocations: 175.1 kB / 0.588 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3902, allocations: 100.5 kB / 0.5881 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3903, allocations: 43.05 kB / 0.5881 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3903, allocations: 2.594 kB / 0.5881 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.3903, allocations: 39.06 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3904, allocations: 2.812 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004704/0.3908, allocations: 147.4 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.3909, allocations: 52.66 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.458e-05/0.3909, allocations: 91.23 kB / 0.5884 GB, free: 23.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3909, allocations: 31.14 kB / 0.5884 GB, free: 23.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.162e-05/0.3909, allocations: 84.08 kB / 0.5885 GB, free: 23.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.391, allocations: 38.58 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.391, allocations: 25.27 kB / 0.5886 GB, free: 23.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.3911, allocations: 317.7 kB / 0.5889 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3912, allocations: 30.56 kB / 0.5889 GB, free: 22.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3913, allocations: 35.31 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.3916, allocations: 76.27 kB / 0.589 GB, free: 22.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3916, allocations: 1.281 kB / 0.589 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002941/0.3919, allocations: 112.2 kB / 0.5891 GB, free: 22.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3919, allocations: 9.375 kB / 0.5891 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3919, allocations: 0.8125 kB / 0.5891 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.392, allocations: 5.422 kB / 0.5891 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3921, allocations: 31.22 kB / 0.5892 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3921, allocations: 9.281 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.3922, allocations: 7.344 kB / 0.5892 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3922, allocations: 2.656 kB / 0.5892 GB, free: 22.7 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 8.238e-05/0.3923, allocations: 119.7 kB / 0.5893 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.3923, allocations: 14.03 kB / 0.5893 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3924, allocations: 11.97 kB / 0.5893 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3924, allocations: 1.25 kB / 0.5893 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3924, allocations: 1.094 kB / 0.5893 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3924, allocations: 0 / 0.5893 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.3925, allocations: 184.3 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3926, allocations: 0 / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3927, allocations: 21.23 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3927, allocations: 5.531 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3927, allocations: 6.453 kB / 0.5895 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3927, allocations: 0 / 0.5895 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3927, allocations: 0.5 kB / 0.5895 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.393, allocations: 155.7 kB / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.393, allocations: 77.11 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3931, allocations: 11.92 kB / 0.5898 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.3931, allocations: 5.562 kB / 0.5898 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3932, allocations: 11.98 kB / 0.5898 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3932, allocations: 7.984 kB / 0.5898 GB, free: 22.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.505e-05/0.3932, allocations: 79.45 kB / 0.5899 GB, free: 21.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3932, allocations: 0 / 0.5899 GB, free: 21.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000211/0.3934, allocations: 20 kB / 0.5899 GB, free: 21.96 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.0001761/0.3936, allocations: 116.6 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3939, allocations: 87.81 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3939, allocations: 2.156 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.394, allocations: 51.91 kB / 0.5901 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.3942, allocations: 4 kB / 0.5901 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.3945, allocations: 167.8 kB / 0.5903 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3946, allocations: 0.6807 MB / 0.591 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.3947, allocations: 40.73 kB / 0.591 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.3948, allocations: 15.42 kB / 0.591 GB, free: 20.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3948, allocations: 0 / 0.591 GB, free: 20.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002806/0.3976, allocations: 1.016 MB / 0.592 GB, free: 19.78 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)