Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002662/0.002662, allocations: 194.6 kB / 16.14 MB, free: 6.656 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.009/1.009, allocations: 143 MB / 433 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.5135 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1884, allocations: 82.05 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002764/0.1912, allocations: 1.581 MB / 0.5952 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000512/0.1918, allocations: 184.3 kB / 0.5953 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.1918, allocations: 0 / 0.5953 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.1918, allocations: 3.984 kB / 0.5953 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.1919, allocations: 7.984 kB / 0.5953 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1922, allocations: 35.91 kB / 0.5954 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.1922, allocations: 43.84 kB / 0.5954 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.1923, allocations: 8 kB / 0.5954 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.1924, allocations: 23.92 kB / 0.5955 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.1924, allocations: 15.92 kB / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1925, allocations: 0 / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1926, allocations: 43.95 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.1926, allocations: 7.984 kB / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.1926, allocations: 15.88 kB / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1928, allocations: 67.78 kB / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1928, allocations: 0 / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1928, allocations: 0 / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1928, allocations: 0 / 0.5956 GB, free: 8.035 MB / 0.4981 GB 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.0004698/0.1933, allocations: 363.7 kB / 0.5959 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1933, allocations: 8.031 kB / 0.5959 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1934, allocations: 4.938 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1935, allocations: 164.3 kB / 0.5961 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1935, allocations: 4.312 kB / 0.5961 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1935, allocations: 4.375 kB / 0.5961 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1937, allocations: 66.2 kB / 0.5962 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1937, allocations: 192 / 0.5962 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1938, allocations: 7.938 kB / 0.5962 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1938, allocations: 4 kB / 0.5962 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.194, allocations: 43.95 kB / 0.5962 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1944, allocations: 288.6 kB / 0.5965 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.1948, allocations: 58.55 kB / 0.5966 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1949, allocations: 28.89 kB / 0.5966 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.1951, allocations: 170.2 kB / 0.5968 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1952, allocations: 34.56 kB / 0.5968 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1952, allocations: 0 / 0.5968 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004013/0.1956, allocations: 97.56 kB / 0.5969 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1956, allocations: 55.41 kB / 0.5969 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1957, allocations: 109.8 kB / 0.597 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1958, allocations: 25.7 kB / 0.5971 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.1958, allocations: 88.08 kB / 0.5971 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1958, allocations: 7.906 kB / 0.5972 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1959, allocations: 13.72 kB / 0.5972 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.196, allocations: 326.8 kB / 0.5975 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.1961, allocations: 15.98 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.965e-05/0.1962, allocations: 23.97 kB / 0.5975 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1964, allocations: 40.83 kB / 0.5976 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1964, allocations: 0 / 0.5976 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002301/0.1966, allocations: 89.48 kB / 0.5976 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1967, allocations: 4 kB / 0.5976 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1967, allocations: 0 / 0.5976 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1967, allocations: 4 kB / 0.5977 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.1968, allocations: 7.984 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1968, allocations: 4 kB / 0.5977 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.1969, allocations: 7.984 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1969, allocations: 0 / 0.5977 GB, free: 5.645 MB / 0.4981 GB 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.41e-05/0.197, allocations: 121.7 kB / 0.5978 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.197, allocations: 4 kB / 0.5978 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.1973, allocations: 81.48 kB / 0.5979 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1973, allocations: 4 kB / 0.5979 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1973, allocations: 0 / 0.5979 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1974, allocations: 0 / 0.5979 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.1975, allocations: 169.6 kB / 0.598 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1976, allocations: 0 / 0.598 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.1976, allocations: 15.98 kB / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1976, allocations: 0 / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1977, allocations: 0 / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1977, allocations: 0 / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1977, allocations: 0 / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1979, allocations: 175.7 kB / 0.5982 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.198, allocations: 85.11 kB / 0.5983 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.198, allocations: 7.938 kB / 0.5983 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.1981, allocations: 7.984 kB / 0.5983 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.1982, allocations: 4.031 kB / 0.5983 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1982, allocations: 11.98 kB / 0.5983 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.1983, allocations: 91.59 kB / 0.5984 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1983, allocations: 0 / 0.5984 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002494/0.1985, allocations: 19.98 kB / 0.5984 GB, free: 4.754 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.0002148/0.1987, allocations: 119.2 kB / 0.5985 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.199, allocations: 43.94 kB / 0.5986 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.199, allocations: 0 / 0.5986 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1991, allocations: 27.92 kB / 0.5986 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1994, allocations: 11.88 kB / 0.5986 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.1998, allocations: 131.2 kB / 0.5988 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.2001, allocations: 0.677 MB / 0.5994 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.2001, allocations: 8.219 kB / 0.5994 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2001, allocations: 11.44 kB / 0.5994 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2001, allocations: 0 / 0.5994 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.003383/0.2035, allocations: 0.8945 MB / 0.6003 GB, free: 2.773 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)