Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 175.7 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 0.578 GB, free: 20.39 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006464/0.0006465, allocations: 88.38 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 11 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 106.3 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006673/0.1553, allocations: 334.1 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.1556, allocations: 116.9 kB / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.1557, allocations: 0 / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.1557, allocations: 0 / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.1557, allocations: 0 / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.156, allocations: 23.98 kB / 0.9014 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.1561, allocations: 63.91 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.1561, allocations: 4 kB / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.1562, allocations: 19.98 kB / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.1562, allocations: 23.95 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1562, allocations: 4 kB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1564, allocations: 47.97 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.1564, allocations: 23.97 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.1564, allocations: 53.55 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.1566, allocations: 59.84 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1566, allocations: 3.938 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1566, allocations: 4 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1566, allocations: 0 / 0.9017 GB, free: 62.95 MB / 0.6042 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.0003731/0.157, allocations: 351.6 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.157, allocations: 8.031 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.1571, allocations: 42.73 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1571, allocations: 8.938 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.095e-05/0.1572, allocations: 160.7 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.1573, allocations: 281.6 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1574, allocations: 8.375 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1576, allocations: 85.88 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1576, allocations: 3.938 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1576, allocations: 4 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1576, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.1579, allocations: 131.8 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.1581, allocations: 185.5 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.1583, allocations: 98.52 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1585, allocations: 44.83 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1585, allocations: 11.97 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.1585, allocations: 38.44 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1585, allocations: 0 / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004545/0.159, allocations: 149.9 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.159, allocations: 55.41 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.997e-05/0.159, allocations: 89.86 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1591, allocations: 25.7 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-06/0.1591, allocations: 80.14 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1591, allocations: 35.45 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-06/0.1591, allocations: 4 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.1592, allocations: 314.8 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1593, allocations: 35.97 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1594, allocations: 31.97 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.1597, allocations: 85.34 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1597, allocations: 0 / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002835/0.16, allocations: 109.6 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.16, allocations: 11.94 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.16, allocations: 0 / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.16, allocations: 0 / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1602, allocations: 23.97 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1602, allocations: 8 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.1602, allocations: 3.906 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1603, allocations: 4 kB / 0.9041 GB, free: 60.18 MB / 0.6042 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 5.826e-05/0.1603, allocations: 121.8 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1603, allocations: 7.938 kB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.1604, allocations: 11.97 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1604, allocations: 0 / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1604, allocations: 0 / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1604, allocations: 4 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.1605, allocations: 189.5 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1605, allocations: 3.938 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1606, allocations: 23.98 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1606, allocations: 3.938 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1606, allocations: 7.984 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1606, allocations: 0 / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1607, allocations: 3.938 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1609, allocations: 137 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.161, allocations: 88.95 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.161, allocations: 11.98 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.1611, allocations: 4 kB / 0.9047 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1611, allocations: 7.984 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1611, allocations: 7.984 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.323e-05/0.1611, allocations: 75.28 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.11e-07/0.1612, allocations: 0 / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001987/0.1614, allocations: 31.94 kB / 0.9048 GB, free: 59.35 MB / 0.6042 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.00051/0.1619, allocations: 0.6904 MB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.1622, allocations: 87.86 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1622, allocations: 0 / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1623, allocations: 51.91 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1625, allocations: 4 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.1629, allocations: 204.3 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.163, allocations: 0.6917 MB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.1632, allocations: 39.83 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1632, allocations: 19.42 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1632, allocations: 0 / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.1741, allocations: 1.8 MB / 0.9083 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001232/0.1743, allocations: 206.2 kB / 0.9085 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.941, allocations: 0 / 0.9085 GB, free: 55.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)