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.369/1.369, allocations: 252 MB / 267 MB, free: 10.96 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.001015/0.001015, allocations: 188.8 kB / 326.6 MB, free: 2.199 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.605/1.605, allocations: 205.4 MB / 0.5777 GB, free: 20.48 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.000706/0.0007062, allocations: 102 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 17.75 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 106.3 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006294/0.1922, allocations: 322.2 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.1925, allocations: 100.9 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.1926, allocations: 0 / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.1926, allocations: 3.938 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.1926, allocations: 4 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.1929, allocations: 31.91 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.193, allocations: 55.94 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1931, allocations: 3.984 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.1931, allocations: 27.97 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.1931, allocations: 19.97 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1932, allocations: 4 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1933, allocations: 39.95 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.1933, allocations: 23.91 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1934, allocations: 29.7 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.81e-05/0.1934, allocations: 43.94 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1935, allocations: 4 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1935, allocations: 0 / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1935, allocations: 0 / 0.901 GB, free: 63.44 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.0003931/0.1939, allocations: 351.4 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1939, allocations: 12.03 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.194, allocations: 38.55 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.194, allocations: 8 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.542e-05/0.1941, allocations: 163.3 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.1943, allocations: 281 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1943, allocations: 12 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1945, allocations: 81.56 kB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1946, allocations: 0 / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1946, allocations: 0 / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1946, allocations: 4 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.1949, allocations: 135.8 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.195, allocations: 185.5 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1953, allocations: 98.45 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1954, allocations: 44.83 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1955, allocations: 7.984 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.1955, allocations: 38.56 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1955, allocations: 0 / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000474/0.196, allocations: 145.8 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.196, allocations: 59.41 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.717e-05/0.196, allocations: 93.86 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1961, allocations: 25.7 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.1961, allocations: 84.27 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1961, allocations: 35.45 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.1961, allocations: 4 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.1962, allocations: 318.8 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1963, allocations: 31.97 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1964, allocations: 31.97 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1966, allocations: 35.92 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1966, allocations: 4 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002893/0.1969, allocations: 114.3 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1969, allocations: 4 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1969, allocations: 0 / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1969, allocations: 0 / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1971, allocations: 27.92 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1971, allocations: 0 / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.1971, allocations: 11.89 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1972, allocations: 0 / 0.9034 GB, free: 60.71 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 6.914e-05/0.1972, allocations: 129.8 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1973, allocations: 0 / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.1973, allocations: 11.97 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1973, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1973, allocations: 0 / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1973, allocations: 0 / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.1974, allocations: 189.4 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1974, allocations: 0 / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.1976, allocations: 27.97 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1976, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1976, allocations: 7.938 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1976, allocations: 4 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1976, allocations: 0 / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1979, allocations: 141.1 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.198, allocations: 84.97 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.198, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.198, allocations: 8 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.1981, allocations: 19.97 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1981, allocations: 0 / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.324e-05/0.1981, allocations: 79.22 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1981, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002004/0.1983, allocations: 27.98 kB / 0.9041 GB, free: 59.89 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.0005413/0.1989, allocations: 0.6943 MB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.1992, allocations: 87.81 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.1992, allocations: 0 / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1993, allocations: 51.95 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1995, allocations: 0 / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.1999, allocations: 208.3 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.2, allocations: 0.6868 MB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000147/0.2002, allocations: 43.81 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.2002, allocations: 23.42 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2002, allocations: 0 / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.211, allocations: 1.773 MB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000119/0.2111, allocations: 195.2 kB / 0.9077 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.657, allocations: 0 / 0.9077 GB, free: 56.15 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)