Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001747/0.001747, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001588/0.001589, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8163/0.8163, allocations: 135.2 MB / 425.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 0.5055 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 80.92 MB / 0.5846 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002546/0.3758, allocations: 1.582 MB / 0.5861 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.3762, allocations: 177.8 kB / 0.5863 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.3763, allocations: 1.438 kB / 0.5863 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.3763, allocations: 4.484 kB / 0.5863 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.3764, allocations: 8.969 kB / 0.5863 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3767, allocations: 43.83 kB / 0.5863 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.3768, allocations: 39.08 kB / 0.5864 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3769, allocations: 14.67 kB / 0.5864 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.377, allocations: 15.14 kB / 0.5864 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.377, allocations: 17.08 kB / 0.5864 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.377, allocations: 3.875 kB / 0.5864 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3771, allocations: 46.45 kB / 0.5865 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.3772, allocations: 14.39 kB / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.3772, allocations: 11.75 kB / 0.5865 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3773, allocations: 45.17 kB / 0.5865 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3773, allocations: 0.8125 kB / 0.5865 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3773, allocations: 0 / 0.5865 GB, free: 23.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3773, allocations: 5.375 kB / 0.5865 GB, free: 23.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004282/0.3778, allocations: 361.7 kB / 0.5869 GB, free: 23.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3778, allocations: 11.45 kB / 0.5869 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3779, allocations: 10.5 kB / 0.5869 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.3779, allocations: 168.1 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.378, allocations: 1.531 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.378, allocations: 3.688 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.3782, allocations: 63.38 kB / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3782, allocations: 0.7812 kB / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3782, allocations: 5.125 kB / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3783, allocations: 2.406 kB / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.3785, allocations: 48.08 kB / 0.5872 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.3788, allocations: 284.7 kB / 0.5875 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3791, allocations: 55.45 kB / 0.5875 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.3792, allocations: 31.48 kB / 0.5875 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.3794, allocations: 164 kB / 0.5877 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.3795, allocations: 40.09 kB / 0.5877 GB, free: 22.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3795, allocations: 0.5625 kB / 0.5877 GB, free: 22.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003513/0.3798, allocations: 91.81 kB / 0.5878 GB, free: 22.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.3798, allocations: 53.84 kB / 0.5879 GB, free: 22.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.3799, allocations: 115.2 kB / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3799, allocations: 25.7 kB / 0.588 GB, free: 22.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.38, allocations: 87.77 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.38, allocations: 9.312 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.38, allocations: 14.03 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.3801, allocations: 324.1 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.3802, allocations: 16.2 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.3802, allocations: 27.81 kB / 0.5885 GB, free: 21.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3804, allocations: 47.7 kB / 0.5885 GB, free: 21.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3804, allocations: 7.188 kB / 0.5885 GB, free: 21.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001877/0.3806, allocations: 81.12 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3806, allocations: 4.906 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3806, allocations: 0 / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3807, allocations: 1.188 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3807, allocations: 11.36 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3807, allocations: 0.875 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.3808, allocations: 7.781 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.3808, allocations: 7.422 kB / 0.5886 GB, free: 21.84 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: 2 (bin.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/0.3809, allocations: 120.5 kB / 0.5887 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3809, allocations: 5.219 kB / 0.5887 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.3812, allocations: 81.2 kB / 0.5888 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3812, allocations: 1.562 kB / 0.5888 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3812, allocations: 1.281 kB / 0.5888 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3812, allocations: 0 / 0.5888 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3813, allocations: 169.6 kB / 0.589 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3813, allocations: 0.9688 kB / 0.589 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.3814, allocations: 12.02 kB / 0.589 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3814, allocations: 4.781 kB / 0.589 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3814, allocations: 1.094 kB / 0.589 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3814, allocations: 0 / 0.589 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3814, allocations: 2.469 kB / 0.589 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.3817, allocations: 176.5 kB / 0.5892 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.3817, allocations: 79.95 kB / 0.5893 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3817, allocations: 0 / 0.5893 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.3818, allocations: 12.36 kB / 0.5893 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3818, allocations: 9.359 kB / 0.5893 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3819, allocations: 1.25 kB / 0.5893 GB, free: 21.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.3819, allocations: 85.69 kB / 0.5894 GB, free: 21.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3819, allocations: 0 / 0.5894 GB, free: 21.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.3821, allocations: 17.88 kB / 0.5894 GB, free: 21.09 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: 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 (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.0001557/0.3823, allocations: 122.2 kB / 0.5895 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3825, allocations: 46.89 kB / 0.5895 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3825, allocations: 0 / 0.5895 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.3826, allocations: 27.38 kB / 0.5896 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3829, allocations: 11.22 kB / 0.5896 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.3832, allocations: 144 kB / 0.5897 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3833, allocations: 0.6828 MB / 0.5904 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3834, allocations: 15.12 kB / 0.5904 GB, free: 20.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3834, allocations: 3.938 kB / 0.5904 GB, free: 20.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002405/0.3858, allocations: 0.9731 MB / 0.5913 GB, free: 19.57 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)