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.879/2.879, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001335/0.001335, allocations: 184.5 kB / 371 MB, free: 10.84 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.184/2.184, allocations: 205.4 MB / 0.6297 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.0009635/0.0009632, allocations: 91.16 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006601/0.0006604, allocations: 14.16 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.226, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007152/0.2267, allocations: 319.6 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.2271, allocations: 103.7 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.2272, allocations: 0 / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.2272, allocations: 0 / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.2272, allocations: 4 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.2275, allocations: 19.98 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2277, allocations: 55.92 kB / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.2277, allocations: 7.984 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.2278, allocations: 27.92 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.2278, allocations: 23.95 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.2279, allocations: 4 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.228, allocations: 43.97 kB / 0.979 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.2281, allocations: 19.97 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.2281, allocations: 33.69 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.2282, allocations: 39.94 kB / 0.9791 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2282, allocations: 4 kB / 0.9791 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2282, allocations: 0 / 0.9791 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2283, allocations: 3.938 kB / 0.9791 GB, free: 27.53 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.0005269/0.2288, allocations: 367.4 kB / 0.9795 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2289, allocations: 16.02 kB / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.2289, allocations: 38.55 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.229, allocations: 8 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.229, allocations: 163 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.2293, allocations: 277 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.2294, allocations: 8 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2297, allocations: 81.62 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2298, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2298, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2298, allocations: 4 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.2304, allocations: 135.8 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.2306, allocations: 177.6 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.2311, allocations: 98.52 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.2313, allocations: 41.16 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2314, allocations: 11.94 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2314, allocations: 30.56 kB / 0.9805 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.2314, allocations: 0 / 0.9805 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008301/0.2322, allocations: 145.5 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2323, allocations: 55.41 kB / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.618e-05/0.2323, allocations: 93.86 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2324, allocations: 29.7 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.2324, allocations: 80.33 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.2324, allocations: 39.44 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.2325, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.2325, allocations: 322.8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.2328, allocations: 31.91 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.233, allocations: 35.97 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2333, allocations: 28.64 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2333, allocations: 4 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005472/0.2338, allocations: 121.5 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2339, allocations: 4 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2339, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2339, allocations: 3.938 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2342, allocations: 23.98 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2342, allocations: 0 / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2343, allocations: 15.92 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2344, allocations: 0 / 0.9815 GB, free: 24.8 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 9.072e-05/0.2345, allocations: 133.7 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.2345, allocations: 7.891 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.2346, allocations: 11.95 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2346, allocations: 4 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2346, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2346, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2348, allocations: 177.6 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2348, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.235, allocations: 27.97 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.235, allocations: 0 / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.235, allocations: 4 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2351, allocations: 4 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2351, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.2356, allocations: 148.8 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.2357, allocations: 85 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2357, allocations: 0 / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2358, allocations: 8 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.2359, allocations: 15.97 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2359, allocations: 4 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.75e-05/0.236, allocations: 75.28 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.236, allocations: 0 / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000311/0.2363, allocations: 27.98 kB / 0.9822 GB, free: 23.98 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.0008571/0.2372, allocations: 0.702 MB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.2378, allocations: 83.94 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2378, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.238, allocations: 47.89 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.2382, allocations: 8 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.2389, allocations: 208.3 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.2391, allocations: 0.6809 MB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.2393, allocations: 39.95 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.2394, allocations: 20.19 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.2394, allocations: 0 / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.2591, allocations: 1.767 MB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/0.2594, allocations: 192.8 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/2.766, allocations: 0 / 0.9859 GB, free: 20.23 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)