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.807/1.807, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001449/0.00145, allocations: 181 kB / 377.1 MB, free: 1.504 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.807/1.807, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0009012/0.0009012, allocations: 90.16 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9704/1.278, allocations: 139.6 MB / 1.125 GB, free: 35.08 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.278, allocations: 73.41 kB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004593/1.283, allocations: 1.333 MB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.747e-06/1.283, allocations: 0 / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.283, allocations: 1.469 kB / 1.126 GB, free: 34.02 MB / 0.7292 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.0005985/1.284, allocations: 366.1 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.265e-05/1.284, allocations: 12.02 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/1.284, allocations: 38.56 kB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/1.284, allocations: 6.75 kB / 1.127 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/1.284, allocations: 166.5 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/1.284, allocations: 0.5156 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/1.284, allocations: 11.44 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/1.284, allocations: 72.97 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.285, allocations: 0 / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.285, allocations: 0.7031 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.285, allocations: 4 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/1.285, allocations: 54.41 kB / 1.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/1.285, allocations: 280.9 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/1.286, allocations: 69.48 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/1.286, allocations: 400.8 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.286, allocations: 31.31 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/1.286, allocations: 8 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005048/1.287, allocations: 115.2 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.287, allocations: 59.34 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/1.287, allocations: 104.4 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/1.287, allocations: 25.7 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/1.287, allocations: 84.14 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/1.287, allocations: 11.84 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/1.287, allocations: 0 / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.287, allocations: 322.5 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/1.287, allocations: 30.25 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/1.287, allocations: 22.94 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/1.288, allocations: 27.08 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.288, allocations: 0 / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002329/1.288, allocations: 83.97 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.288, allocations: 4 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.288, allocations: 7.359 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.288, allocations: 0.5625 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/1.288, allocations: 15.42 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.288, allocations: 0 / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/1.288, allocations: 12.5 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/1.288, allocations: 3.469 kB / 1.128 GB, free: 31.46 MB / 0.7292 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 7.944e-05/1.288, allocations: 117.8 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/1.288, allocations: 5.406 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/1.289, allocations: 95.45 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.289, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.289, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.289, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/1.289, allocations: 177.3 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.289, allocations: 0.6562 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/1.289, allocations: 20.02 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.289, allocations: 4 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.289, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.289, allocations: 3.984 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.289, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/1.289, allocations: 190.7 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/1.289, allocations: 81.86 kB / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/1.289, allocations: 1.312 kB / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/1.289, allocations: 11.56 kB / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/1.289, allocations: 7.469 kB / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.289, allocations: 0 / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.097e-05/1.29, allocations: 84.14 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/1.29, allocations: 0 / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002692/1.29, allocations: 31.52 kB / 1.129 GB, free: 30.61 MB / 0.7292 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.0008229/1.291, allocations: 0.7424 MB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002692/1.291, allocations: 51.2 kB / 1.13 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.291, allocations: 0 / 1.13 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/1.291, allocations: 38.92 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/1.291, allocations: 6.031 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/1.292, allocations: 473 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/1.293, allocations: 0.6814 MB / 1.131 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.319e-05/1.293, allocations: 7.469 kB / 1.131 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/1.293, allocations: 15.44 kB / 1.131 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/1.293, allocations: 0 / 1.131 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/1.309, allocations: 1.559 MB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.31, allocations: 165 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.965, allocations: 0 / 1.133 GB, free: 27.55 MB / 0.7292 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)