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.001752/0.001752, allocations: 108 kB / 15.6 MB, free: 132 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.001763/0.001764, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.103/1.103, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.485/1.485, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001227/0.001227, allocations: 69.7 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 114.5 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001368/0.1543, allocations: 0.5824 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.1546, allocations: 111.6 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.1546, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.1546, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-06/0.1546, allocations: 3.938 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1549, allocations: 39.89 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.155, allocations: 63.94 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.155, allocations: 4 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.1551, allocations: 23.97 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.1551, allocations: 19.97 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1551, allocations: 4 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.1552, allocations: 55.94 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.1553, allocations: 19.92 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.1553, allocations: 19.91 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1554, allocations: 71.83 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1554, allocations: 0 / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1554, allocations: 0 / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1554, allocations: 0 / 0.7845 GB, free: 12.31 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.0003811/0.1558, allocations: 379.7 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1558, allocations: 12.03 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.1559, allocations: 38.75 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.1559, allocations: 12.94 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.358e-05/0.156, allocations: 160.4 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.1562, allocations: 281.6 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1562, allocations: 12.25 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1564, allocations: 81.95 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1564, allocations: 0 / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1564, allocations: 0 / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1564, allocations: 4 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.1567, allocations: 135.8 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1569, allocations: 177.7 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1571, allocations: 94.47 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1573, allocations: 44.83 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1573, allocations: 3.984 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.1573, allocations: 38.5 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.1573, allocations: 0 / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004431/0.1578, allocations: 153.8 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.1578, allocations: 51.41 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.553e-05/0.1578, allocations: 89.86 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1578, allocations: 37.69 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.1579, allocations: 84.08 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1579, allocations: 31.47 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1579, allocations: 29.64 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.158, allocations: 318.8 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1582, allocations: 35.97 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1583, allocations: 35.92 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1585, allocations: 69.47 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1585, allocations: 0 / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002837/0.1588, allocations: 113.6 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1588, allocations: 11.92 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.1588, allocations: 0 / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1588, allocations: 0 / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.159, allocations: 27.92 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.159, allocations: 4 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.1591, allocations: 15.88 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1591, allocations: 7.984 kB / 0.787 GB, free: 9.473 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 6e-05/0.1592, allocations: 114.5 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.1592, allocations: 11.83 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.1592, allocations: 7.969 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1592, allocations: 4 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1592, allocations: 3.984 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1592, allocations: 4 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1593, allocations: 177.7 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1593, allocations: 0 / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1594, allocations: 27.91 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1595, allocations: 3.938 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1595, allocations: 4 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1595, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1595, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1598, allocations: 148.9 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.1598, allocations: 88.98 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1598, allocations: 0 / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.1599, allocations: 8 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1599, allocations: 11.97 kB / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1599, allocations: 8 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.793e-05/0.16, allocations: 75.28 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.16, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001861/0.1602, allocations: 20 kB / 0.7876 GB, free: 8.668 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.0005412/0.1607, allocations: 0.7098 MB / 0.7883 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.161, allocations: 95.88 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.161, allocations: 3.938 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1612, allocations: 47.91 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.1613, allocations: 15.98 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.1617, allocations: 198.5 kB / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.1618, allocations: 0.6846 MB / 0.7893 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.162, allocations: 35.95 kB / 0.7894 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.162, allocations: 23.42 kB / 0.7894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.162, allocations: 0 / 0.7894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7329/0.8949, allocations: 1.991 MB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.705, allocations: 8.047 kB / 0.7914 GB, free: 4.832 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)