Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008151/0.000815, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 278.4 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9142/0.9142, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 22.59 kB / 0.598 GB, free: 28.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.0005734/0.1637, allocations: 311.3 kB / 0.6848 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.164, allocations: 93.33 kB / 0.6849 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.164, allocations: 4 kB / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.1641, allocations: 0 / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.1641, allocations: 0 / 0.6849 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1643, allocations: 34.44 kB / 0.6849 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.1644, allocations: 59.86 kB / 0.685 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.019e-05/0.1644, allocations: 4 kB / 0.685 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.1645, allocations: 23.97 kB / 0.685 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.1645, allocations: 23.95 kB / 0.685 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1645, allocations: 4 kB / 0.685 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1646, allocations: 40.47 kB / 0.6851 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.1647, allocations: 19.97 kB / 0.6851 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1647, allocations: 34.27 kB / 0.6851 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.242e-05/0.1648, allocations: 44.42 kB / 0.6852 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1648, allocations: 0 / 0.6852 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1648, allocations: 1.188 kB / 0.6852 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1648, allocations: 3.938 kB / 0.6852 GB, free: 14.77 MB / 494.1 MB 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.0003766/0.1652, allocations: 360.2 kB / 0.6855 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1652, allocations: 8.938 kB / 0.6855 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.1653, allocations: 7.906 kB / 0.6855 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1654, allocations: 163 kB / 0.6857 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.1657, allocations: 286.7 kB / 0.686 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1657, allocations: 4 kB / 0.686 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1659, allocations: 73.64 kB / 0.686 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1659, allocations: 12.89 kB / 0.686 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1659, allocations: 0 / 0.686 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.166, allocations: 0 / 0.686 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.1663, allocations: 135.3 kB / 0.6862 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.1665, allocations: 173.6 kB / 0.6863 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1668, allocations: 98.56 kB / 0.6864 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1669, allocations: 40.84 kB / 0.6865 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1669, allocations: 7.984 kB / 0.6865 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.167, allocations: 35.12 kB / 0.6865 GB, free: 13.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.167, allocations: 0.625 kB / 0.6865 GB, free: 13.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005037/0.1675, allocations: 148 kB / 0.6866 GB, free: 13.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1675, allocations: 51.62 kB / 0.6867 GB, free: 12.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.1676, allocations: 89.86 kB / 0.6868 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1676, allocations: 33.64 kB / 0.6868 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.1676, allocations: 80.33 kB / 0.6869 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.1677, allocations: 44.14 kB / 0.6869 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.1677, allocations: 0 / 0.6869 GB, free: 12.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1678, allocations: 325.4 kB / 0.6872 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.168, allocations: 31.97 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1681, allocations: 31.98 kB / 0.6873 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1682, allocations: 35.91 kB / 0.6873 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1682, allocations: 3.938 kB / 0.6873 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002972/0.1685, allocations: 114.3 kB / 0.6875 GB, free: 12.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1685, allocations: 4 kB / 0.6875 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1686, allocations: 1.719 kB / 0.6875 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1686, allocations: 4 kB / 0.6875 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1687, allocations: 27.97 kB / 0.6875 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1687, allocations: 0 / 0.6875 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.1688, allocations: 4.656 kB / 0.6875 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1688, allocations: 7.984 kB / 0.6875 GB, free: 12.11 MB / 494.1 MB 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 9.603e-05/0.1689, allocations: 124.3 kB / 0.6876 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.169, allocations: 4 kB / 0.6876 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.169, allocations: 11.97 kB / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.169, allocations: 0.875 kB / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.169, allocations: 0 / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.169, allocations: 7.969 kB / 0.6876 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1692, allocations: 182 kB / 0.6878 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1692, allocations: 1.125 kB / 0.6878 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1693, allocations: 19.98 kB / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1693, allocations: 0 / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1694, allocations: 8.922 kB / 0.6878 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1694, allocations: 0 / 0.6878 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1694, allocations: 4 kB / 0.6878 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1697, allocations: 144.9 kB / 0.688 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1698, allocations: 92.94 kB / 0.6881 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1698, allocations: 0 / 0.6881 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.1698, allocations: 12 kB / 0.6881 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.1699, allocations: 11.97 kB / 0.6881 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1699, allocations: 4 kB / 0.6881 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.503e-05/0.17, allocations: 79.28 kB / 0.6882 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.17, allocations: 0 / 0.6882 GB, free: 11.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1702, allocations: 20 kB / 0.6882 GB, free: 11.3 MB / 494.1 MB 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.0002454/0.1705, allocations: 119.2 kB / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.1708, allocations: 88.69 kB / 0.6884 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1708, allocations: 0 / 0.6884 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.171, allocations: 55.89 kB / 0.6884 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1711, allocations: 448 / 0.6884 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.1715, allocations: 168 kB / 0.6886 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1717, allocations: 0.6887 MB / 0.6893 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.1719, allocations: 39.94 kB / 0.6893 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.1719, allocations: 23.36 kB / 0.6893 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1719, allocations: 0 / 0.6893 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Templates: time 0.003076/0.175, allocations: 0.9464 MB / 0.6903 GB, free: 9.125 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)