Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001121/0.001121, allocations: 183.3 kB / 371.6 MB, free: 3.418 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.785/1.785, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008529/0.0008529, allocations: 90.98 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.508e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2692, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.765/1.034, allocations: 139.5 MB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.035, allocations: 70.77 kB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003781/1.038, allocations: 1.327 MB / 1.118 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/1.038, allocations: 0 / 1.118 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.038, allocations: 0.7812 kB / 1.118 GB, free: 43.38 MB / 0.7448 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.0003739/1.039, allocations: 359.8 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.039, allocations: 8.719 kB / 1.118 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/1.039, allocations: 37.81 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/1.039, allocations: 6.094 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/1.039, allocations: 166.5 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.039, allocations: 4.203 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/1.039, allocations: 4 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/1.039, allocations: 55.52 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.039, allocations: 4.469 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.039, allocations: 0 / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.039, allocations: 0 / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/1.039, allocations: 23.09 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/1.04, allocations: 290.7 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.04, allocations: 44.72 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/1.04, allocations: 17.02 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/1.04, allocations: 408.4 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.04, allocations: 31.94 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.04, allocations: 4 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001591/1.04, allocations: 51.81 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/1.04, allocations: 55.34 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/1.041, allocations: 108.2 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/1.041, allocations: 26.45 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/1.041, allocations: 84.14 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/1.041, allocations: 7.156 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.041, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/1.041, allocations: 318.1 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/1.041, allocations: 11.62 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/1.041, allocations: 7.875 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/1.041, allocations: 8.281 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.041, allocations: 1.031 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.695e-05/1.041, allocations: 52.73 kB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.041, allocations: 7.516 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.041, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.041, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/1.041, allocations: 28.14 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.041, allocations: 0 / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/1.041, allocations: 12.2 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.041, allocations: 7.578 kB / 1.12 GB, free: 41.06 MB / 0.7448 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 4.822e-05/1.041, allocations: 101 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.041, allocations: 4 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/1.041, allocations: 58.05 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.041, allocations: 4.797 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.041, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.041, allocations: 4 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/1.041, allocations: 174.1 kB / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.041, allocations: 4 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/1.042, allocations: 15.27 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.042, allocations: 0.6875 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/1.042, allocations: 0 / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.042, allocations: 4 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.042, allocations: 0 / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.946e-05/1.042, allocations: 155.9 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/1.042, allocations: 77.11 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/1.042, allocations: 0.6875 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/1.042, allocations: 12.73 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/1.042, allocations: 7.359 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.042, allocations: 4 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.69e-05/1.042, allocations: 87.38 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.042, allocations: 0 / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002416/1.042, allocations: 26.94 kB / 1.12 GB, free: 40.3 MB / 0.7448 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.0003513/1.043, allocations: 0.7099 MB / 1.121 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.465e-05/1.043, allocations: 22.56 kB / 1.121 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.043, allocations: 8 kB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.923e-05/1.043, allocations: 14.5 kB / 1.121 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/1.043, allocations: 80 / 1.121 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/1.043, allocations: 114.4 kB / 1.121 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/1.043, allocations: 0.6875 MB / 1.122 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.362e-05/1.043, allocations: 8.75 kB / 1.122 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/1.043, allocations: 17.38 kB / 1.122 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.043, allocations: 0 / 1.122 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/1.056, allocations: 1.574 MB / 1.123 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.057, allocations: 141.5 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.563, allocations: 0 / 1.124 GB, free: 37.66 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)