Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0008984/0.0008983, allocations: 175.6 kB / 372.3 MB, free: 10.16 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.736/1.736, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0007861/0.0007863, allocations: 100.7 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 13.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007002/0.2169, allocations: 315.8 kB / 0.9805 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.2173, allocations: 99.7 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.2173, allocations: 4 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.2174, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-06/0.2174, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.2177, allocations: 31.89 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2179, allocations: 51.94 kB / 0.9807 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.2179, allocations: 12 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.218, allocations: 19.98 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.218, allocations: 23.95 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.218, allocations: 4 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.2182, allocations: 47.95 kB / 0.9808 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.2182, allocations: 19.97 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.2183, allocations: 45.62 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.2184, allocations: 39.92 kB / 0.9809 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.2184, allocations: 0 / 0.9809 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2184, allocations: 0 / 0.9809 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.2184, allocations: 4 kB / 0.9809 GB, free: 26.56 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.000451/0.2189, allocations: 367.6 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2189, allocations: 12.03 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.219, allocations: 42.75 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.219, allocations: 4.938 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.211e-05/0.2191, allocations: 164.4 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.2194, allocations: 281.6 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2194, allocations: 384 / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.2196, allocations: 81.94 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2196, allocations: 4 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2197, allocations: 7.938 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2197, allocations: 4 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.22, allocations: 135.8 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.2201, allocations: 169.7 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.2204, allocations: 98.56 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2206, allocations: 44.83 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2206, allocations: 7.984 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2206, allocations: 34.5 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.2206, allocations: 0 / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004968/0.2211, allocations: 153.5 kB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.2212, allocations: 51.41 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.028e-05/0.2212, allocations: 89.86 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2212, allocations: 25.7 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.2212, allocations: 84.36 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.2213, allocations: 39.45 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2213, allocations: 7.938 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.2213, allocations: 310.8 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2215, allocations: 31.97 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2216, allocations: 31.97 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2219, allocations: 81.34 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2219, allocations: 0 / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002946/0.2222, allocations: 113.6 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2222, allocations: 11.94 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2222, allocations: 0 / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2222, allocations: 4 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2224, allocations: 19.98 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.2224, allocations: 3.984 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.2225, allocations: 7.938 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.2225, allocations: 12 kB / 0.9833 GB, free: 23.78 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 6.786e-05/0.2225, allocations: 123.5 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.2226, allocations: 15.84 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.2226, allocations: 11.97 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2226, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2226, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2226, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.2227, allocations: 177.6 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2227, allocations: 0 / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2229, allocations: 23.97 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2229, allocations: 3.938 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2229, allocations: 11.94 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2229, allocations: 0 / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2229, allocations: 4 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.2232, allocations: 144.8 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.2233, allocations: 88.98 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2233, allocations: 4 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.2234, allocations: 7.984 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2234, allocations: 11.98 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2234, allocations: 7.984 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.257e-05/0.2235, allocations: 79.28 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2235, allocations: 0 / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002092/0.2237, allocations: 24 kB / 0.984 GB, free: 22.96 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.000557/0.2242, allocations: 0.6942 MB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.2246, allocations: 83.92 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2246, allocations: 4 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.2247, allocations: 47.91 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2249, allocations: 4 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.2253, allocations: 205.1 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.2255, allocations: 0.6926 MB / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.2256, allocations: 35.97 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.2257, allocations: 23.42 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2257, allocations: 0 / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.238, allocations: 1.768 MB / 0.9875 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.2381, allocations: 200.4 kB / 0.9877 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.965, allocations: 4.781 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)