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.7578/0.7578, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 176.9 kB / 187.3 MB, free: 11.9 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.394/1.394, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009453/0.0009455, allocations: 99.98 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 270.3 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.743e-05, allocations: 8 kB / 0.6835 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.5252, allocations: 108.2 MB / 0.8699 GB, free: 400 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5255, allocations: 84.53 kB / 0.87 GB, free: 320 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003407/0.5289, allocations: 1.22 MB / 0.8712 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5289, allocations: 0 / 0.8712 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.5289, allocations: 0 / 0.8712 GB, free: 15.1 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.0003732/0.5293, allocations: 352.3 kB / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5294, allocations: 12.03 kB / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.5294, allocations: 7.906 kB / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.5295, allocations: 163 kB / 0.8717 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.5297, allocations: 287.3 kB / 0.872 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.5298, allocations: 3.984 kB / 0.872 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5299, allocations: 73.59 kB / 0.8721 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.53, allocations: 0 / 0.8721 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.53, allocations: 4 kB / 0.8721 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.53, allocations: 0 / 0.8721 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.5302, allocations: 120.7 kB / 0.8722 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.5303, allocations: 182.8 kB / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.5305, allocations: 90.38 kB / 0.8724 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.5306, allocations: 34.58 kB / 0.8725 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.5306, allocations: 3.984 kB / 0.8725 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.5306, allocations: 38.55 kB / 0.8725 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.5306, allocations: 4 kB / 0.8725 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0002224/0.5309, allocations: 97.92 kB / 0.8726 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.5309, allocations: 55.34 kB / 0.8727 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.748e-05/0.5309, allocations: 85 kB / 0.8727 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.531, allocations: 25.7 kB / 0.8728 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.531, allocations: 80.33 kB / 0.8728 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.5311, allocations: 35.45 kB / 0.8729 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.5311, allocations: 8 kB / 0.8729 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.5312, allocations: 314.8 kB / 0.8732 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.5312, allocations: 27.98 kB / 0.8732 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.5313, allocations: 23.98 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.5313, allocations: 23.92 kB / 0.8733 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5314, allocations: 4 kB / 0.8733 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001636/0.5315, allocations: 97.83 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5315, allocations: 9.047 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5316, allocations: 0 / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5316, allocations: 4 kB / 0.8734 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5317, allocations: 31.91 kB / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5318, allocations: 4 kB / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.5318, allocations: 4 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.5318, allocations: 7.984 kB / 0.8734 GB, free: 12.57 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 () * 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 7.937e-05/0.5319, allocations: 105 kB / 0.8735 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.5319, allocations: 4 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.532, allocations: 16.05 kB / 0.8735 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.532, allocations: 0 / 0.8735 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.532, allocations: 0 / 0.8735 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.532, allocations: 4 kB / 0.8735 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.5322, allocations: 185.5 kB / 0.8737 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5322, allocations: 4 kB / 0.8737 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.5323, allocations: 31.91 kB / 0.8738 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5323, allocations: 0 / 0.8738 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5323, allocations: 0 / 0.8738 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5323, allocations: 3.953 kB / 0.8738 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5324, allocations: 3.984 kB / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.5325, allocations: 121.1 kB / 0.8739 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.5326, allocations: 92.89 kB / 0.874 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5326, allocations: 4 kB / 0.874 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.5327, allocations: 7.984 kB / 0.874 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.5327, allocations: 15.88 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5328, allocations: 7.984 kB / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.5328, allocations: 75.28 kB / 0.8741 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5328, allocations: 0 / 0.8741 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002175/0.533, allocations: 28 kB / 0.8741 GB, free: 11.78 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 () * 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.0002107/0.5332, allocations: 133.3 kB / 0.8742 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.5334, allocations: 67.91 kB / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5334, allocations: 0 / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.646e-05/0.5335, allocations: 39.92 kB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.411e-05/0.5336, allocations: 4 kB / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.5338, allocations: 108.9 kB / 0.8744 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.5341, allocations: 0.6887 MB / 0.8751 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.5342, allocations: 39.16 kB / 0.8751 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.5343, allocations: 15.44 kB / 0.8752 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.5343, allocations: 4 kB / 0.8752 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of Templates: time 0.002915/0.5372, allocations: 0.9262 MB / 0.8761 GB, free: 9.711 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)