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: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 105.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.001088/0.001088, allocations: 198.8 kB / 16.64 MB, free: 6.453 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.118/1.118, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.477/1.477, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001236/0.001236, allocations: 72.12 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1592, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0015/0.1608, allocations: 0.5893 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003034/0.1611, allocations: 111.6 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.1611, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.1611, allocations: 4 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-06/0.1612, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1614, allocations: 39.89 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.1615, allocations: 63.92 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.1616, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.849e-05/0.1616, allocations: 23.98 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.1616, allocations: 27.89 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1617, allocations: 4 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1618, allocations: 47.95 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.1618, allocations: 23.91 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1618, allocations: 19.92 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.162, allocations: 75.83 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.162, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.162, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.162, allocations: 0 / 0.7851 GB, free: 11.71 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.0004029/0.1624, allocations: 375.5 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.1624, allocations: 8.031 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1625, allocations: 12.84 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.1625, allocations: 172.3 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.1627, allocations: 277.6 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1628, allocations: 4.375 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.163, allocations: 82.19 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.163, allocations: 3.938 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.163, allocations: 0 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.163, allocations: 0 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.1633, allocations: 135.8 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1634, allocations: 177.6 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.1637, allocations: 102.5 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1638, allocations: 44.83 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1639, allocations: 0 / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.1639, allocations: 34.56 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 8.12e-07/0.1639, allocations: 0 / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000445/0.1643, allocations: 153.5 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1644, allocations: 55.34 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.855e-05/0.1644, allocations: 89.86 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1644, allocations: 29.92 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.1645, allocations: 80.14 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.1645, allocations: 39.48 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1645, allocations: 25.7 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.1646, allocations: 314.8 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1647, allocations: 35.97 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1649, allocations: 35.97 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1651, allocations: 69.47 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1651, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002848/0.1654, allocations: 121.4 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1654, allocations: 7.938 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1654, allocations: 0 / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1654, allocations: 3.938 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1656, allocations: 31.91 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1656, allocations: 4 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1656, allocations: 11.94 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1657, allocations: 7.984 kB / 0.7876 GB, free: 8.934 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 6.082e-05/0.1657, allocations: 114.5 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1657, allocations: 7.844 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1658, allocations: 7.969 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1658, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1658, allocations: 0 / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1658, allocations: 11.97 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1659, allocations: 181.6 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1659, allocations: 4 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.166, allocations: 23.92 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.166, allocations: 3.938 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1661, allocations: 7.984 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1661, allocations: 0 / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1661, allocations: 0 / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.1664, allocations: 144.9 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.1664, allocations: 89.03 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1664, allocations: 3.938 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.1665, allocations: 8 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1665, allocations: 7.984 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.1665, allocations: 7.984 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.1666, allocations: 75.28 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1666, allocations: 3.938 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002019/0.1668, allocations: 20 kB / 0.7883 GB, free: 8.121 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.0001417/0.1669, allocations: 123.2 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1672, allocations: 87.88 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1672, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1673, allocations: 47.91 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1675, allocations: 4 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.1678, allocations: 160.9 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.168, allocations: 0.6915 MB / 0.7893 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.1681, allocations: 39.73 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1681, allocations: 19.42 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1681, allocations: 0 / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of Templates: time 0.002518/0.1706, allocations: 1.018 MB / 0.7904 GB, free: 5.887 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)