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 1.5/1.5, allocations: 287.4 MB / 302.5 MB, free: 8.348 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.001102/0.001102, allocations: 173.6 kB / 371.1 MB, free: 10.82 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.46/1.46, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008419/0.0008419, allocations: 93.28 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003999, allocations: 12.56 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007028/0.2251, allocations: 323.5 kB / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.2255, allocations: 107.7 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.2255, allocations: 0 / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.2256, allocations: 0 / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.2256, allocations: 0 / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.2259, allocations: 35.89 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.226, allocations: 51.94 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.2261, allocations: 0 / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.2262, allocations: 23.97 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2262, allocations: 27.97 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2262, allocations: 0 / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2264, allocations: 47.95 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.2264, allocations: 19.97 kB / 0.9793 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.2264, allocations: 33.64 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2266, allocations: 35.94 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2266, allocations: 4 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2266, allocations: 4 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2266, allocations: 0 / 0.9794 GB, free: 27.39 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.0003901/0.227, allocations: 359.7 kB / 0.9798 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.227, allocations: 15.95 kB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.2271, allocations: 38.75 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.2271, allocations: 4.938 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.092e-05/0.2272, allocations: 160.4 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.2274, allocations: 285.6 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2274, allocations: 12.38 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2277, allocations: 77.89 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2277, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2277, allocations: 4 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2277, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.228, allocations: 135.8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.2282, allocations: 173.7 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.2285, allocations: 90.47 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2286, allocations: 53.16 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.2286, allocations: 3.984 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2287, allocations: 42.38 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.2287, allocations: 0 / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000495/0.2292, allocations: 145.5 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.2292, allocations: 51.41 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.187e-05/0.2292, allocations: 93.86 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2293, allocations: 29.7 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.185e-05/0.2293, allocations: 80.14 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.2293, allocations: 39.45 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.2293, allocations: 4 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.2294, allocations: 314.8 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2295, allocations: 31.92 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2296, allocations: 31.97 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.2299, allocations: 85.34 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2299, allocations: 4 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003068/0.2302, allocations: 105.6 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2303, allocations: 11.88 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2303, allocations: 4 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.2303, allocations: 0 / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2305, allocations: 23.97 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2305, allocations: 7.922 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.2305, allocations: 7.938 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2306, allocations: 7.984 kB / 0.9818 GB, free: 24.62 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 7.308e-05/0.2306, allocations: 121.8 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.2307, allocations: 11.84 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.2307, allocations: 11.97 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2307, allocations: 0 / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2307, allocations: 0 / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2307, allocations: 3.984 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.2308, allocations: 177.7 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2308, allocations: 3.984 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2309, allocations: 19.98 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.231, allocations: 7.938 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.231, allocations: 7.984 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.231, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.231, allocations: 3.938 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.2313, allocations: 140.9 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.2313, allocations: 92.97 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2313, allocations: 0 / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.2314, allocations: 8 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.2315, allocations: 19.91 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.2315, allocations: 4 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.2315, allocations: 75.28 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2315, allocations: 0 / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002076/0.2317, allocations: 20 kB / 0.9825 GB, free: 23.81 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.0005702/0.2323, allocations: 0.7137 MB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.2326, allocations: 75.94 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2326, allocations: 0 / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2328, allocations: 51.91 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.2329, allocations: 2.5 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.2334, allocations: 213 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2335, allocations: 0.6874 MB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.2337, allocations: 39.95 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.2338, allocations: 19.42 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.2338, allocations: 0 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.2468, allocations: 1.751 MB / 0.986 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.247, allocations: 186 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.845, allocations: 3.938 kB / 0.9862 GB, free: 20.07 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)