Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5311/0.5311, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 223.2 MB / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 96.2 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 12 kB / 0.4983 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 72.31 MB / 0.5689 GB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/0.7185, allocations: 101.1 MB / 0.6676 GB, free: 3.215 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.7189, allocations: 75.95 kB / 0.6677 GB, free: 3.141 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00376/0.7227, allocations: 1.221 MB / 0.6689 GB, free: 1.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7227, allocations: 0 / 0.6689 GB, free: 1.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.7227, allocations: 0 / 0.6689 GB, free: 1.93 MB / 458.7 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.000401/0.7231, allocations: 363.9 kB / 0.6693 GB, free: 1.527 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7232, allocations: 12.03 kB / 0.6693 GB, free: 1.516 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.7232, allocations: 7.953 kB / 0.6693 GB, free: 1.508 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7234, allocations: 163.1 kB / 0.6694 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.7236, allocations: 277 kB / 0.6697 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.7236, allocations: 11.94 kB / 0.6697 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.7239, allocations: 77.56 kB / 0.6698 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7239, allocations: 4 kB / 0.6698 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.724, allocations: 4 kB / 0.6698 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.724, allocations: 0 / 0.6698 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.7243, allocations: 135.8 kB / 0.6699 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.7245, allocations: 177.6 kB / 0.6701 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.7248, allocations: 97.47 kB / 0.6702 GB, free: 428 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.7249, allocations: 7.984 kB / 0.6702 GB, free: 420 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.7249, allocations: 35.38 kB / 0.6702 GB, free: 376 kB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.7249, allocations: 0 / 0.6702 GB, free: 376 kB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005174/0.7254, allocations: 153.7 kB / 0.6704 GB, free: 216 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.7255, allocations: 55.41 kB / 0.6704 GB, free: 148 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.675e-05/0.7255, allocations: 89 kB / 0.6705 GB, free: 52 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.7256, allocations: 25.7 kB / 0.6705 GB, free: 20 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.7256, allocations: 80.33 kB / 0.6706 GB, free: 15.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.7257, allocations: 35.45 kB / 0.6706 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-06/0.7257, allocations: 4 kB / 0.6706 GB, free: 15.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.7259, allocations: 322.8 kB / 0.671 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.726, allocations: 27.98 kB / 0.671 GB, free: 15.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.7261, allocations: 35.97 kB / 0.671 GB, free: 15.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.7262, allocations: 39.91 kB / 0.6711 GB, free: 15.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7263, allocations: 3.938 kB / 0.6711 GB, free: 15.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003029/0.7266, allocations: 106.2 kB / 0.6712 GB, free: 15.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7266, allocations: 4 kB / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7266, allocations: 0 / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7266, allocations: 0 / 0.6712 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.7268, allocations: 27.98 kB / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7268, allocations: 3.984 kB / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.7269, allocations: 8 kB / 0.6712 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.7269, allocations: 1.125 kB / 0.6712 GB, free: 15.31 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.727, allocations: 129.7 kB / 0.6713 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.7271, allocations: 3.906 kB / 0.6713 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.7271, allocations: 15.91 kB / 0.6713 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7271, allocations: 4 kB / 0.6713 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7271, allocations: 0 / 0.6713 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7271, allocations: 0 / 0.6713 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.7274, allocations: 177.6 kB / 0.6715 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7274, allocations: 0 / 0.6715 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.7275, allocations: 27.97 kB / 0.6715 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7275, allocations: 3.938 kB / 0.6715 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7275, allocations: 0 / 0.6715 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.7275, allocations: 4 kB / 0.6716 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7275, allocations: 3.984 kB / 0.6716 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.7279, allocations: 145.6 kB / 0.6717 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.728, allocations: 88.98 kB / 0.6718 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.728, allocations: 3.984 kB / 0.6718 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.7281, allocations: 11.98 kB / 0.6718 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.7281, allocations: 11.98 kB / 0.6718 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.7281, allocations: 3.984 kB / 0.6718 GB, free: 14.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.7282, allocations: 75.28 kB / 0.6719 GB, free: 14.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7282, allocations: 0 / 0.6719 GB, free: 14.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000246/0.7284, allocations: 28 kB / 0.6719 GB, free: 14.49 MB / 474.7 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 (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.0003009/0.7288, allocations: 131.2 kB / 0.672 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.7291, allocations: 91.86 kB / 0.6721 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7291, allocations: 0 / 0.6721 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7293, allocations: 51.91 kB / 0.6722 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.7294, allocations: 5.516 kB / 0.6722 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.7298, allocations: 171.1 kB / 0.6723 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.7303, allocations: 0.6887 MB / 0.673 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.7304, allocations: 38.14 kB / 0.673 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.7305, allocations: 19.42 kB / 0.6731 GB, free: 13.25 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7305, allocations: 0 / 0.6731 GB, free: 13.25 MB / 474.7 MB Notification: Performance of Templates: time 0.003131/0.7336, allocations: 0.9058 MB / 0.674 GB, free: 12.35 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)