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.8299/0.8299, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001177/0.001177, allocations: 185 kB / 191.5 MB, free: 5.746 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.467/1.467, allocations: 223.2 MB / 447.7 MB, free: 4.746 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.0008459/0.0008459, allocations: 88.31 kB / 0.5188 GB, free: 1.105 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 277.8 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.000454, allocations: 14.47 kB / 0.6929 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1976, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.3582, allocations: 109.3 MB / 0.8805 GB, free: 392 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3585, allocations: 73.98 kB / 0.8805 GB, free: 320 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3588/0.7173, allocations: 1.336 MB / 0.8818 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7174, allocations: 0 / 0.8818 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.7174, allocations: 3.188 kB / 0.8818 GB, free: 109.4 MB / 0.5417 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.000411/0.7178, allocations: 360.3 kB / 0.8822 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7179, allocations: 12.12 kB / 0.8822 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.7179, allocations: 2.094 kB / 0.8822 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.718, allocations: 161.3 kB / 0.8823 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.7181, allocations: 6.141 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.7181, allocations: 4.844 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.7183, allocations: 71.7 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7183, allocations: 0 / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.7183, allocations: 9.781 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.7184, allocations: 0 / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.7186, allocations: 55.95 kB / 0.8825 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.719, allocations: 282.4 kB / 0.8828 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.7193, allocations: 66 kB / 0.8828 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.7196, allocations: 406.6 kB / 0.8832 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.7197, allocations: 37 kB / 0.8832 GB, free: 108 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.7197, allocations: 0 / 0.8832 GB, free: 108 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003871/0.7201, allocations: 114.9 kB / 0.8834 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.7201, allocations: 51.41 kB / 0.8834 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.7201, allocations: 107.6 kB / 0.8835 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.7202, allocations: 25.7 kB / 0.8835 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.7202, allocations: 97.16 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.7202, allocations: 3.906 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.7202, allocations: 0 / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.7203, allocations: 324 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.7204, allocations: 24.72 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.7205, allocations: 25.88 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.7206, allocations: 23.06 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7206, allocations: 6.594 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002088/0.7208, allocations: 81.97 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.7208, allocations: 2.812 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.7208, allocations: 2.562 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.7208, allocations: 0 / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.7209, allocations: 23.77 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.721, allocations: 0 / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.721, allocations: 6.812 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.721, allocations: 2.438 kB / 0.8841 GB, free: 107.3 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 () * Number of clocked 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.775e-05/0.7211, allocations: 119.8 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.7211, allocations: 3.906 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.7214, allocations: 94.25 kB / 0.8843 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.7214, allocations: 3.328 kB / 0.8843 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.7214, allocations: 1.125 kB / 0.8843 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7214, allocations: 0 / 0.8843 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.7216, allocations: 171.8 kB / 0.8845 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7216, allocations: 0 / 0.8845 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.7217, allocations: 22.09 kB / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.7217, allocations: 0 / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.7217, allocations: 7.266 kB / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7217, allocations: 0 / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7217, allocations: 2.75 kB / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.722, allocations: 184.5 kB / 0.8847 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.722, allocations: 88.91 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.722, allocations: 2.625 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.7221, allocations: 8.719 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.7222, allocations: 6.312 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.7222, allocations: 0.75 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.7222, allocations: 91.67 kB / 0.8849 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7223, allocations: 0 / 0.8849 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002398/0.7225, allocations: 24.75 kB / 0.8849 GB, free: 106.6 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 () * Number of clocked 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.0001802/0.7227, allocations: 124.6 kB / 0.885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.7229, allocations: 58.61 kB / 0.8851 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7229, allocations: 0 / 0.8851 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.7231, allocations: 30.17 kB / 0.8851 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.7233, allocations: 10.69 kB / 0.8851 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.7236, allocations: 123.1 kB / 0.8853 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7237, allocations: 0.6805 MB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.7238, allocations: 5.906 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.7238, allocations: 10.25 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.7238, allocations: 3.938 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.002875/0.7267, allocations: 0.8321 MB / 0.8868 GB, free: 105.6 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)