Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 175.4 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000825/0.000825, allocations: 99.48 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 10 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2832, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/0.5239, allocations: 132.4 MB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.5242, allocations: 75.95 kB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004136/0.5284, allocations: 1.32 MB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/0.5284, allocations: 0 / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5284, allocations: 0 / 1.031 GB, free: 9.953 MB / 0.6823 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.0004605/0.5289, allocations: 371.2 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.529, allocations: 8.031 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.529, allocations: 34.56 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.5291, allocations: 11.84 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.5292, allocations: 171 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5292, allocations: 4 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.5292, allocations: 0 / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.5295, allocations: 69.67 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5295, allocations: 3.938 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.5295, allocations: 0 / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5295, allocations: 0 / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.5297, allocations: 67.94 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.5302, allocations: 280.7 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.5305, allocations: 62.7 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000407/0.5309, allocations: 413.5 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.531, allocations: 30.56 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.531, allocations: 0 / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004233/0.5314, allocations: 117.6 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5315, allocations: 55.36 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.5316, allocations: 97 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5316, allocations: 25.7 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.5317, allocations: 99.97 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.5317, allocations: 8 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5317, allocations: 4 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5318, allocations: 315.5 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.5319, allocations: 23.97 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.532, allocations: 23.98 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.301e-05/0.5321, allocations: 27.98 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5321, allocations: 0 / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002449/0.5324, allocations: 97.48 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5324, allocations: 4 kB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5324, allocations: 4 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5324, allocations: 0 / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.5325, allocations: 15.98 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5326, allocations: 0 / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.5326, allocations: 7.953 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5327, allocations: 7.984 kB / 1.033 GB, free: 7.23 MB / 0.6823 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 8.896e-05/0.5327, allocations: 109.8 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5328, allocations: 4 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.5331, allocations: 101.7 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5331, allocations: 4.031 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5331, allocations: 0 / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5331, allocations: 4 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.5334, allocations: 169.6 kB / 1.033 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5334, allocations: 0 / 1.033 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.5335, allocations: 11.98 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5335, allocations: 4 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.5335, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5335, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5335, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.5338, allocations: 191.3 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.5339, allocations: 81.11 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.5339, allocations: 0 / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.534, allocations: 15.98 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.534, allocations: 11.92 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.5341, allocations: 4 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.5341, allocations: 83.28 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.5341, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002561/0.5344, allocations: 27.89 kB / 1.034 GB, free: 6.32 MB / 0.6823 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.0006978/0.5351, allocations: 0.7381 MB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.5353, allocations: 63.89 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5354, allocations: 0 / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.5355, allocations: 31.97 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.5357, allocations: 4 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.5367, allocations: 466.3 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.537, allocations: 0.6848 MB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.537, allocations: 12.06 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.5371, allocations: 11.44 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.5371, allocations: 0 / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.5499, allocations: 1.589 MB / 1.037 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.5501, allocations: 175.5 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.147, allocations: 1.406 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)