Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.797/1.797, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001475/0.001475, allocations: 185 kB / 371.8 MB, free: 10.28 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.958/1.958, allocations: 205.4 MB / 0.6305 GB, free: 9.918 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.001045/0.001045, allocations: 92.41 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004973, allocations: 13.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3006, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/1.261, allocations: 138.6 MB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.261, allocations: 66.83 kB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004719/1.266, allocations: 1.338 MB / 1.116 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.365e-06/1.266, allocations: 0 / 1.116 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.266, allocations: 1.344 kB / 1.116 GB, free: 32.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004629/1.266, allocations: 362.3 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.266, allocations: 15.55 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/1.266, allocations: 39.38 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/1.266, allocations: 3.969 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/1.267, allocations: 167 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/1.267, allocations: 0 / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/1.267, allocations: 3.875 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/1.267, allocations: 73.55 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.267, allocations: 3.125 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/1.267, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.267, allocations: 4 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/1.267, allocations: 54.2 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/1.268, allocations: 283.7 kB / 1.117 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/1.268, allocations: 64.31 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/1.268, allocations: 411.1 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/1.268, allocations: 38.5 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.268, allocations: 0 / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003864/1.269, allocations: 108.1 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.269, allocations: 62.3 kB / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/1.269, allocations: 107.4 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/1.269, allocations: 25.7 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/1.269, allocations: 84.08 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/1.269, allocations: 11.75 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/1.269, allocations: 0 / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.269, allocations: 324.1 kB / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/1.269, allocations: 28.48 kB / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/1.269, allocations: 20.95 kB / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.003e-05/1.269, allocations: 28.06 kB / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.269, allocations: 0 / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/1.269, allocations: 87.64 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.269, allocations: 3.969 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.269, allocations: 2.391 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.269, allocations: 0 / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/1.27, allocations: 14 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.27, allocations: 4 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/1.27, allocations: 15.17 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/1.27, allocations: 0 / 1.119 GB, free: 29.92 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: 2 (bin.y,bin.k) * 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 8.435e-05/1.27, allocations: 113.7 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/1.27, allocations: 4.234 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/1.27, allocations: 108.8 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.27, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.27, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.27, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/1.27, allocations: 177.9 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.27, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/1.27, allocations: 18.62 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.27, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.27, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.27, allocations: 6.516 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.27, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/1.271, allocations: 185.7 kB / 1.119 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/1.271, allocations: 84.02 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/1.271, allocations: 0 / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/1.271, allocations: 14.69 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/1.271, allocations: 6.781 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/1.271, allocations: 3.938 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.717e-05/1.271, allocations: 86.91 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.271, allocations: 4 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000255/1.271, allocations: 22.72 kB / 1.119 GB, free: 29.23 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: 2 (bin.y,bin.k) * 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.0006565/1.272, allocations: 0.7372 MB / 1.12 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00024/1.272, allocations: 59.09 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.272, allocations: 0 / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/1.272, allocations: 33.19 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/1.273, allocations: 1.781 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/1.273, allocations: 465.7 kB / 1.121 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/1.274, allocations: 0.6824 MB / 1.121 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.471e-05/1.274, allocations: 9.391 kB / 1.121 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/1.274, allocations: 12.44 kB / 1.121 GB, free: 27.51 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.274, allocations: 0 / 1.121 GB, free: 27.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/1.286, allocations: 1.593 MB / 1.123 GB, free: 27.31 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.286, allocations: 177.6 kB / 1.123 GB, free: 27.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.833, allocations: 0 / 1.123 GB, free: 27.08 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)