Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Binomial.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6931/0.6931, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 396.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 105 kB / 479 MB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.353e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1626, allocations: 81.59 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5649/0.7275, allocations: 111.7 MB / 0.7438 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001639/0.7277, allocations: 76.97 kB / 0.7439 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004017/0.7318, allocations: 1.348 MB / 0.7452 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7318, allocations: 3.938 kB / 0.7452 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7318, allocations: 0 / 0.7452 GB, free: 27.89 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003629/0.7322, allocations: 353.5 kB / 0.7455 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7322, allocations: 11.5 kB / 0.7455 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.7322, allocations: 3.844 kB / 0.7455 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.7324, allocations: 168.5 kB / 0.7457 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.7324, allocations: 6.406 kB / 0.7457 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.7324, allocations: 3.938 kB / 0.7457 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.7326, allocations: 55.45 kB / 0.7458 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.7326, allocations: 3.844 kB / 0.7458 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7326, allocations: 1.734 kB / 0.7458 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7326, allocations: 0 / 0.7458 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.7327, allocations: 18.09 kB / 0.7458 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.7331, allocations: 289.7 kB / 0.7461 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.7333, allocations: 45.34 kB / 0.7461 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.7334, allocations: 11.89 kB / 0.7461 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.7337, allocations: 412.8 kB / 0.7465 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.7338, allocations: 32.2 kB / 0.7465 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7338, allocations: 0 / 0.7465 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001566/0.7339, allocations: 54.38 kB / 0.7466 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.734, allocations: 55.36 kB / 0.7466 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.7341, allocations: 103.3 kB / 0.7467 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.7341, allocations: 25.7 kB / 0.7468 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.7341, allocations: 87.3 kB / 0.7468 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.7342, allocations: 15.05 kB / 0.7469 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.7342, allocations: 0 / 0.7469 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.7343, allocations: 314.7 kB / 0.7472 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.7343, allocations: 7.812 kB / 0.7472 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.7343, allocations: 7.688 kB / 0.7472 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.7343, allocations: 7.391 kB / 0.7472 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7344, allocations: 3.938 kB / 0.7472 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.161e-05/0.7344, allocations: 54.14 kB / 0.7472 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7345, allocations: 5.594 kB / 0.7472 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7345, allocations: 7.844 kB / 0.7473 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7345, allocations: 0 / 0.7473 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.7346, allocations: 10.59 kB / 0.7473 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.7346, allocations: 0 / 0.7473 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.7347, allocations: 14.62 kB / 0.7473 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.7347, allocations: 0 / 0.7473 GB, free: 25.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.744e-05/0.7348, allocations: 111.8 kB / 0.7474 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.7348, allocations: 11.09 kB / 0.7474 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.7349, allocations: 60.97 kB / 0.7475 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7349, allocations: 3.938 kB / 0.7475 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7349, allocations: 0 / 0.7475 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7349, allocations: 0 / 0.7475 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.7351, allocations: 172 kB / 0.7476 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7351, allocations: 0.875 kB / 0.7476 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.7352, allocations: 17.62 kB / 0.7476 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7352, allocations: 4 kB / 0.7476 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.7352, allocations: 3.5 kB / 0.7476 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.7352, allocations: 3.844 kB / 0.7476 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7352, allocations: 4 kB / 0.7477 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.7354, allocations: 151.2 kB / 0.7478 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.7354, allocations: 81.02 kB / 0.7479 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.7354, allocations: 0 / 0.7479 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.7355, allocations: 14.77 kB / 0.7479 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.7356, allocations: 12.89 kB / 0.7479 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.7356, allocations: 2.438 kB / 0.7479 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.7356, allocations: 90.28 kB / 0.748 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7356, allocations: 0 / 0.748 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002214/0.7359, allocations: 19.34 kB / 0.748 GB, free: 25.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001738/0.7361, allocations: 121.8 kB / 0.7481 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.7361, allocations: 25.27 kB / 0.7481 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7362, allocations: 4 kB / 0.7482 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.7362, allocations: 15.41 kB / 0.7482 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.7364, allocations: 3.953 kB / 0.7482 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.7366, allocations: 73.22 kB / 0.7482 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.7368, allocations: 0.6842 MB / 0.7489 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.7369, allocations: 7.875 kB / 0.7489 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.7369, allocations: 14.81 kB / 0.7489 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.7369, allocations: 0 / 0.7489 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.002554/0.7395, allocations: 0.8218 MB / 0.7497 GB, free: 24.15 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)