Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001533, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.796/2.796, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.193/3.193, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 14.53 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4953, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001522/0.497, allocations: 325.8 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000682/0.4977, allocations: 93.45 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.4978, allocations: 4 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.435e-05/0.4978, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.112e-05/0.4979, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.4984, allocations: 31.89 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.4987, allocations: 47.94 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.4988, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.4989, allocations: 27.91 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.499, allocations: 27.95 kB / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.499, allocations: 0 / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.4992, allocations: 39.97 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.4993, allocations: 15.98 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.4993, allocations: 33.7 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.4995, allocations: 43.92 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4995, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4996, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4996, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.6075 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.0008085/0.5004, allocations: 367.4 kB / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.111e-05/0.5005, allocations: 12.03 kB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.796e-05/0.5006, allocations: 38.56 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.5007, allocations: 8 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.501, allocations: 167 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/0.5015, allocations: 277 kB / 0.7887 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.5015, allocations: 8 kB / 0.7887 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.5018, allocations: 77.62 kB / 0.7888 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5019, allocations: 0 / 0.7888 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5019, allocations: 4 kB / 0.7888 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5019, allocations: 4 kB / 0.7888 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.5024, allocations: 131.8 kB / 0.7889 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.5029, allocations: 181.6 kB / 0.7891 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.5033, allocations: 98.45 kB / 0.7892 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.5034, allocations: 4.312 kB / 0.7892 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.5035, allocations: 38.5 kB / 0.7893 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.5035, allocations: 0 / 0.7893 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0008427/0.5043, allocations: 145.5 kB / 0.7894 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.5044, allocations: 55.41 kB / 0.7894 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.5045, allocations: 93.86 kB / 0.7895 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.5046, allocations: 29.7 kB / 0.7896 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.5047, allocations: 80.33 kB / 0.7896 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.5048, allocations: 35.45 kB / 0.7897 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.5048, allocations: 0 / 0.7897 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.505, allocations: 314.8 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.5052, allocations: 31.97 kB / 0.79 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.5054, allocations: 43.91 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.5056, allocations: 31.98 kB / 0.7901 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5056, allocations: 0 / 0.7901 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004491/0.5061, allocations: 114.2 kB / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.5061, allocations: 4 kB / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5062, allocations: 4 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.5062, allocations: 0 / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.5065, allocations: 23.98 kB / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.5065, allocations: 0 / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.5066, allocations: 15.86 kB / 0.7902 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.5066, allocations: 8 kB / 0.7902 GB, free: 8.512 MB / 0.6075 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 0.0001561/0.5068, allocations: 117.8 kB / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5068, allocations: 11.86 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.5069, allocations: 15.91 kB / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5069, allocations: 0 / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.5069, allocations: 0 / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.507, allocations: 0 / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.5073, allocations: 181.6 kB / 0.7905 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5073, allocations: 4 kB / 0.7906 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.5074, allocations: 23.97 kB / 0.7906 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.5075, allocations: 11.94 kB / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5075, allocations: 0 / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5075, allocations: 0 / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.5075, allocations: 0 / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.508, allocations: 152.9 kB / 0.7907 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.5081, allocations: 85.05 kB / 0.7908 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.5082, allocations: 7.953 kB / 0.7908 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.5083, allocations: 8 kB / 0.7908 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5084, allocations: 11.97 kB / 0.7908 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5084, allocations: 7.938 kB / 0.7908 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.368e-05/0.5085, allocations: 79.27 kB / 0.7909 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5085, allocations: 0 / 0.7909 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003827/0.5089, allocations: 20 kB / 0.7909 GB, free: 7.688 MB / 0.6075 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.001344/0.5102, allocations: 0.7021 MB / 0.7916 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005605/0.5108, allocations: 83.94 kB / 0.7917 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5109, allocations: 0 / 0.7917 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.5111, allocations: 51.89 kB / 0.7918 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5113, allocations: 3.953 kB / 0.7918 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/0.5121, allocations: 211.1 kB / 0.792 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.5127, allocations: 0.6887 MB / 0.7926 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.513, allocations: 39.95 kB / 0.7927 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.5131, allocations: 19.42 kB / 0.7927 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.5131, allocations: 0 / 0.7927 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.5437, allocations: 1.75 MB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004723/0.5443, allocations: 184.9 kB / 0.7946 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.331/3.875, allocations: 0 / 0.7946 GB, free: 3.934 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: