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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8207/0.8207, allocations: 143.4 MB / 158.3 MB, free: 5.801 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.001712/0.001712, allocations: 171.9 kB / 191.5 MB, free: 5.77 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.448/1.448, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.0008703/0.0008702, allocations: 92.27 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 276.8 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 15.72 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.162, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.3208, allocations: 108.3 MB / 0.8795 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.3211, allocations: 75.95 kB / 0.8796 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003766/0.3249, allocations: 1.226 MB / 0.8808 GB, free: 64 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3249, allocations: 0 / 0.8808 GB, free: 64 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3249, allocations: 4 kB / 0.8808 GB, free: 60 kB / 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.3045/0.6294, allocations: 355.1 kB / 0.8811 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.6295, allocations: 9.766 kB / 0.8811 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.6296, allocations: 43.81 kB / 0.8812 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.6296, allocations: 9.812 kB / 0.8812 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.6297, allocations: 160.7 kB / 0.8813 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.6299, allocations: 282.3 kB / 0.8816 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.6299, allocations: 6.312 kB / 0.8816 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.6302, allocations: 78.38 kB / 0.8817 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.6302, allocations: 1.906 kB / 0.8817 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6302, allocations: 3.469 kB / 0.8817 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6302, allocations: 0.9062 kB / 0.8817 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.6306, allocations: 139.8 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.6308, allocations: 175.7 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.631, allocations: 97.53 kB / 0.8821 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.6311, allocations: 4.156 kB / 0.8821 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.6311, allocations: 32.62 kB / 0.8821 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.6311, allocations: 1.156 kB / 0.8821 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0004682/0.6316, allocations: 147.4 kB / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.6316, allocations: 57.02 kB / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.931e-05/0.6316, allocations: 85 kB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.6317, allocations: 26.48 kB / 0.8824 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.6317, allocations: 91.22 kB / 0.8825 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.6317, allocations: 34.14 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.6318, allocations: 8.906 kB / 0.8826 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.6318, allocations: 314.2 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6319, allocations: 35.81 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.632, allocations: 31.69 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.6322, allocations: 34.42 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6322, allocations: 3.688 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002707/0.6324, allocations: 116 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6325, allocations: 10.48 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6325, allocations: 0 / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.6325, allocations: 0 / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.6327, allocations: 25.66 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6327, allocations: 0.9375 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.6328, allocations: 9.219 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.6328, allocations: 4.969 kB / 0.8831 GB, free: 107.1 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 6.791e-05/0.6328, allocations: 121.3 kB / 0.8832 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.6329, allocations: 6.312 kB / 0.8832 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.6329, allocations: 14.42 kB / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6329, allocations: 0 / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6329, allocations: 0 / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6329, allocations: 0 / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.633, allocations: 184 kB / 0.8834 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.633, allocations: 0 / 0.8834 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.6332, allocations: 30.89 kB / 0.8835 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6332, allocations: 0 / 0.8835 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.6332, allocations: 5.719 kB / 0.8835 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6332, allocations: 3.953 kB / 0.8835 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6332, allocations: 0 / 0.8835 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.6335, allocations: 143.7 kB / 0.8836 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.6335, allocations: 87.14 kB / 0.8837 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.6335, allocations: 0 / 0.8837 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.6336, allocations: 10.17 kB / 0.8837 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.6337, allocations: 21.25 kB / 0.8837 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6337, allocations: 2.75 kB / 0.8837 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.354e-05/0.6337, allocations: 75.28 kB / 0.8838 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.6337, allocations: 0 / 0.8838 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002443/0.634, allocations: 24.62 kB / 0.8838 GB, free: 106.5 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.0005534/0.6345, allocations: 0.703 MB / 0.8845 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.6348, allocations: 87.3 kB / 0.8846 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6348, allocations: 6.625 kB / 0.8846 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.635, allocations: 49.09 kB / 0.8846 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.375e-05/0.6351, allocations: 6.531 kB / 0.8846 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.6355, allocations: 227.2 kB / 0.8849 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.6357, allocations: 0.6846 MB / 0.8855 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.6358, allocations: 39.48 kB / 0.8856 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.6358, allocations: 19.67 kB / 0.8856 GB, free: 105 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6359, allocations: 0 / 0.8856 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.6487, allocations: 1.729 MB / 0.8873 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.6489, allocations: 204.2 kB / 0.8875 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.229, allocations: 0 / 0.8875 GB, free: 104.6 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)