Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001042/0.001043, allocations: 182.7 kB / 371.8 MB, free: 10.27 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.898/1.898, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001141/0.001141, allocations: 99.41 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004332, allocations: 14.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3007, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9909/1.292, allocations: 137.6 MB / 1.114 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.292, allocations: 82.34 kB / 1.114 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004347/1.296, allocations: 1.215 MB / 1.115 GB, free: 32.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.759e-06/1.296, allocations: 0 / 1.115 GB, free: 32.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.717e-06/1.296, allocations: 3.938 kB / 1.115 GB, free: 32.14 MB / 0.698 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.0004826/1.297, allocations: 370.5 kB / 1.116 GB, free: 31.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/1.297, allocations: 15.55 kB / 1.116 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.858e-05/1.297, allocations: 37.34 kB / 1.116 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/1.297, allocations: 12.41 kB / 1.116 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.297, allocations: 166.8 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/1.297, allocations: 274.5 kB / 1.116 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/1.298, allocations: 7.812 kB / 1.116 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/1.298, allocations: 74.34 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/1.298, allocations: 4 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.298, allocations: 7.781 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.298, allocations: 3.938 kB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/1.298, allocations: 134.6 kB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/1.298, allocations: 182.3 kB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/1.299, allocations: 90.58 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/1.299, allocations: 7.516 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/1.299, allocations: 38.44 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/1.299, allocations: 0 / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005158/1.299, allocations: 149.2 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/1.299, allocations: 52.75 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.514e-05/1.299, allocations: 85 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/1.299, allocations: 30.92 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/1.299, allocations: 80.33 kB / 1.117 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/1.3, allocations: 31.69 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.3, allocations: 3.875 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.3, allocations: 319.6 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/1.3, allocations: 32.41 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/1.3, allocations: 29.62 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/1.3, allocations: 38.73 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.3, allocations: 0 / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002959/1.3, allocations: 122.6 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.3, allocations: 3.875 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.3, allocations: 0.875 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.3, allocations: 4 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/1.301, allocations: 27.12 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.301, allocations: 0 / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/1.301, allocations: 7.812 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/1.301, allocations: 7.016 kB / 1.117 GB, free: 30.2 MB / 0.698 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.0001246/1.301, allocations: 120.2 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/1.301, allocations: 15.36 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/1.301, allocations: 7.906 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.301, allocations: 4 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.301, allocations: 3.188 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.301, allocations: 0 / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/1.301, allocations: 176.7 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.301, allocations: 0 / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/1.301, allocations: 29 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.301, allocations: 3.953 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.301, allocations: 2.625 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.301, allocations: 0 / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.301, allocations: 3.812 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/1.302, allocations: 145.3 kB / 1.118 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/1.302, allocations: 92.78 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/1.302, allocations: 3.953 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/1.302, allocations: 10.84 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/1.302, allocations: 8.672 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/1.302, allocations: 6.641 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.657e-05/1.302, allocations: 77.97 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.302, allocations: 0 / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002531/1.302, allocations: 35.09 kB / 1.118 GB, free: 29.61 MB / 0.698 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.0007209/1.303, allocations: 0.6919 MB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002932/1.303, allocations: 81.41 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.303, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/1.303, allocations: 51.31 kB / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/1.303, allocations: 8.344 kB / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/1.304, allocations: 209.8 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.304, allocations: 0.6931 MB / 1.12 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001253/1.304, allocations: 35.5 kB / 1.12 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/1.304, allocations: 24.94 kB / 1.12 GB, free: 28.13 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.304, allocations: 0 / 1.12 GB, free: 28.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/1.318, allocations: 1.725 MB / 1.122 GB, free: 27.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.318, allocations: 204.5 kB / 1.122 GB, free: 27.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.875, allocations: 3.938 kB / 1.122 GB, free: 27.68 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)