Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8844/0.8844, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 176.9 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 80.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 270.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.21e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3709, allocations: 82.76 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.5006, allocations: 108.6 MB / 0.8634 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.5008, allocations: 79.83 kB / 0.8635 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004062/0.5049, allocations: 1.338 MB / 0.8648 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5049, allocations: 0 / 0.8648 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5049, allocations: 0 / 0.8648 GB, free: 1.898 MB / 0.5261 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.0003696/0.5053, allocations: 350.4 kB / 0.8651 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5054, allocations: 12.03 kB / 0.8651 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.5054, allocations: 7.906 kB / 0.8651 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5055, allocations: 163.1 kB / 0.8653 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.5056, allocations: 7.953 kB / 0.8653 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5056, allocations: 0 / 0.8653 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.095e-05/0.5057, allocations: 20 kB / 0.8653 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/0.5057, allocations: 45.62 kB / 0.8654 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5058, allocations: 4 kB / 0.8654 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.5058, allocations: 0 / 0.8654 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5058, allocations: 0 / 0.8654 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.5061, allocations: 261.3 kB / 0.8656 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5064, allocations: 42.56 kB / 0.8656 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.5064, allocations: 16.86 kB / 0.8657 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.5068, allocations: 413.6 kB / 0.8661 GB, free: 360 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5068, allocations: 34.56 kB / 0.8661 GB, free: 316 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.5068, allocations: 0 / 0.8661 GB, free: 316 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003143/0.5071, allocations: 61.67 kB / 0.8661 GB, free: 248 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.5072, allocations: 51.41 kB / 0.8662 GB, free: 184 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.5072, allocations: 96.98 kB / 0.8663 GB, free: 80 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5073, allocations: 25.7 kB / 0.8663 GB, free: 48 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.5073, allocations: 91.98 kB / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.5074, allocations: 4 kB / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.5074, allocations: 0 / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.5075, allocations: 314.8 kB / 0.8667 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.5075, allocations: 7.984 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.5075, allocations: 8 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.5077, allocations: 32 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5077, allocations: 0 / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002461/0.508, allocations: 69.52 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.508, allocations: 4 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.508, allocations: 0 / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.508, allocations: 8 kB / 0.8668 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.5081, allocations: 11.98 kB / 0.8668 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5081, allocations: 3.672 kB / 0.8668 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.5082, allocations: 11.98 kB / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.5082, allocations: 0 / 0.8669 GB, free: 15.48 MB / 0.5417 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.827e-05/0.5083, allocations: 104.9 kB / 0.867 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5083, allocations: 8 kB / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.5086, allocations: 77.72 kB / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5086, allocations: 0 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5086, allocations: 0 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5086, allocations: 0 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.5088, allocations: 142.2 kB / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5088, allocations: 0 / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.5089, allocations: 11.98 kB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.5089, allocations: 7.891 kB / 0.8672 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5089, allocations: 4 kB / 0.8672 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5089, allocations: 4 kB / 0.8672 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5089, allocations: 0 / 0.8672 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.5092, allocations: 155.4 kB / 0.8673 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.5092, allocations: 81.05 kB / 0.8674 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.5093, allocations: 7.938 kB / 0.8674 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.5094, allocations: 8 kB / 0.8674 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5094, allocations: 19.92 kB / 0.8675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.5094, allocations: 0 / 0.8675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.5095, allocations: 83.53 kB / 0.8675 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5095, allocations: 0 / 0.8675 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002572/0.5097, allocations: 27.98 kB / 0.8676 GB, free: 14.66 MB / 0.5417 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.0001893/0.5099, allocations: 115.2 kB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.184e-05/0.51, allocations: 19.98 kB / 0.8677 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.51, allocations: 4 kB / 0.8677 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.5101, allocations: 15.94 kB / 0.8677 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.5103, allocations: 4.781 kB / 0.8677 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.5105, allocations: 71.92 kB / 0.8678 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5108, allocations: 0.6807 MB / 0.8684 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.5108, allocations: 4 kB / 0.8685 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.5108, allocations: 11.44 kB / 0.8685 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.5108, allocations: 3.938 kB / 0.8685 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.002954/0.5138, allocations: 0.7833 MB / 0.8692 GB, free: 12.9 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)