Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004746/0.004746, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.00114/0.001141, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.2 MB / 422.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.89 kB / 0.5814 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1893, allocations: 80.21 MB / 0.6597 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001976/0.1913, allocations: 0.5836 MB / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004251/0.1917, allocations: 102.4 kB / 0.6604 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1918, allocations: 0 / 0.6604 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.1918, allocations: 3.984 kB / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.027e-06/0.1918, allocations: 3.938 kB / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1923, allocations: 39.89 kB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1924, allocations: 59.94 kB / 0.6605 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1925, allocations: 8 kB / 0.6605 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.1925, allocations: 31.91 kB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.1926, allocations: 19.97 kB / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1926, allocations: 4 kB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1927, allocations: 51.94 kB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1928, allocations: 15.98 kB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.1928, allocations: 27.91 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.193, allocations: 75.77 kB / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.193, allocations: 0 / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.875e-06/0.193, allocations: 0 / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.193, allocations: 0 / 0.6607 GB, free: 12.4 MB / 0.4981 GB 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.0005509/0.1936, allocations: 367.5 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1936, allocations: 8.031 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1937, allocations: 8.938 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.1938, allocations: 168.3 kB / 0.6612 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.1941, allocations: 281.6 kB / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1941, allocations: 4.375 kB / 0.6615 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.1943, allocations: 82.14 kB / 0.6616 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1944, allocations: 3.938 kB / 0.6616 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1944, allocations: 0 / 0.6616 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1944, allocations: 0 / 0.6616 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.1948, allocations: 139.8 kB / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.195, allocations: 185.4 kB / 0.6619 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1953, allocations: 90.53 kB / 0.662 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1954, allocations: 48.77 kB / 0.662 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1955, allocations: 0 / 0.662 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1955, allocations: 34.56 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.1955, allocations: 0 / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005445/0.196, allocations: 152.1 kB / 0.6622 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1961, allocations: 55.34 kB / 0.6623 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.072e-05/0.1961, allocations: 89.86 kB / 0.6624 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1962, allocations: 29.7 kB / 0.6624 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.1962, allocations: 80.14 kB / 0.6625 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.1963, allocations: 43.44 kB / 0.6625 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1963, allocations: 25.7 kB / 0.6625 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1964, allocations: 318.8 kB / 0.6628 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1966, allocations: 35.92 kB / 0.6629 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1967, allocations: 35.97 kB / 0.6629 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.197, allocations: 71.88 kB / 0.663 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.197, allocations: 0 / 0.663 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003304/0.1974, allocations: 117.6 kB / 0.6631 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1974, allocations: 7.938 kB / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1974, allocations: 0 / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1974, allocations: 0 / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1976, allocations: 35.91 kB / 0.6631 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1976, allocations: 4 kB / 0.6631 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.1977, allocations: 11.84 kB / 0.6631 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1977, allocations: 7.984 kB / 0.6631 GB, free: 9.629 MB / 0.4981 GB 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.448e-05/0.1978, allocations: 113.8 kB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.1978, allocations: 7.938 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.1979, allocations: 11.97 kB / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1979, allocations: 7.984 kB / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1979, allocations: 0 / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1979, allocations: 0 / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.198, allocations: 177.6 kB / 0.6634 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.198, allocations: 4 kB / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1982, allocations: 23.92 kB / 0.6635 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1982, allocations: 3.938 kB / 0.6635 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1982, allocations: 7.984 kB / 0.6635 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1982, allocations: 0 / 0.6635 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1982, allocations: 0 / 0.6635 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1986, allocations: 144.9 kB / 0.6636 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1986, allocations: 92.95 kB / 0.6637 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1987, allocations: 3.938 kB / 0.6637 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.1987, allocations: 8 kB / 0.6637 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.1988, allocations: 11.97 kB / 0.6637 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1988, allocations: 4 kB / 0.6637 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.1988, allocations: 75.28 kB / 0.6638 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1988, allocations: 0 / 0.6638 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.1991, allocations: 24 kB / 0.6638 GB, free: 8.812 MB / 0.4981 GB 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.0002304/0.1993, allocations: 127.2 kB / 0.664 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.1997, allocations: 83.88 kB / 0.664 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1997, allocations: 0 / 0.664 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1999, allocations: 51.91 kB / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2, allocations: 7.984 kB / 0.6641 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.2004, allocations: 159.8 kB / 0.6642 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2007, allocations: 0.6924 MB / 0.6649 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.2008, allocations: 35.97 kB / 0.665 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.2009, allocations: 15.42 kB / 0.665 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.2009, allocations: 0 / 0.665 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of Templates: time 0.003396/0.2043, allocations: 1.021 MB / 0.666 GB, free: 6.574 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)