Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.662/1.662, allocations: 287.4 MB / 302.6 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 177 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007637/0.0007639, allocations: 98.17 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 11.91 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001321/0.2187, allocations: 1.243 MB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000339/0.2191, allocations: 164.4 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.2191, allocations: 0 / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.2192, allocations: 7.938 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.2192, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2194, allocations: 35.88 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.524e-05/0.2195, allocations: 31.92 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.661e-05/0.2195, allocations: 15.98 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.2196, allocations: 7.984 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.2196, allocations: 15.92 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2196, allocations: 4 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.2197, allocations: 47.95 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.2197, allocations: 3.938 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.2197, allocations: 29.7 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.882e-05/0.2198, allocations: 43.84 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2198, allocations: 4 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2198, allocations: 0 / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.2198, allocations: 0 / 0.9803 GB, free: 26.44 MB / 0.6198 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.000312/0.2202, allocations: 355.7 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2202, allocations: 8.031 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.2202, allocations: 34.75 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.2202, allocations: 4.938 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.864e-05/0.2203, allocations: 172.3 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2203, allocations: 4.312 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.2204, allocations: 4.375 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2205, allocations: 66.23 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2205, allocations: 3.938 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2205, allocations: 3.984 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.2206, allocations: 8 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2207, allocations: 51.95 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.221, allocations: 292.6 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.2213, allocations: 66.47 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.2214, allocations: 32.91 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.2216, allocations: 166.2 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.2216, allocations: 30.56 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2216, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003387/0.222, allocations: 117.6 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.504e-05/0.222, allocations: 55.34 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.706e-05/0.2221, allocations: 109.8 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.2221, allocations: 29.7 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.2221, allocations: 84.2 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.2221, allocations: 11.91 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2221, allocations: 0 / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.2222, allocations: 322.8 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.2223, allocations: 23.98 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.2224, allocations: 31.97 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2225, allocations: 44.83 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2225, allocations: 4 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.2227, allocations: 97.48 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.2228, allocations: 4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.2229, allocations: 15.98 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2229, allocations: 320 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.2229, allocations: 8 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2229, allocations: 7.984 kB / 0.9825 GB, free: 23.95 MB / 0.6198 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 (rea2Int.y,bin.y) * 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 5.383e-05/0.223, allocations: 117.8 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.223, allocations: 4 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.2233, allocations: 97.48 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2233, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2233, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2233, allocations: 384 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2234, allocations: 169.6 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2234, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.2235, allocations: 15.98 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2235, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2235, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2235, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2235, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.2237, allocations: 195.3 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.2238, allocations: 85.05 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2238, allocations: 3.938 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.2239, allocations: 15.92 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.2239, allocations: 7.922 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2239, allocations: 4 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.381e-05/0.224, allocations: 87.27 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.224, allocations: 0 / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002068/0.2242, allocations: 24 kB / 0.9833 GB, free: 23.03 MB / 0.6198 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 (rea2Int.y,bin.y) * 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.0004107/0.2246, allocations: 0.7279 MB / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2248, allocations: 63.89 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2248, allocations: 0 / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.2249, allocations: 35.97 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2252, allocations: 2.5 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.226, allocations: 470.4 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2261, allocations: 0.6848 MB / 0.9852 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.2261, allocations: 4 kB / 0.9852 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.2262, allocations: 11.44 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2262, allocations: 0 / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.2373, allocations: 1.6 MB / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.2375, allocations: 181.9 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.863, allocations: 0 / 0.987 GB, free: 19.22 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)