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.485/1.485, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001088/0.001088, allocations: 178.1 kB / 326.5 MB, free: 2.227 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.999/1.999, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001118/0.001118, allocations: 90.31 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 12.09 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.5145, allocations: 131.3 MB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5148, allocations: 75.95 kB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004915/0.5198, allocations: 1.222 MB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5198, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.5199, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 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.0005692/0.5205, allocations: 367.2 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.5205, allocations: 11.97 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.895e-05/0.5206, allocations: 46.5 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.5207, allocations: 8 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.5208, allocations: 167 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.5212, allocations: 277 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.5213, allocations: 4 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.5216, allocations: 81.62 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5216, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.5217, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5217, allocations: 4 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.5222, allocations: 135.8 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.5225, allocations: 189.4 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.5229, allocations: 98.56 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.5229, allocations: 0 / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.523, allocations: 34.56 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.523, allocations: 4 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007648/0.5238, allocations: 145.5 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5239, allocations: 51.41 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.5239, allocations: 85 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.524, allocations: 25.7 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.524, allocations: 84.33 kB / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.5241, allocations: 39.67 kB / 1.031 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.5241, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5243, allocations: 314.8 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.5245, allocations: 39.97 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.5247, allocations: 27.97 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5249, allocations: 31.98 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5249, allocations: 7.953 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004653/0.5254, allocations: 114.2 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.5254, allocations: 4 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5254, allocations: 3.938 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5254, allocations: 4 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.5257, allocations: 19.98 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5257, allocations: 4 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.5258, allocations: 11.89 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5258, allocations: 8 kB / 1.032 GB, free: 8.32 MB / 0.6823 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.0001385/0.526, allocations: 117.8 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.526, allocations: 7.953 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.5261, allocations: 7.969 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5261, allocations: 7.922 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.5261, allocations: 0 / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5261, allocations: 7.938 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.5263, allocations: 185.5 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5263, allocations: 0 / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.5265, allocations: 27.92 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5265, allocations: 0 / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.5266, allocations: 8 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5266, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5266, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.5271, allocations: 145 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.5271, allocations: 85.11 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.5272, allocations: 7.953 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.5273, allocations: 7.938 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.5274, allocations: 15.97 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.5274, allocations: 4 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.5274, allocations: 79.94 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5274, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003975/0.5278, allocations: 20 kB / 1.033 GB, free: 7.504 MB / 0.6823 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.00111/0.529, allocations: 0.6943 MB / 1.033 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.5294, allocations: 87.81 kB / 1.033 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5295, allocations: 0 / 1.033 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.5297, allocations: 55.89 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.5298, allocations: 14.36 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.5306, allocations: 210.1 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.531, allocations: 0.6907 MB / 1.034 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.5313, allocations: 43.81 kB / 1.034 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.5314, allocations: 19.42 kB / 1.034 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of SimCode: time 7.71e-07/0.5314, allocations: 0 / 1.034 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.5475, allocations: 1.729 MB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.5478, allocations: 183.2 kB / 1.036 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.062, allocations: 0 / 1.036 GB, free: 3.785 MB / 0.6823 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)