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.001794/0.001794, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001854/0.001854, allocations: 192.9 kB / 16.13 MB, free: 6.652 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9755/0.9755, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.11 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2112, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002216/0.2134, allocations: 0.6367 MB / 0.5843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004969/0.2139, allocations: 111.6 kB / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.214, allocations: 0 / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.214, allocations: 4 kB / 0.5845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.2141, allocations: 0 / 0.5845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2144, allocations: 27.97 kB / 0.5845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.2145, allocations: 63.92 kB / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.2146, allocations: 4 kB / 0.5845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.2146, allocations: 23.98 kB / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.2147, allocations: 23.95 kB / 0.5846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2147, allocations: 4 kB / 0.5846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2148, allocations: 39.91 kB / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.2149, allocations: 27.95 kB / 0.5847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.2149, allocations: 27.86 kB / 0.5847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.2151, allocations: 67.84 kB / 0.5848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2151, allocations: 0 / 0.5848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2151, allocations: 0 / 0.5848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.2151, allocations: 0 / 0.5848 GB, free: 3.938 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.0005362/0.2156, allocations: 371.6 kB / 0.5851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2157, allocations: 8.031 kB / 0.5851 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.2157, allocations: 16.78 kB / 0.5851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.2158, allocations: 164.6 kB / 0.5853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.2161, allocations: 285.6 kB / 0.5856 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2161, allocations: 4.375 kB / 0.5856 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.2164, allocations: 78.2 kB / 0.5856 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2164, allocations: 3.938 kB / 0.5856 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2164, allocations: 3.984 kB / 0.5856 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2164, allocations: 7.938 kB / 0.5857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.2168, allocations: 131.8 kB / 0.5858 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.217, allocations: 173.6 kB / 0.5859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.2173, allocations: 102.5 kB / 0.586 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2174, allocations: 40.84 kB / 0.5861 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2175, allocations: 8.312 kB / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2175, allocations: 34.5 kB / 0.5861 GB, free: 2.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 2.534e-06/0.2175, allocations: 3.938 kB / 0.5861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005311/0.218, allocations: 154 kB / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2181, allocations: 51.41 kB / 0.5863 GB, free: 2.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/0.2181, allocations: 93.86 kB / 0.5864 GB, free: 1.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2182, allocations: 33.7 kB / 0.5864 GB, free: 1.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.2182, allocations: 80.14 kB / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2182, allocations: 27.56 kB / 0.5865 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.2183, allocations: 29.69 kB / 0.5866 GB, free: 1.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2184, allocations: 314.8 kB / 0.5869 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2186, allocations: 31.97 kB / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2187, allocations: 40.89 kB / 0.5869 GB, free: 1.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.219, allocations: 80.48 kB / 0.587 GB, free: 1.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.219, allocations: 0 / 0.587 GB, free: 1.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003385/0.2193, allocations: 113.5 kB / 0.5871 GB, free: 1.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2194, allocations: 7.938 kB / 0.5871 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2194, allocations: 3.938 kB / 0.5871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2194, allocations: 4 kB / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2196, allocations: 23.98 kB / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2196, allocations: 0 / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2196, allocations: 11.92 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.2197, allocations: 12 kB / 0.5872 GB, free: 1.156 MB / 494.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 8.443e-05/0.2198, allocations: 121.8 kB / 0.5873 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.2198, allocations: 7.844 kB / 0.5873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.2198, allocations: 15.97 kB / 0.5873 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2198, allocations: 0 / 0.5873 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2198, allocations: 0 / 0.5873 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2198, allocations: 0 / 0.5873 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.22, allocations: 177.6 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.22, allocations: 0 / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2201, allocations: 27.97 kB / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2201, allocations: 3.938 kB / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2202, allocations: 4 kB / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2202, allocations: 0 / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2202, allocations: 0 / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2205, allocations: 148.8 kB / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.2206, allocations: 81.11 kB / 0.5878 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2206, allocations: 3.938 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.2207, allocations: 15.98 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.2207, allocations: 7.984 kB / 0.5878 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2207, allocations: 4 kB / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.421e-05/0.2208, allocations: 76.94 kB / 0.5879 GB, free: 384 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2208, allocations: 3.938 kB / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.221, allocations: 23.98 kB / 0.5879 GB, free: 356 kB / 494.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.0001852/0.2212, allocations: 115.2 kB / 0.588 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.2216, allocations: 95.8 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2216, allocations: 0 / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2217, allocations: 51.91 kB / 0.5881 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2219, allocations: 4 kB / 0.5881 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.2223, allocations: 171 kB / 0.5883 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2225, allocations: 0.6815 MB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.2227, allocations: 39.95 kB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.2228, allocations: 23.42 kB / 0.589 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2228, allocations: 0 / 0.589 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.003219/0.226, allocations: 0.9762 MB / 0.59 GB, free: 14.14 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)