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.001267/0.001267, allocations: 116.4 kB / 16.37 MB, free: 5.984 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.001262/0.001262, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7899/0.7899, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4088, allocations: 80.18 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002448/0.4113, allocations: 1.529 MB / 0.583 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.4117, allocations: 181.6 kB / 0.5832 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.4118, allocations: 1.375 kB / 0.5832 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.4118, allocations: 3.938 kB / 0.5832 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.4118, allocations: 3.938 kB / 0.5832 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.4122, allocations: 53.06 kB / 0.5832 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.4122, allocations: 40.28 kB / 0.5833 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.4123, allocations: 15.23 kB / 0.5833 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.4124, allocations: 15.64 kB / 0.5833 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.4124, allocations: 17.86 kB / 0.5833 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4124, allocations: 4.625 kB / 0.5833 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.4125, allocations: 47.3 kB / 0.5833 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.4126, allocations: 9.422 kB / 0.5834 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.4126, allocations: 24.45 kB / 0.5834 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.4127, allocations: 58.27 kB / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4127, allocations: 0 / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4127, allocations: 0.5 kB / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4128, allocations: 2 kB / 0.5834 GB, free: 26.19 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.0003867/0.4132, allocations: 356.4 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4132, allocations: 15.38 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.4132, allocations: 7.281 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.4133, allocations: 169.5 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4133, allocations: 2.719 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.4134, allocations: 2.781 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.4135, allocations: 72.52 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.4136, allocations: 1.438 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4136, allocations: 3.938 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4136, allocations: 2.25 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.4138, allocations: 46.23 kB / 0.5841 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.4141, allocations: 287.3 kB / 0.5844 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.4144, allocations: 58.88 kB / 0.5844 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.4145, allocations: 28.73 kB / 0.5844 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.4147, allocations: 168.1 kB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.4147, allocations: 34.56 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4147, allocations: 0 / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003395/0.415, allocations: 97.16 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.4151, allocations: 52.78 kB / 0.5848 GB, free: 24.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.4151, allocations: 116.5 kB / 0.5849 GB, free: 24.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.4151, allocations: 25.7 kB / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4152, allocations: 84.8 kB / 0.585 GB, free: 24.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.4152, allocations: 7.906 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4152, allocations: 18.52 kB / 0.585 GB, free: 24.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.4153, allocations: 318.8 kB / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.4154, allocations: 18.17 kB / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.4154, allocations: 23.53 kB / 0.5854 GB, free: 24.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4156, allocations: 51.41 kB / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4156, allocations: 0 / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001827/0.4158, allocations: 72.97 kB / 0.5855 GB, free: 24.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4158, allocations: 5.906 kB / 0.5855 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4158, allocations: 0 / 0.5855 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4158, allocations: 1.125 kB / 0.5855 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.4159, allocations: 11.61 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4159, allocations: 2.125 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.416, allocations: 11.42 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.416, allocations: 2.031 kB / 0.5855 GB, free: 24.11 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 5.041e-05/0.4161, allocations: 117.8 kB / 0.5856 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.4161, allocations: 5.688 kB / 0.5856 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.4163, allocations: 84.83 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4163, allocations: 4.438 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4163, allocations: 1.312 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4164, allocations: 0.7188 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.4165, allocations: 177.9 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4165, allocations: 0.5 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.4166, allocations: 13.14 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4166, allocations: 1.375 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4166, allocations: 3.984 kB / 0.5859 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4166, allocations: 1.375 kB / 0.5859 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4166, allocations: 0 / 0.5859 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.4168, allocations: 173 kB / 0.5861 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.4168, allocations: 83.84 kB / 0.5862 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4168, allocations: 5.078 kB / 0.5862 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.4169, allocations: 11.8 kB / 0.5862 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.417, allocations: 6.672 kB / 0.5862 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.417, allocations: 3.5 kB / 0.5862 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.417, allocations: 85.28 kB / 0.5863 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.417, allocations: 0 / 0.5863 GB, free: 23.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.4173, allocations: 17.98 kB / 0.5863 GB, free: 23.33 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.0001541/0.4174, allocations: 117.9 kB / 0.5864 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.4177, allocations: 47.81 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4177, allocations: 0 / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.4178, allocations: 29.61 kB / 0.5865 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.418, allocations: 12.69 kB / 0.5865 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.4183, allocations: 117.7 kB / 0.5866 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.4184, allocations: 0.6819 MB / 0.5873 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.4185, allocations: 2.312 kB / 0.5873 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4185, allocations: 15.47 kB / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4185, allocations: 0 / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Performance of Templates: time 0.002957/0.4214, allocations: 0.9725 MB / 0.5882 GB, free: 21.91 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)