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.683/1.683, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001132/0.001132, allocations: 177 kB / 371.8 MB, free: 10.29 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.434/1.434, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.0008524/0.0008524, allocations: 102.9 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 13.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1648, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.000543/0.1654, allocations: 314.1 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.1657, allocations: 97.5 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.1657, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.1658, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.1658, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.166, allocations: 27.84 kB / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.1661, allocations: 55.92 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.1661, allocations: 4 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.1662, allocations: 19.98 kB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.1662, allocations: 23.95 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1662, allocations: 4 kB / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.1663, allocations: 35.97 kB / 0.98 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1664, allocations: 23.95 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1664, allocations: 33.64 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.1665, allocations: 39.95 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1665, allocations: 0 / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1665, allocations: 0 / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1665, allocations: 4 kB / 0.9801 GB, free: 26.9 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.0003589/0.1669, allocations: 363.5 kB / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1669, allocations: 12.02 kB / 0.9805 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.167, allocations: 42.55 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.167, allocations: 4 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.822e-05/0.167, allocations: 171 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.1672, allocations: 273 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1672, allocations: 11.94 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1675, allocations: 81.62 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.1675, allocations: 0 / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1675, allocations: 4 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1675, allocations: 0 / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.1678, allocations: 127.8 kB / 0.9812 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.1679, allocations: 181.6 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1681, allocations: 106.4 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1682, allocations: 4 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.1682, allocations: 34.56 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1682, allocations: 0 / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004342/0.1686, allocations: 141.5 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.1687, allocations: 59.41 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.564e-05/0.1687, allocations: 89.86 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1687, allocations: 25.7 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-06/0.1687, allocations: 80.33 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.1688, allocations: 39.45 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.1688, allocations: 8 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.1688, allocations: 315 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1689, allocations: 35.86 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.169, allocations: 31.97 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1692, allocations: 35.97 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1692, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002686/0.1694, allocations: 118.2 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1695, allocations: 4 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1695, allocations: 4 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1695, allocations: 0 / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1696, allocations: 27.92 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1696, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.1697, allocations: 15.86 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1697, allocations: 4 kB / 0.9825 GB, free: 24.21 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 5.31e-05/0.1698, allocations: 118.5 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.1698, allocations: 7.859 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.1698, allocations: 15.97 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1698, allocations: 4 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1698, allocations: 0 / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1699, allocations: 0 / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.024e-05/0.1699, allocations: 173.6 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1699, allocations: 4 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1701, allocations: 23.97 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1701, allocations: 3.953 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1701, allocations: 0 / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1701, allocations: 4 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1701, allocations: 0 / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1704, allocations: 156.9 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.1704, allocations: 81.05 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1704, allocations: 11.95 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.1705, allocations: 7.984 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1705, allocations: 15.92 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1706, allocations: 3.984 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.067e-05/0.1706, allocations: 75.28 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1706, allocations: 8 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002277/0.1708, allocations: 20 kB / 0.9832 GB, free: 23.4 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.0004776/0.1713, allocations: 0.6943 MB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.1716, allocations: 79.94 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1716, allocations: 4 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1717, allocations: 55.89 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.382e-05/0.1718, allocations: 5.672 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.1722, allocations: 208.3 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.1723, allocations: 0.6887 MB / 0.9849 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.1725, allocations: 39.95 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.1725, allocations: 19.42 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.1725, allocations: 4 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.1828, allocations: 1.759 MB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.183, allocations: 194.3 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.631, allocations: 0 / 0.9868 GB, free: 19.67 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)