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.001077/0.001077, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001427/0.001428, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 12.66 kB / 0.507 GB, free: 5.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 82.31 MB / 0.5874 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0007519/0.214, allocations: 299 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003595/0.2144, allocations: 107.7 kB / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.87e-05/0.2144, allocations: 4 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.2145, allocations: 0 / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.2145, allocations: 0 / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2148, allocations: 27.95 kB / 0.5878 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2149, allocations: 55.88 kB / 0.5879 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.215, allocations: 0 / 0.5879 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.215, allocations: 23.98 kB / 0.5879 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.2151, allocations: 27.95 kB / 0.5879 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.2151, allocations: 0 / 0.5879 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.2152, allocations: 47.95 kB / 0.588 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.2152, allocations: 19.97 kB / 0.588 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.2153, allocations: 33.7 kB / 0.588 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.695e-05/0.2154, allocations: 39.92 kB / 0.588 GB, free: 2.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2154, allocations: 4 kB / 0.588 GB, free: 2.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2154, allocations: 3.938 kB / 0.588 GB, free: 2.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.2154, allocations: 0 / 0.588 GB, free: 2.258 MB / 494.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.0004644/0.2159, allocations: 355.4 kB / 0.5884 GB, free: 1.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2159, allocations: 8.031 kB / 0.5884 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.216, allocations: 7.906 kB / 0.5884 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2161, allocations: 175.2 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.2164, allocations: 281 kB / 0.5888 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.2164, allocations: 7.984 kB / 0.5888 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2166, allocations: 81.62 kB / 0.5889 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2166, allocations: 0 / 0.5889 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2167, allocations: 0 / 0.5889 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.2167, allocations: 0 / 0.5889 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.217, allocations: 135.8 kB / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.2172, allocations: 177.6 kB / 0.5892 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.2175, allocations: 98.52 kB / 0.5893 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.2177, allocations: 40.83 kB / 0.5894 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2178, allocations: 0 / 0.5894 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2178, allocations: 38.89 kB / 0.5894 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 3.297e-06/0.2178, allocations: 0 / 0.5894 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.000518/0.2183, allocations: 150.5 kB / 0.5895 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2184, allocations: 55.34 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.2184, allocations: 93.86 kB / 0.5897 GB, free: 344 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2184, allocations: 33.7 kB / 0.5897 GB, free: 304 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.2185, allocations: 80.33 kB / 0.5898 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.2185, allocations: 35.53 kB / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.2185, allocations: 0 / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2187, allocations: 314.8 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2188, allocations: 31.97 kB / 0.5902 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2189, allocations: 39.52 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2191, allocations: 35.98 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2191, allocations: 3.984 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003034/0.2194, allocations: 117.4 kB / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2194, allocations: 8 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2194, allocations: 0 / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2195, allocations: 0 / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.2196, allocations: 19.98 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2196, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.2197, allocations: 15.92 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.2197, allocations: 8 kB / 0.5904 GB, free: 15.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.2198, allocations: 129.7 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.2198, allocations: 11.86 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.2199, allocations: 7.969 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2199, allocations: 0 / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2199, allocations: 0 / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2199, allocations: 0 / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.22, allocations: 173.7 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2201, allocations: 0 / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.2202, allocations: 27.97 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2202, allocations: 11.95 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2202, allocations: 0 / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2202, allocations: 0 / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2202, allocations: 0 / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.2206, allocations: 144.9 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.2206, allocations: 85.05 kB / 0.591 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2206, allocations: 3.953 kB / 0.591 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.2207, allocations: 7.984 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.2208, allocations: 15.98 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2208, allocations: 7.984 kB / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.2208, allocations: 75.28 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2208, allocations: 0 / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002214/0.2211, allocations: 24 kB / 0.5911 GB, free: 14.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.2213, allocations: 122.8 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.2216, allocations: 91.81 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2216, allocations: 4 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2218, allocations: 47.91 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2219, allocations: 6.406 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.2224, allocations: 168.4 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2227, allocations: 0.6848 MB / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.2229, allocations: 39.95 kB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2229, allocations: 15.42 kB / 0.5922 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2229, allocations: 4 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.003643/0.2266, allocations: 0.9353 MB / 0.5931 GB, free: 12.61 MB / 0.4981 GB 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)