Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001959/0.001959, allocations: 189.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 291.6 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 103.4 kB / 0.6059 GB, free: 24.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1597, allocations: 89.15 MB / 0.693 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002763/0.1625, allocations: 1.605 MB / 0.6945 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.163, allocations: 169 kB / 0.6947 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.163, allocations: 3.438 kB / 0.6947 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.1631, allocations: 7.922 kB / 0.6947 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.1631, allocations: 0 / 0.6947 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1635, allocations: 47.89 kB / 0.6948 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.1635, allocations: 35.92 kB / 0.6948 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1636, allocations: 19.97 kB / 0.6948 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.1637, allocations: 15.94 kB / 0.6948 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.1637, allocations: 15.92 kB / 0.6948 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1638, allocations: 4 kB / 0.6948 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1639, allocations: 55.94 kB / 0.6949 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.1639, allocations: 4 kB / 0.6949 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1639, allocations: 15.88 kB / 0.6949 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1641, allocations: 63.84 kB / 0.695 GB, free: 2.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1641, allocations: 0 / 0.695 GB, free: 2.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1641, allocations: 0 / 0.695 GB, free: 2.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1641, allocations: 0 / 0.695 GB, free: 2.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004901/0.1646, allocations: 359.7 kB / 0.6953 GB, free: 2.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1646, allocations: 8.031 kB / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1647, allocations: 4.938 kB / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1648, allocations: 164.3 kB / 0.6955 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1648, allocations: 4.375 kB / 0.6955 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1649, allocations: 4.375 kB / 0.6955 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1651, allocations: 66.16 kB / 0.6956 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1651, allocations: 192 / 0.6956 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1651, allocations: 7.938 kB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1651, allocations: 7.938 kB / 0.6956 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1653, allocations: 43.95 kB / 0.6956 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1657, allocations: 284.7 kB / 0.6959 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.166, allocations: 62.48 kB / 0.696 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1662, allocations: 28.89 kB / 0.696 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.1664, allocations: 166.2 kB / 0.6961 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1664, allocations: 30.56 kB / 0.6962 GB, free: 1.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1665, allocations: 0 / 0.6962 GB, free: 1.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003863/0.1668, allocations: 109.5 kB / 0.6963 GB, free: 1.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1669, allocations: 51.41 kB / 0.6963 GB, free: 1.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.167, allocations: 105.8 kB / 0.6964 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.167, allocations: 25.7 kB / 0.6964 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.1671, allocations: 88.14 kB / 0.6965 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.1671, allocations: 3.906 kB / 0.6965 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1671, allocations: 21.7 kB / 0.6966 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1673, allocations: 318.8 kB / 0.6969 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.1674, allocations: 19.98 kB / 0.6969 GB, free: 488 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.1675, allocations: 23.97 kB / 0.6969 GB, free: 464 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1676, allocations: 44.81 kB / 0.6969 GB, free: 416 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1677, allocations: 0 / 0.6969 GB, free: 416 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002238/0.1679, allocations: 85.83 kB / 0.697 GB, free: 324 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1679, allocations: 4 kB / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1679, allocations: 0 / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1679, allocations: 4 kB / 0.697 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.168, allocations: 7.984 kB / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.168, allocations: 4 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.1681, allocations: 11.98 kB / 0.6971 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1681, allocations: 3.984 kB / 0.6971 GB, free: 288 kB / 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.195e-05/0.1682, allocations: 113.8 kB / 0.6972 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1682, allocations: 4 kB / 0.6972 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1685, allocations: 85.55 kB / 0.6973 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1685, allocations: 3.938 kB / 0.6973 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1685, allocations: 0 / 0.6973 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1685, allocations: 0 / 0.6973 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1688, allocations: 169.5 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1688, allocations: 0 / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.1688, allocations: 19.98 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1689, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1689, allocations: 3.984 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1689, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1689, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1692, allocations: 171.4 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.1692, allocations: 85.05 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1692, allocations: 4 kB / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.1693, allocations: 7.984 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1694, allocations: 11.98 kB / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1694, allocations: 0 / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.1695, allocations: 87.22 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1695, allocations: 0 / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.1697, allocations: 23.98 kB / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001854/0.1699, allocations: 119.2 kB / 0.6979 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1702, allocations: 47.94 kB / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1702, allocations: 0 / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.1703, allocations: 23.98 kB / 0.698 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1706, allocations: 7.938 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.1709, allocations: 137.5 kB / 0.6981 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1712, allocations: 0.6807 MB / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.1712, allocations: 4 kB / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1713, allocations: 7.438 kB / 0.6988 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1713, allocations: 0 / 0.6988 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.003425/0.1747, allocations: 0.9177 MB / 0.6997 GB, free: 13.41 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)