Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 175 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 0.5775 GB, free: 20.33 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008238/0.0008239, allocations: 83.53 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003154, allocations: 12.53 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0005818/0.1935, allocations: 333.2 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.1938, allocations: 101.7 kB / 0.9006 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.1938, allocations: 0 / 0.9006 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.1938, allocations: 0 / 0.9006 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.1938, allocations: 0 / 0.9006 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1941, allocations: 27.91 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.1941, allocations: 43.94 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.1942, allocations: 0 / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.1942, allocations: 27.98 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.1943, allocations: 23.95 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1943, allocations: 7.938 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.1944, allocations: 35.97 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1944, allocations: 23.95 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1944, allocations: 37.64 kB / 0.9008 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.362e-05/0.1945, allocations: 35.94 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1945, allocations: 0 / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.1945, allocations: 3.984 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1945, allocations: 0 / 0.9008 GB, free: 63.15 MB / 0.6042 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.0003359/0.1949, allocations: 355.4 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1949, allocations: 8.031 kB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.195, allocations: 42.56 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.195, allocations: 4 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.328e-05/0.195, allocations: 163.3 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.1952, allocations: 288.9 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1953, allocations: 0 / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1955, allocations: 81.52 kB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1955, allocations: 0 / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1955, allocations: 12 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1955, allocations: 4 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.1958, allocations: 135.8 kB / 0.9019 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.1959, allocations: 181.5 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1961, allocations: 90.53 kB / 0.9021 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1962, allocations: 11.92 kB / 0.9021 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.1962, allocations: 30.56 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1962, allocations: 4 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004186/0.1966, allocations: 149.9 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.1966, allocations: 55.41 kB / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.765e-05/0.1967, allocations: 89.86 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.1967, allocations: 25.7 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.748e-06/0.1967, allocations: 80.33 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1967, allocations: 35.45 kB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.1967, allocations: 4 kB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.1968, allocations: 322.8 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1969, allocations: 31.97 kB / 0.9029 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.197, allocations: 31.92 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1972, allocations: 39.92 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1972, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002638/0.1975, allocations: 110.2 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1975, allocations: 8 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1975, allocations: 0 / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.1975, allocations: 0 / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1976, allocations: 27.97 kB / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1976, allocations: 4 kB / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.1977, allocations: 7.906 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1977, allocations: 3.984 kB / 0.9032 GB, free: 60.48 MB / 0.6042 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 5.279e-05/0.1978, allocations: 121.7 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1978, allocations: 4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.1978, allocations: 11.97 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1978, allocations: 0 / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1978, allocations: 8 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1979, allocations: 3.984 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.07e-05/0.1979, allocations: 177.5 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.198, allocations: 7.891 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1981, allocations: 23.98 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1981, allocations: 3.938 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1981, allocations: 7.984 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1981, allocations: 0 / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1981, allocations: 0 / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1984, allocations: 145.1 kB / 0.9036 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.1984, allocations: 88.95 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1984, allocations: 4 kB / 0.9037 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.1985, allocations: 4 kB / 0.9037 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1985, allocations: 11.97 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.1985, allocations: 8 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.076e-05/0.1986, allocations: 75.28 kB / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1986, allocations: 0 / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001989/0.1988, allocations: 23.94 kB / 0.9039 GB, free: 59.66 MB / 0.6042 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.0004647/0.1992, allocations: 0.7021 MB / 0.9045 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1995, allocations: 83.88 kB / 0.9046 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1995, allocations: 0 / 0.9046 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1996, allocations: 51.91 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.122e-05/0.1997, allocations: 6.062 kB / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.2001, allocations: 200.3 kB / 0.9049 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/0.2002, allocations: 0.6868 MB / 0.9055 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.2004, allocations: 51.75 kB / 0.9056 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.2004, allocations: 23.42 kB / 0.9056 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2004, allocations: 0 / 0.9056 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.2116, allocations: 1.752 MB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001225/0.2117, allocations: 197.4 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.384/1.596, allocations: 0 / 0.9075 GB, free: 55.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)