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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008922, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00578/0.00578, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005216, allocations: 14.84 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1909, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001637/0.1926, allocations: 1.255 MB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004633/0.1931, allocations: 177.4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1931, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.1931, allocations: 3.938 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.1932, allocations: 3.984 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1935, allocations: 39.91 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.1936, allocations: 43.84 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1937, allocations: 15.98 kB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.1937, allocations: 4 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.1938, allocations: 15.92 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1938, allocations: 7.938 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1939, allocations: 39.95 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.194, allocations: 11.92 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.194, allocations: 37.64 kB / 0.7896 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1942, allocations: 59.84 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1942, allocations: 4 kB / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1942, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1942, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.6075 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.0006197/0.1949, allocations: 359.6 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1949, allocations: 8.031 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.195, allocations: 34.75 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.195, allocations: 0.9375 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1952, allocations: 176.3 kB / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1952, allocations: 384 / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1952, allocations: 4.375 kB / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1955, allocations: 74.14 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1955, allocations: 3.938 kB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1955, allocations: 4 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1955, allocations: 0 / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.1958, allocations: 55.95 kB / 0.7903 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.1964, allocations: 284.7 kB / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.1968, allocations: 66.48 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1969, allocations: 32.89 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.1972, allocations: 166.2 kB / 0.7909 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1973, allocations: 34.56 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1973, allocations: 0 / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.1978, allocations: 117.6 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.1979, allocations: 55.41 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.198, allocations: 109.8 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1981, allocations: 25.7 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.1981, allocations: 84.14 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.1982, allocations: 7.906 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1982, allocations: 13.72 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1983, allocations: 318.8 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1985, allocations: 27.98 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.1986, allocations: 28.16 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1988, allocations: 56.91 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1988, allocations: 3.938 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002427/0.199, allocations: 97.48 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1991, allocations: 6.969 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1991, allocations: 4 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1991, allocations: 0 / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.1992, allocations: 19.92 kB / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1992, allocations: 0 / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.1993, allocations: 4 kB / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1993, allocations: 8 kB / 0.7919 GB, free: 7.23 MB / 0.6075 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,rea2Int.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1994, allocations: 117.8 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1994, allocations: 8 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.1998, allocations: 97.48 kB / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1998, allocations: 0 / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1998, allocations: 0 / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1998, allocations: 0 / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.2, allocations: 169.6 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2, allocations: 0 / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.2001, allocations: 15.98 kB / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2001, allocations: 0 / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.2001, allocations: 0 / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2001, allocations: 0 / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2001, allocations: 0 / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.2004, allocations: 195.3 kB / 0.7924 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.2005, allocations: 81.05 kB / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2005, allocations: 0 / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.2006, allocations: 11.98 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.2007, allocations: 11.98 kB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2007, allocations: 4 kB / 0.7925 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.2007, allocations: 87.28 kB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2008, allocations: 0 / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002645/0.201, allocations: 24 kB / 0.7926 GB, free: 6.316 MB / 0.6075 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 (rea2Int.y,bin.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006239/0.2017, allocations: 0.7357 MB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2019, allocations: 55.95 kB / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2019, allocations: 0 / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.202, allocations: 36.19 kB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2023, allocations: 11.94 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2037, allocations: 1.329 MB / 0.7948 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.2039, allocations: 0.677 MB / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.204, allocations: 4 kB / 0.7954 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.204, allocations: 19.42 kB / 0.7954 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.204, allocations: 0 / 0.7954 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.2384, allocations: 1.635 MB / 0.797 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.2386, allocations: 194.8 kB / 0.7972 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.976, allocations: 0 / 0.7972 GB, free: 1.535 MB / 0.6075 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/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)