Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 187.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001645, allocations: 73.5 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2158, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001695/0.2176, allocations: 0.5937 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.2179, allocations: 107.6 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.218, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.218, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.218, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.2183, allocations: 43.88 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2184, allocations: 63.94 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.2185, allocations: 4 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.2185, allocations: 19.98 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.2186, allocations: 27.95 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2186, allocations: 4 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2187, allocations: 43.97 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.2188, allocations: 27.89 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.2188, allocations: 15.92 kB / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.2189, allocations: 79.81 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2189, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2189, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2189, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 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.0004383/0.2194, allocations: 378.1 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2194, allocations: 12.03 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.2195, allocations: 42.73 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.2195, allocations: 8.938 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.474e-05/0.2196, allocations: 168.3 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.2198, allocations: 281.5 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.2198, allocations: 8.359 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2201, allocations: 81.95 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2201, allocations: 0 / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2201, allocations: 0 / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2201, allocations: 8 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2204, allocations: 135.8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.2206, allocations: 169.7 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.2209, allocations: 94.47 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.221, allocations: 44.83 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.221, allocations: 4 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2211, allocations: 38.5 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2211, allocations: 336 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004803/0.2216, allocations: 157.3 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2216, allocations: 51.41 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.061e-05/0.2216, allocations: 89.86 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2217, allocations: 29.7 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.2217, allocations: 84.14 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.2217, allocations: 35.45 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2218, allocations: 29.7 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.2219, allocations: 318.8 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.222, allocations: 27.98 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.2221, allocations: 39.91 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2224, allocations: 72.81 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2224, allocations: 4 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002986/0.2227, allocations: 113.6 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2227, allocations: 7.938 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2227, allocations: 0 / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.2227, allocations: 4 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2229, allocations: 27.97 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2229, allocations: 3.938 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.2229, allocations: 7.938 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.223, allocations: 11.97 kB / 0.7871 GB, free: 9.41 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.223, allocations: 113.8 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.2231, allocations: 7.844 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.2231, allocations: 11.97 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2231, allocations: 8 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2231, allocations: 3.984 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2231, allocations: 7.922 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2233, allocations: 177.6 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2233, allocations: 3.938 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2234, allocations: 19.98 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2234, allocations: 3.938 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2234, allocations: 7.984 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2234, allocations: 0 / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2234, allocations: 0 / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.2237, allocations: 149.7 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2238, allocations: 88.98 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2238, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/0.2239, allocations: 8 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2239, allocations: 11.92 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2239, allocations: 7.984 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.224, allocations: 75.28 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.224, allocations: 4 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002146/0.2242, allocations: 20 kB / 0.7878 GB, free: 8.594 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000619/0.2248, allocations: 0.706 MB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.2251, allocations: 83.88 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2251, allocations: 4 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.2253, allocations: 51.91 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.2254, allocations: 4 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.2259, allocations: 202.5 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2261, allocations: 0.6846 MB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.2263, allocations: 43.73 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.2263, allocations: 19.42 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2263, allocations: 0 / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.243, allocations: 2.019 MB / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.168, allocations: 3.094 kB / 0.7915 GB, free: 4.766 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)