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.001619/0.001619, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001533/0.001533, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 72.62 kB / 0.5054 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1517, allocations: 81.02 MB / 0.5845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001756/0.1535, allocations: 0.6427 MB / 0.5851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.1538, allocations: 99.66 kB / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.1539, allocations: 0 / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.1539, allocations: 0 / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.1539, allocations: 0 / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1543, allocations: 39.89 kB / 0.5853 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1544, allocations: 59.94 kB / 0.5853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1544, allocations: 8 kB / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.1545, allocations: 27.97 kB / 0.5854 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.1545, allocations: 23.91 kB / 0.5854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1545, allocations: 4 kB / 0.5854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1547, allocations: 47.95 kB / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.1547, allocations: 23.97 kB / 0.5855 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.1548, allocations: 19.92 kB / 0.5855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1549, allocations: 75.81 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1549, allocations: 0 / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1549, allocations: 0 / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1549, allocations: 0 / 0.5855 GB, free: 3.199 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.0005553/0.1555, allocations: 375.4 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1555, allocations: 8.031 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.1556, allocations: 8.938 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1557, allocations: 168.6 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.156, allocations: 281.5 kB / 0.5864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.156, allocations: 4.375 kB / 0.5864 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1563, allocations: 82.19 kB / 0.5864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1563, allocations: 7.875 kB / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1563, allocations: 0 / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1563, allocations: 7.984 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.1567, allocations: 135.8 kB / 0.5866 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1569, allocations: 173.7 kB / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.1572, allocations: 94.45 kB / 0.5868 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1573, allocations: 45.16 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1574, allocations: 4 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1574, allocations: 38.5 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1574, allocations: 0 / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005271/0.1579, allocations: 149.5 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.158, allocations: 51.41 kB / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.1581, allocations: 93.86 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1581, allocations: 25.7 kB / 0.5872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.1581, allocations: 84.14 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.1582, allocations: 45.08 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.1582, allocations: 29.7 kB / 0.5874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1584, allocations: 314.8 kB / 0.5877 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1585, allocations: 39.91 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1587, allocations: 33.06 kB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1589, allocations: 74.78 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.1589, allocations: 4 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003319/0.1593, allocations: 113.6 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1593, allocations: 7.938 kB / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1593, allocations: 0 / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1593, allocations: 4 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.1595, allocations: 31.91 kB / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1596, allocations: 0 / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.1596, allocations: 7.938 kB / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1596, allocations: 4 kB / 0.588 GB, free: 432 kB / 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 9.665e-05/0.1597, allocations: 117.8 kB / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.1598, allocations: 7.844 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.1598, allocations: 11.97 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1598, allocations: 8 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1598, allocations: 0 / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1598, allocations: 0 / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.16, allocations: 169.7 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.16, allocations: 4 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1602, allocations: 27.91 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1602, allocations: 7.875 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1602, allocations: 4 kB / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1602, allocations: 3.984 kB / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1602, allocations: 0 / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.1606, allocations: 148.5 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1606, allocations: 81.11 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1607, allocations: 7.938 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.1607, allocations: 7.984 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1608, allocations: 7.984 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1608, allocations: 4 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.1608, allocations: 79.27 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 4 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002216/0.1611, allocations: 24 kB / 0.5887 GB, free: 15.61 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.0002221/0.1613, allocations: 127 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.1617, allocations: 103.8 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1617, allocations: 0 / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1618, allocations: 43.97 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.162, allocations: 4 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1624, allocations: 180.8 kB / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1627, allocations: 0.6852 MB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.1628, allocations: 43.89 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.1629, allocations: 19.42 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1629, allocations: 0 / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.003551/0.1664, allocations: 0.9902 MB / 0.5908 GB, free: 13.37 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)