Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 175.7 kB / 316.3 MB, free: 3.219 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.836/1.836, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008882/0.0008881, allocations: 85.47 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.275e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7375/0.9554, allocations: 132.6 MB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.9557, allocations: 74.89 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004035/0.9597, allocations: 1.322 MB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9598, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9598, allocations: 0.75 kB / 1.016 GB, free: 3.668 MB / 0.6355 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.0004045/0.9602, allocations: 364 kB / 1.016 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9602, allocations: 8.031 kB / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.9603, allocations: 7.906 kB / 1.016 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.9604, allocations: 171 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.9604, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.9605, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.02e-05/0.9605, allocations: 22.55 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.9607, allocations: 60.19 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.9607, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.9607, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.9607, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.9611, allocations: 245 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.9613, allocations: 44.94 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.9613, allocations: 20.05 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.9617, allocations: 408.8 kB / 1.017 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.9618, allocations: 30.56 kB / 1.017 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.507e-06/0.9618, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003104/0.9621, allocations: 70.83 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.9621, allocations: 51.41 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.9622, allocations: 96 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.9622, allocations: 29.7 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.9623, allocations: 83.45 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.9623, allocations: 7.891 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9623, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.9624, allocations: 324.6 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.9625, allocations: 4 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.9625, allocations: 7.25 kB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.9626, allocations: 26.17 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9626, allocations: 4 kB / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001945/0.9628, allocations: 65.14 kB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9629, allocations: 11.98 kB / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9629, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.9629, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.963, allocations: 11.98 kB / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.963, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.9631, allocations: 8 kB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.9631, allocations: 4 kB / 1.018 GB, free: 1.316 MB / 0.6355 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 () * 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 7.525e-05/0.9632, allocations: 108.9 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002066/0.9634, allocations: 64.48 kB / 1.018 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.9634, allocations: 3.984 kB / 1.018 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.9636, allocations: 75.92 kB / 1.018 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9637, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.9637, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.9637, allocations: 3.953 kB / 1.018 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.9638, allocations: 148.8 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9638, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.9639, allocations: 11.98 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9639, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.9639, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.964, allocations: 3.938 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.964, allocations: 3.984 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.9642, allocations: 158.1 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.9643, allocations: 85.05 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.9643, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.9644, allocations: 11.67 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.9644, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.9644, allocations: 3.984 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.9645, allocations: 82.72 kB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9645, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002524/0.9647, allocations: 23.94 kB / 1.019 GB, free: 480 kB / 0.6355 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 () * 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.0005748/0.9653, allocations: 0.7218 MB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.9654, allocations: 23.05 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9654, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.9655, allocations: 11.12 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.9656, allocations: 8 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.966, allocations: 112.3 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.9662, allocations: 0.6807 MB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.9663, allocations: 11.92 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.9663, allocations: 14.88 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9663, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.9852, allocations: 1.233 MB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.9854, allocations: 135.4 kB / 1.022 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/2.386, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)