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.001311/0.001311, allocations: 103 kB / 16.27 MB, free: 6.402 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.001273/0.001273, allocations: 191 kB / 17.2 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8257/0.8257, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3657, allocations: 80.92 MB / 0.5851 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001697/0.3675, allocations: 0.578 MB / 0.5856 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003555/0.3678, allocations: 104.7 kB / 0.5857 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.3679, allocations: 0.7188 kB / 0.5857 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.3679, allocations: 0 / 0.5857 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-06/0.3679, allocations: 1.312 kB / 0.5857 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.3683, allocations: 42.02 kB / 0.5858 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3684, allocations: 67.36 kB / 0.5858 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3684, allocations: 3.094 kB / 0.5858 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3685, allocations: 25.48 kB / 0.5859 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.3685, allocations: 25.11 kB / 0.5859 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3686, allocations: 3.156 kB / 0.5859 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3687, allocations: 38.91 kB / 0.5859 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.3687, allocations: 28.39 kB / 0.586 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.3688, allocations: 23.02 kB / 0.586 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.3689, allocations: 69.73 kB / 0.586 GB, free: 24.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3689, allocations: 2.156 kB / 0.586 GB, free: 24.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3689, allocations: 0 / 0.586 GB, free: 24.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3689, allocations: 0.5938 kB / 0.586 GB, free: 24.67 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.0004338/0.3694, allocations: 371.8 kB / 0.5864 GB, free: 24.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3694, allocations: 10.89 kB / 0.5864 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.3695, allocations: 6.094 kB / 0.5864 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.3695, allocations: 172.3 kB / 0.5866 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.3697, allocations: 279.3 kB / 0.5868 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3698, allocations: 4.812 kB / 0.5869 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.37, allocations: 90.78 kB / 0.5869 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.37, allocations: 3.938 kB / 0.5869 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.37, allocations: 1.531 kB / 0.5869 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.37, allocations: 1.406 kB / 0.5869 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.3703, allocations: 133 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.3705, allocations: 174.7 kB / 0.5872 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.3708, allocations: 96.55 kB / 0.5873 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3709, allocations: 43.8 kB / 0.5874 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3709, allocations: 9.109 kB / 0.5874 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.371, allocations: 37.52 kB / 0.5874 GB, free: 23.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.371, allocations: 0 / 0.5874 GB, free: 23.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000491/0.3715, allocations: 155.5 kB / 0.5876 GB, free: 23.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3715, allocations: 53.97 kB / 0.5876 GB, free: 23.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.363e-05/0.3715, allocations: 89.86 kB / 0.5877 GB, free: 23.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3715, allocations: 30.77 kB / 0.5877 GB, free: 23.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.016e-05/0.3716, allocations: 82.08 kB / 0.5878 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3716, allocations: 36.95 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.3717, allocations: 25.7 kB / 0.5879 GB, free: 22.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.3717, allocations: 317 kB / 0.5882 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3718, allocations: 30.62 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.372, allocations: 45.06 kB / 0.5882 GB, free: 22.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3722, allocations: 73.69 kB / 0.5883 GB, free: 22.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3722, allocations: 1.188 kB / 0.5883 GB, free: 22.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000298/0.3725, allocations: 105.5 kB / 0.5884 GB, free: 22.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3725, allocations: 9.344 kB / 0.5884 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3726, allocations: 0 / 0.5884 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3726, allocations: 5.719 kB / 0.5884 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3727, allocations: 33.91 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3727, allocations: 0 / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.3728, allocations: 5.219 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3728, allocations: 3.125 kB / 0.5885 GB, free: 22.4 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 5.594e-05/0.3729, allocations: 119.3 kB / 0.5886 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3729, allocations: 9.25 kB / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3729, allocations: 12.75 kB / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3729, allocations: 3.406 kB / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.373, allocations: 0 / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.373, allocations: 1.406 kB / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.573e-05/0.3731, allocations: 178.9 kB / 0.5888 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3731, allocations: 4.5 kB / 0.5888 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3732, allocations: 31.69 kB / 0.5888 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3732, allocations: 3.938 kB / 0.5888 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3732, allocations: 5.516 kB / 0.5888 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3732, allocations: 7.141 kB / 0.5888 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3732, allocations: 3.938 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3735, allocations: 150.7 kB / 0.589 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.3736, allocations: 78.2 kB / 0.5891 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.3736, allocations: 7.656 kB / 0.5891 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.3737, allocations: 11.27 kB / 0.5891 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.3737, allocations: 8.891 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.3737, allocations: 6.234 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.204e-05/0.3737, allocations: 79.44 kB / 0.5892 GB, free: 21.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3737, allocations: 0 / 0.5892 GB, free: 21.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.374, allocations: 20.62 kB / 0.5892 GB, free: 21.72 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.0001733/0.3742, allocations: 125.6 kB / 0.5893 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.3745, allocations: 93 kB / 0.5894 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3745, allocations: 0 / 0.5894 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3747, allocations: 49.41 kB / 0.5894 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.3748, allocations: 8.219 kB / 0.5894 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.3752, allocations: 185.7 kB / 0.5896 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.3753, allocations: 0.6843 MB / 0.5903 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3753, allocations: 21.86 kB / 0.5903 GB, free: 20.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3753, allocations: 2.031 kB / 0.5903 GB, free: 20.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002567/0.3779, allocations: 1.322 MB / 0.5916 GB, free: 19.49 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)