Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.699/1.699, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001119/0.001119, allocations: 185 kB / 377.1 MB, free: 1.543 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.856/1.856, allocations: 205.4 MB / 0.6366 GB, free: 8.574 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.0008649/0.0008645, allocations: 90.44 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8797/1.193, allocations: 138.6 MB / 1.124 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.193, allocations: 78.5 kB / 1.124 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003873/1.197, allocations: 1.216 MB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.256e-06/1.197, allocations: 0 / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.197, allocations: 0 / 1.125 GB, free: 34.95 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005337/1.198, allocations: 366.4 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/1.198, allocations: 12.58 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.365e-05/1.198, allocations: 43.31 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/1.198, allocations: 11.75 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.198, allocations: 167 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/1.198, allocations: 281 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/1.198, allocations: 7.438 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/1.199, allocations: 77.47 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.199, allocations: 0 / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.199, allocations: 5.078 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.199, allocations: 7.406 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/1.199, allocations: 127.6 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/1.199, allocations: 183.9 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/1.2, allocations: 98.45 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/1.2, allocations: 7.984 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.2, allocations: 31.16 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/1.2, allocations: 3.188 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0005575/1.2, allocations: 145.4 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.2, allocations: 59.67 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/1.2, allocations: 89.94 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/1.2, allocations: 29.64 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/1.2, allocations: 80.33 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/1.2, allocations: 31.08 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/1.2, allocations: 8 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/1.201, allocations: 318.3 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/1.201, allocations: 26.89 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.201, allocations: 34.8 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/1.201, allocations: 35.52 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.201, allocations: 0 / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003148/1.201, allocations: 113.1 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.201, allocations: 8 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.201, allocations: 4 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.201, allocations: 4.406 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/1.202, allocations: 27.5 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.202, allocations: 4 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/1.202, allocations: 8.812 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/1.202, allocations: 0 / 1.127 GB, free: 32.48 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.529e-05/1.202, allocations: 117.3 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/1.202, allocations: 11.86 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/1.202, allocations: 11.97 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.202, allocations: 4 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.202, allocations: 0.5 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.202, allocations: 4 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.202, allocations: 175.7 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.202, allocations: 1.406 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.202, allocations: 30.64 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.202, allocations: 4.562 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/1.202, allocations: 0 / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.202, allocations: 0.5 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.202, allocations: 0 / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/1.203, allocations: 150.5 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/1.203, allocations: 84.95 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/1.203, allocations: 4.891 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/1.203, allocations: 9.031 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/1.203, allocations: 11.55 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.203, allocations: 7.422 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.824e-05/1.203, allocations: 77.97 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/1.203, allocations: 4 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002483/1.203, allocations: 28 kB / 1.128 GB, free: 31.72 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006872/1.204, allocations: 0.6995 MB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003116/1.204, allocations: 86.27 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.204, allocations: 4 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/1.204, allocations: 46.88 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/1.204, allocations: 5.703 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/1.205, allocations: 211.1 kB / 1.129 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/1.205, allocations: 0.6916 MB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001429/1.205, allocations: 38.97 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/1.205, allocations: 27.45 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/1.205, allocations: 4 kB / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/1.22, allocations: 1.717 MB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.22, allocations: 184.9 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.862, allocations: 3.938 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)