Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.857/0.857, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001048/0.001048, allocations: 175.9 kB / 191.5 MB, free: 5.773 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.496/1.496, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.0009197/0.0009196, allocations: 100.2 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 279 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 16 kB / 0.6929 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4104, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.561, allocations: 108.3 MB / 0.8794 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5613, allocations: 79.81 kB / 0.8795 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003531/0.5649, allocations: 1.232 MB / 0.8807 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5649, allocations: 0 / 0.8807 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5649, allocations: 0 / 0.8807 GB, free: 12.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004043/0.5653, allocations: 359.3 kB / 0.8811 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5654, allocations: 8.562 kB / 0.8811 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.5654, allocations: 11.91 kB / 0.8811 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5655, allocations: 163.1 kB / 0.8812 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.5658, allocations: 285 kB / 0.8815 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5658, allocations: 8 kB / 0.8815 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.5661, allocations: 81.56 kB / 0.8816 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.5661, allocations: 0 / 0.8816 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5661, allocations: 4 kB / 0.8816 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5661, allocations: 0 / 0.8816 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.5664, allocations: 131.8 kB / 0.8817 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.5667, allocations: 181.5 kB / 0.8819 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.5669, allocations: 106.5 kB / 0.882 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.567, allocations: 0 / 0.882 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.567, allocations: 30.56 kB / 0.882 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.567, allocations: 0 / 0.882 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0005323/0.5675, allocations: 149.9 kB / 0.8822 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.5676, allocations: 51.41 kB / 0.8822 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.311e-05/0.5676, allocations: 88.94 kB / 0.8823 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5677, allocations: 29.7 kB / 0.8823 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.5677, allocations: 80.33 kB / 0.8824 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.5678, allocations: 39.44 kB / 0.8824 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.5678, allocations: 8 kB / 0.8825 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5679, allocations: 310.8 kB / 0.8828 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.568, allocations: 35.97 kB / 0.8828 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.5681, allocations: 27.97 kB / 0.8828 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.5683, allocations: 31.98 kB / 0.8828 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5683, allocations: 0 / 0.8828 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003017/0.5686, allocations: 125.4 kB / 0.883 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5686, allocations: 7.953 kB / 0.883 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5686, allocations: 0 / 0.883 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5686, allocations: 3.984 kB / 0.883 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.5688, allocations: 23.98 kB / 0.883 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5688, allocations: 0 / 0.883 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.5689, allocations: 4 kB / 0.883 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.5689, allocations: 7.984 kB / 0.883 GB, free: 9.898 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: 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 8.525e-05/0.569, allocations: 124.4 kB / 0.8831 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.569, allocations: 3.938 kB / 0.8831 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.5691, allocations: 19.91 kB / 0.8832 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.5691, allocations: 4 kB / 0.8832 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5691, allocations: 0 / 0.8832 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5691, allocations: 0 / 0.8832 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.5692, allocations: 177.6 kB / 0.8833 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5692, allocations: 0 / 0.8833 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5694, allocations: 19.98 kB / 0.8833 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5694, allocations: 4 kB / 0.8833 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5694, allocations: 11.98 kB / 0.8834 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5694, allocations: 3.953 kB / 0.8834 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5694, allocations: 0 / 0.8834 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.5697, allocations: 145.7 kB / 0.8835 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.5698, allocations: 84.95 kB / 0.8836 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.5698, allocations: 4 kB / 0.8836 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.5699, allocations: 4 kB / 0.8836 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.5699, allocations: 19.92 kB / 0.8836 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.57, allocations: 4 kB / 0.8836 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.57, allocations: 79.28 kB / 0.8837 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.57, allocations: 0 / 0.8837 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002177/0.5702, allocations: 27.98 kB / 0.8837 GB, free: 9.082 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: 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.0002171/0.5704, allocations: 131.2 kB / 0.8838 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.5708, allocations: 91.91 kB / 0.8839 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5708, allocations: 0 / 0.8839 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5709, allocations: 47.97 kB / 0.884 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.349e-05/0.571, allocations: 3.938 kB / 0.884 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.5714, allocations: 170.6 kB / 0.8841 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5717, allocations: 0.6848 MB / 0.8848 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000129/0.5718, allocations: 35.94 kB / 0.8848 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.5719, allocations: 23.42 kB / 0.8849 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5719, allocations: 0 / 0.8849 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.003108/0.575, allocations: 0.9141 MB / 0.8858 GB, free: 6.93 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)