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.005939/0.005939, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001199/0.001198, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.383/1.383, allocations: 222.9 MB / 240.3 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9791/0.9791, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.5857 GB, free: 3.289 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4223, allocations: 80.91 MB / 0.6647 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001439/0.4238, allocations: 0.5674 MB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003481/0.4241, allocations: 106.8 kB / 0.6653 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.4242, allocations: 0 / 0.6653 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.4242, allocations: 0 / 0.6653 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.4242, allocations: 7.875 kB / 0.6653 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.4245, allocations: 41.27 kB / 0.6654 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.4246, allocations: 64.97 kB / 0.6654 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.4247, allocations: 1.25 kB / 0.6654 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.4247, allocations: 26.31 kB / 0.6655 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.933e-05/0.4248, allocations: 20.31 kB / 0.6655 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.4248, allocations: 6.438 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.4249, allocations: 51 kB / 0.6655 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.425, allocations: 19.72 kB / 0.6656 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.425, allocations: 26.91 kB / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.4251, allocations: 69.84 kB / 0.6657 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4251, allocations: 0.9062 kB / 0.6657 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4251, allocations: 0 / 0.6657 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.4252, allocations: 0 / 0.6657 GB, free: 6.883 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.0004064/0.4256, allocations: 375.8 kB / 0.666 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.4256, allocations: 9.188 kB / 0.666 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.4257, allocations: 10.22 kB / 0.666 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.4257, allocations: 165.2 kB / 0.6662 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.4259, allocations: 283.8 kB / 0.6665 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.4259, allocations: 3.188 kB / 0.6665 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.4262, allocations: 84.8 kB / 0.6665 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4262, allocations: 3.938 kB / 0.6666 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4262, allocations: 5.375 kB / 0.6666 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4262, allocations: 0 / 0.6666 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.4266, allocations: 141.3 kB / 0.6667 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.4267, allocations: 178.8 kB / 0.6669 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.427, allocations: 98.39 kB / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.4272, allocations: 42.62 kB / 0.667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.4272, allocations: 6.359 kB / 0.667 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.4272, allocations: 38.55 kB / 0.667 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4272, allocations: 1.75 kB / 0.667 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005244/0.4277, allocations: 154.8 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4278, allocations: 53.91 kB / 0.6672 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.157e-05/0.4278, allocations: 93.84 kB / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.4278, allocations: 25.7 kB / 0.6674 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.069e-05/0.4278, allocations: 81.64 kB / 0.6674 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.4279, allocations: 37.27 kB / 0.6675 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.4279, allocations: 25.77 kB / 0.6675 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.428, allocations: 321.5 kB / 0.6678 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.4281, allocations: 37.84 kB / 0.6678 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.4283, allocations: 27.45 kB / 0.6679 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.4285, allocations: 74.5 kB / 0.6679 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4285, allocations: 0 / 0.6679 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003123/0.4289, allocations: 120.1 kB / 0.668 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4289, allocations: 9.031 kB / 0.6681 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4289, allocations: 5.078 kB / 0.6681 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4289, allocations: 1.438 kB / 0.6681 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4291, allocations: 29.02 kB / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4291, allocations: 0 / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.4292, allocations: 15.64 kB / 0.6681 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4292, allocations: 2.844 kB / 0.6681 GB, free: 4.578 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 6.332e-05/0.4292, allocations: 115 kB / 0.6682 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.4293, allocations: 10.48 kB / 0.6682 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.4293, allocations: 7.969 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4293, allocations: 1.25 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4293, allocations: 0 / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4293, allocations: 5.281 kB / 0.6682 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.174e-05/0.4294, allocations: 179.4 kB / 0.6684 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4294, allocations: 0 / 0.6684 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.4296, allocations: 30.38 kB / 0.6684 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4296, allocations: 7.875 kB / 0.6684 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4296, allocations: 5.25 kB / 0.6685 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4296, allocations: 1.156 kB / 0.6685 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4296, allocations: 0 / 0.6685 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4299, allocations: 146.5 kB / 0.6686 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.4299, allocations: 82.42 kB / 0.6687 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.43, allocations: 8.969 kB / 0.6687 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.43, allocations: 4.312 kB / 0.6687 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4301, allocations: 16.75 kB / 0.6687 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-06/0.4301, allocations: 2.531 kB / 0.6687 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.058e-05/0.4301, allocations: 75.28 kB / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4301, allocations: 0 / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002137/0.4303, allocations: 20.88 kB / 0.6688 GB, free: 3.902 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.0001663/0.4305, allocations: 129.9 kB / 0.6689 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.4308, allocations: 84.75 kB / 0.669 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4309, allocations: 0 / 0.669 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.431, allocations: 49.95 kB / 0.669 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.4311, allocations: 5.344 kB / 0.6691 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.4315, allocations: 162.7 kB / 0.6692 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.4316, allocations: 0.6865 MB / 0.6699 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.4317, allocations: 35.72 kB / 0.6699 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4317, allocations: 24.36 kB / 0.6699 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4318, allocations: 1.344 kB / 0.6699 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.003104/0.4349, allocations: 1.021 MB / 0.6709 GB, free: 2.344 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)