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.633/1.633, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001011/0.001011, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.755/1.755, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0008715/0.0008719, allocations: 87.17 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.393e-05, allocations: 11.98 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7944, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/1.003, allocations: 137.9 MB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.003, allocations: 72.39 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004308/1.008, allocations: 1.323 MB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/1.008, allocations: 0 / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.008, allocations: 0.875 kB / 1.1 GB, free: 0.5391 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.0004794/1.008, allocations: 352.2 kB / 1.101 GB, free: 156 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 9.551e-05/1.008, allocations: 8.031 kB / 1.101 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/1.008, allocations: 9.594 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.008, allocations: 168.6 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/1.008, allocations: 0.5 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/1.008, allocations: 8.531 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.525e-05/1.009, allocations: 20 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/1.009, allocations: 48.39 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.009, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.009, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.009, allocations: 4 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/1.009, allocations: 259.5 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/1.009, allocations: 47.58 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/1.009, allocations: 12.92 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003993/1.01, allocations: 411.4 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.01, allocations: 30.56 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.01, allocations: 0.5938 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003525/1.01, allocations: 63.52 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/1.01, allocations: 52.78 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/1.01, allocations: 99.8 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/1.01, allocations: 28.14 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/1.011, allocations: 92.77 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/1.011, allocations: 3.906 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/1.011, allocations: 0.6562 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.011, allocations: 322 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/1.011, allocations: 8.656 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/1.011, allocations: 7.984 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/1.011, allocations: 20.55 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.011, allocations: 0.625 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001956/1.011, allocations: 61.67 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.011, allocations: 5.406 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.011, allocations: 0 / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.011, allocations: 4.5 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/1.011, allocations: 19.39 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.011, allocations: 0 / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/1.011, allocations: 11.98 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/1.011, allocations: 0 / 1.103 GB, free: 14.14 MB / 0.7136 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 8.104e-05/1.011, allocations: 108.9 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002042/1.012, allocations: 64.05 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/1.012, allocations: 9.125 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/1.012, allocations: 65.78 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.012, allocations: 4 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.012, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/1.012, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/1.012, allocations: 150.2 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.012, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/1.012, allocations: 23.3 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/1.012, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/1.012, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.012, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.012, allocations: 6 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/1.013, allocations: 161.7 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/1.013, allocations: 84.95 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/1.013, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/1.013, allocations: 11.98 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/1.013, allocations: 7.984 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.013, allocations: 4 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.689e-05/1.013, allocations: 79.28 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.013, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002353/1.013, allocations: 23.94 kB / 1.103 GB, free: 13.28 MB / 0.7136 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.0006814/1.014, allocations: 0.72 MB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.108e-05/1.014, allocations: 24 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.014, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/1.014, allocations: 15.94 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.014, allocations: 8.609 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/1.014, allocations: 107.9 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.015, allocations: 0.6846 MB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.425e-05/1.015, allocations: 4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/1.015, allocations: 14.28 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.015, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/1.037, allocations: 1.238 MB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/1.037, allocations: 139.8 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.597, allocations: 4.781 kB / 1.106 GB, free: 10.23 MB / 0.7136 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)