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.001629/0.001629, allocations: 101.4 kB / 15.7 MB, free: 24 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.002418/0.002418, allocations: 192.2 kB / 16.64 MB, free: 6.445 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.673/1.673, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001514/0.001514, allocations: 67.66 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2025, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001951/0.2045, allocations: 0.5859 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004256/0.2049, allocations: 111.6 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.205, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.2051, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.2051, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.2055, allocations: 43.89 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2056, allocations: 59.94 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.2057, allocations: 4 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.2058, allocations: 23.97 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.2058, allocations: 23.97 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2058, allocations: 4 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.206, allocations: 51.94 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.206, allocations: 23.91 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.2061, allocations: 15.92 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.2062, allocations: 71.83 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2063, allocations: 4 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2063, allocations: 0 / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2063, allocations: 0 / 0.7846 GB, free: 12.18 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.0005275/0.2068, allocations: 379.7 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2069, allocations: 12.03 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.2069, allocations: 42.75 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.207, allocations: 8.938 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2071, allocations: 168.3 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.2073, allocations: 277.6 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2074, allocations: 12.31 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2076, allocations: 89.88 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2076, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2077, allocations: 3.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2077, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.208, allocations: 131.8 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.2082, allocations: 169.7 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.2085, allocations: 98.45 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.2087, allocations: 48.83 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2087, allocations: 0 / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2087, allocations: 38.5 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2087, allocations: 4 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005255/0.2093, allocations: 149.7 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2093, allocations: 51.41 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.2094, allocations: 93.86 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2094, allocations: 33.7 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.2094, allocations: 80.14 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.2095, allocations: 39.44 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.2096, allocations: 25.7 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2097, allocations: 314.8 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2098, allocations: 31.97 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2099, allocations: 39.91 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.2102, allocations: 68.81 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2102, allocations: 4 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003238/0.2105, allocations: 114.2 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2106, allocations: 7.938 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2106, allocations: 0 / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2106, allocations: 4 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2108, allocations: 23.97 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2108, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.2109, allocations: 15.88 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2109, allocations: 7.984 kB / 0.7871 GB, free: 9.348 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 0.0001006/0.211, allocations: 121.8 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.211, allocations: 11.84 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.2111, allocations: 7.969 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2111, allocations: 3.938 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2111, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2111, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2113, allocations: 177.7 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2113, allocations: 0 / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2114, allocations: 23.97 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2114, allocations: 7.938 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2114, allocations: 7.938 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2114, allocations: 4 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2114, allocations: 3.984 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.2118, allocations: 145 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.2119, allocations: 92.92 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2119, allocations: 0 / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.2119, allocations: 11.98 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.212, allocations: 11.98 kB / 0.7877 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2121, allocations: 4 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.2121, allocations: 75.28 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2121, allocations: 0 / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003415/0.2125, allocations: 23.98 kB / 0.7878 GB, free: 8.527 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.0007186/0.2132, allocations: 0.7021 MB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.2135, allocations: 87.88 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2135, allocations: 0 / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2137, allocations: 55.89 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2138, allocations: 0 / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.2144, allocations: 202.5 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2146, allocations: 0.6885 MB / 0.7895 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.2148, allocations: 43.73 kB / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.2148, allocations: 19.42 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2148, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.2329, allocations: 2.013 MB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.779, allocations: 7.109 kB / 0.7915 GB, free: 4.707 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)