Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.66/2.66, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001538/0.001537, allocations: 187.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 103.9 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005201/0.0005201, allocations: 17.64 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007475/0.2427, allocations: 325.8 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003626/0.2431, allocations: 97.5 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.2431, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.2432, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.2432, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2435, allocations: 35.83 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2436, allocations: 39.95 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.2437, allocations: 7.984 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.2437, allocations: 19.98 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.2438, allocations: 23.95 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2438, allocations: 4 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2439, allocations: 39.97 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.244, allocations: 23.95 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.244, allocations: 37.64 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2441, allocations: 39.94 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2442, allocations: 4 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2442, allocations: 0 / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2442, allocations: 0 / 0.979 GB, free: 27.59 MB / 0.6198 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.0005092/0.2447, allocations: 355.5 kB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2448, allocations: 15.95 kB / 0.9793 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.2448, allocations: 54.48 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.2449, allocations: 4 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.365e-05/0.2449, allocations: 167 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.2452, allocations: 277 kB / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.2453, allocations: 4 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.2456, allocations: 81.56 kB / 0.9799 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2456, allocations: 0 / 0.9799 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2457, allocations: 4 kB / 0.9799 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2457, allocations: 0 / 0.9799 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/0.2463, allocations: 135.8 kB / 0.98 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.2465, allocations: 177.6 kB / 0.9802 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.247, allocations: 98.5 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.247, allocations: 0 / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2471, allocations: 34.83 kB / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/0.2471, allocations: 0 / 0.9803 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008528/0.2479, allocations: 153.5 kB / 0.9804 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.248, allocations: 55.41 kB / 0.9805 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.516e-05/0.248, allocations: 89.86 kB / 0.9806 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.248, allocations: 25.7 kB / 0.9806 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.605e-05/0.2481, allocations: 80.33 kB / 0.9807 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.2481, allocations: 43.44 kB / 0.9807 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.2481, allocations: 4 kB / 0.9807 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.2482, allocations: 310.8 kB / 0.981 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.2485, allocations: 35.97 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2487, allocations: 39.84 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.249, allocations: 39.92 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.249, allocations: 0 / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005492/0.2495, allocations: 110.3 kB / 0.9812 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2496, allocations: 4 kB / 0.9812 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2496, allocations: 0 / 0.9812 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2496, allocations: 4 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2499, allocations: 23.98 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2499, allocations: 3.984 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2501, allocations: 15.92 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2501, allocations: 4 kB / 0.9813 GB, free: 24.9 MB / 0.6198 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 8.754e-05/0.2502, allocations: 129.7 kB / 0.9814 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2502, allocations: 3.906 kB / 0.9814 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.2503, allocations: 11.97 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2503, allocations: 4 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2503, allocations: 3.938 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2503, allocations: 0 / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2505, allocations: 173.7 kB / 0.9816 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2505, allocations: 7.953 kB / 0.9816 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2507, allocations: 23.97 kB / 0.9816 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.239e-06/0.2507, allocations: 0 / 0.9816 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.2508, allocations: 8 kB / 0.9816 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2508, allocations: 0 / 0.9816 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2508, allocations: 0 / 0.9816 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.2514, allocations: 145 kB / 0.9818 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.2514, allocations: 88.94 kB / 0.9819 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.2514, allocations: 12 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2516, allocations: 3.984 kB / 0.9819 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.2516, allocations: 11.98 kB / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2517, allocations: 7.984 kB / 0.9819 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.2517, allocations: 79.28 kB / 0.982 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2517, allocations: 0 / 0.982 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003025/0.252, allocations: 16 kB / 0.982 GB, free: 24.09 MB / 0.6198 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.000855/0.2529, allocations: 0.7059 MB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.2534, allocations: 79.94 kB / 0.9828 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2535, allocations: 0 / 0.9828 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.2537, allocations: 51.89 kB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.2539, allocations: 4 kB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.2546, allocations: 212.3 kB / 0.983 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.2547, allocations: 0.6887 MB / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.255, allocations: 35.95 kB / 0.9837 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.2551, allocations: 23.42 kB / 0.9837 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.2551, allocations: 0 / 0.9837 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.2794, allocations: 1.748 MB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.2797, allocations: 182.2 kB / 0.9856 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/2.745, allocations: 0 / 0.9856 GB, free: 20.35 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)