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.001214/0.001214, allocations: 107 kB / 15.99 MB, free: 6.355 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.001325/0.001325, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8126/0.8126, allocations: 135.1 MB / 425.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 59.91 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3911, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001669/0.3928, allocations: 0.6501 MB / 0.5852 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.3931, allocations: 98.81 kB / 0.5853 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.3931, allocations: 0 / 0.5853 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.3932, allocations: 1.719 kB / 0.5853 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.3932, allocations: 0 / 0.5853 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.3935, allocations: 43.45 kB / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3937, allocations: 62.56 kB / 0.5854 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.3937, allocations: 2.75 kB / 0.5854 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.3937, allocations: 24.59 kB / 0.5854 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.3938, allocations: 22.25 kB / 0.5854 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3938, allocations: 2.5 kB / 0.5854 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3939, allocations: 47.14 kB / 0.5854 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.394, allocations: 25.31 kB / 0.5855 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.394, allocations: 21.11 kB / 0.5855 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.099e-05/0.3941, allocations: 46.2 kB / 0.5855 GB, free: 24.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3941, allocations: 0 / 0.5855 GB, free: 24.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3941, allocations: 0.875 kB / 0.5855 GB, free: 24.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3941, allocations: 1.188 kB / 0.5855 GB, free: 24.5 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.0004603/0.3946, allocations: 376.4 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3947, allocations: 11.36 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.3947, allocations: 9.391 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.797e-05/0.3948, allocations: 163.6 kB / 0.5861 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.395, allocations: 280.2 kB / 0.5863 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.395, allocations: 11.09 kB / 0.5864 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.3952, allocations: 86.58 kB / 0.5864 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3952, allocations: 3.938 kB / 0.5864 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3953, allocations: 0 / 0.5864 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3953, allocations: 2 kB / 0.5864 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.3956, allocations: 132.6 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.3958, allocations: 180.2 kB / 0.5867 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.3961, allocations: 100.7 kB / 0.5868 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3962, allocations: 43.78 kB / 0.5869 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3962, allocations: 0.6562 kB / 0.5869 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3963, allocations: 42.22 kB / 0.5869 GB, free: 23.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3963, allocations: 0 / 0.5869 GB, free: 23.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005171/0.3968, allocations: 147.2 kB / 0.5871 GB, free: 23.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.3968, allocations: 54.84 kB / 0.5871 GB, free: 22.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.987e-05/0.3969, allocations: 89.86 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.3969, allocations: 30.33 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.3969, allocations: 82.67 kB / 0.5873 GB, free: 22.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.3969, allocations: 35.33 kB / 0.5873 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.397, allocations: 30.3 kB / 0.5874 GB, free: 22.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.3971, allocations: 317.8 kB / 0.5877 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3972, allocations: 34.56 kB / 0.5877 GB, free: 22.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3973, allocations: 36.03 kB / 0.5877 GB, free: 22.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.3976, allocations: 71.75 kB / 0.5878 GB, free: 22.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3976, allocations: 0 / 0.5878 GB, free: 22.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003083/0.3979, allocations: 115.5 kB / 0.5879 GB, free: 22.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.398, allocations: 9.875 kB / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.398, allocations: 0 / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.398, allocations: 2 kB / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3981, allocations: 39.06 kB / 0.588 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3982, allocations: 1 kB / 0.588 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.3982, allocations: 4.219 kB / 0.588 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3982, allocations: 2.219 kB / 0.588 GB, free: 22.23 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 6.818e-05/0.3983, allocations: 120.4 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.3983, allocations: 10.28 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.3984, allocations: 13.31 kB / 0.5881 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3984, allocations: 1.406 kB / 0.5881 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3984, allocations: 0.625 kB / 0.5881 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3984, allocations: 2.625 kB / 0.5881 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.911e-05/0.3985, allocations: 184.3 kB / 0.5883 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3985, allocations: 3.938 kB / 0.5883 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.3987, allocations: 25.7 kB / 0.5883 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3987, allocations: 4.969 kB / 0.5883 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3987, allocations: 5.016 kB / 0.5883 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3987, allocations: 1.469 kB / 0.5883 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3987, allocations: 5.047 kB / 0.5883 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.399, allocations: 142 kB / 0.5885 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.3991, allocations: 81.86 kB / 0.5885 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3991, allocations: 7.922 kB / 0.5886 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.3991, allocations: 8.062 kB / 0.5886 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3992, allocations: 9.297 kB / 0.5886 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3992, allocations: 6.328 kB / 0.5886 GB, free: 21.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.525e-05/0.3993, allocations: 76.47 kB / 0.5886 GB, free: 21.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3993, allocations: 0 / 0.5886 GB, free: 21.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3995, allocations: 20.91 kB / 0.5887 GB, free: 21.56 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.0001917/0.3997, allocations: 122.8 kB / 0.5888 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.4001, allocations: 99.91 kB / 0.5889 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4001, allocations: 0 / 0.5889 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4002, allocations: 45.97 kB / 0.5889 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.4004, allocations: 7.5 kB / 0.5889 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.4008, allocations: 202.1 kB / 0.5891 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.4009, allocations: 0.6835 MB / 0.5898 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.401, allocations: 22.78 kB / 0.5898 GB, free: 20.51 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.401, allocations: 3.938 kB / 0.5898 GB, free: 20.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002834/0.4038, allocations: 1.311 MB / 0.5911 GB, free: 19.66 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)