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.0008184/0.0008184, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006024/0.006024, allocations: 172 kB / 16.26 MB, free: 6.613 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.029/1.029, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003223, allocations: 12 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 83.41 MB / 0.5978 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.001866/0.1956, allocations: 1.254 MB / 0.5991 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.1962, allocations: 180.3 kB / 0.5992 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.1962, allocations: 0 / 0.5992 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.1963, allocations: 0 / 0.5992 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.1963, allocations: 0 / 0.5992 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1966, allocations: 47.83 kB / 0.5993 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.1967, allocations: 39.84 kB / 0.5993 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1968, allocations: 12 kB / 0.5993 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.1969, allocations: 7.984 kB / 0.5993 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.106e-05/0.1969, allocations: 23.86 kB / 0.5994 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.197, allocations: 4 kB / 0.5994 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1971, allocations: 43.95 kB / 0.5994 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1971, allocations: 0 / 0.5994 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1971, allocations: 45.61 kB / 0.5995 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1973, allocations: 55.84 kB / 0.5995 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1973, allocations: 3.938 kB / 0.5995 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1973, allocations: 4 kB / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.1973, allocations: 0 / 0.5995 GB, free: 5.961 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.000487/0.1978, allocations: 355.7 kB / 0.5999 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1979, allocations: 8.031 kB / 0.5999 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.1979, allocations: 4.938 kB / 0.5999 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.198, allocations: 168.3 kB / 0.6 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1981, allocations: 16.31 kB / 0.6 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1981, allocations: 384 / 0.6 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1983, allocations: 70.23 kB / 0.6001 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1984, allocations: 192 / 0.6001 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1984, allocations: 7.922 kB / 0.6001 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1984, allocations: 0 / 0.6001 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1986, allocations: 55.95 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1991, allocations: 280.7 kB / 0.6004 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.1994, allocations: 62.53 kB / 0.6005 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1995, allocations: 36.91 kB / 0.6005 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.1997, allocations: 170.3 kB / 0.6007 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1998, allocations: 30.56 kB / 0.6007 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1998, allocations: 0 / 0.6007 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004253/0.2002, allocations: 121.5 kB / 0.6008 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2003, allocations: 51.41 kB / 0.6009 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.2003, allocations: 105.8 kB / 0.601 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2004, allocations: 25.7 kB / 0.601 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.2004, allocations: 92.14 kB / 0.6011 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.2004, allocations: 11.83 kB / 0.6011 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.2005, allocations: 17.72 kB / 0.6011 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2006, allocations: 314.8 kB / 0.6014 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2007, allocations: 27.97 kB / 0.6015 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.2008, allocations: 27.98 kB / 0.6015 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.201, allocations: 52.81 kB / 0.6015 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.201, allocations: 0 / 0.6015 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000233/0.2012, allocations: 97.44 kB / 0.6016 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2013, allocations: 4 kB / 0.6016 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2013, allocations: 0 / 0.6016 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2013, allocations: 4 kB / 0.6016 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.2014, allocations: 11.98 kB / 0.6016 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2014, allocations: 0 / 0.6016 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.2015, allocations: 15.98 kB / 0.6017 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2015, allocations: 336 / 0.6017 GB, free: 3.496 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 9.197e-05/0.2016, allocations: 117.8 kB / 0.6018 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.2016, allocations: 0 / 0.6018 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.2019, allocations: 101.5 kB / 0.6019 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2019, allocations: 0 / 0.6019 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2019, allocations: 0 / 0.6019 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2019, allocations: 4 kB / 0.6019 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.2021, allocations: 165.6 kB / 0.602 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2021, allocations: 7.984 kB / 0.602 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.2022, allocations: 8 kB / 0.602 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2022, allocations: 0 / 0.602 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2022, allocations: 7.984 kB / 0.6021 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2022, allocations: 0 / 0.6021 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2022, allocations: 4 kB / 0.6021 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.2025, allocations: 187.4 kB / 0.6022 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.2026, allocations: 77.11 kB / 0.6023 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2026, allocations: 11.92 kB / 0.6023 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.2027, allocations: 4 kB / 0.6023 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2027, allocations: 7.984 kB / 0.6023 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2027, allocations: 4 kB / 0.6023 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.2028, allocations: 95.56 kB / 0.6024 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.553e-06/0.2028, allocations: 0 / 0.6024 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.2031, allocations: 19.94 kB / 0.6024 GB, free: 2.582 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.0001889/0.2033, allocations: 119.2 kB / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2035, allocations: 55.95 kB / 0.6026 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2035, allocations: 0 / 0.6026 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2036, allocations: 31.92 kB / 0.6026 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2039, allocations: 15.86 kB / 0.6027 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.2043, allocations: 124.7 kB / 0.6028 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.2045, allocations: 0.6848 MB / 0.6034 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.2046, allocations: 4 kB / 0.6035 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.2046, allocations: 15.44 kB / 0.6035 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2046, allocations: 3.938 kB / 0.6035 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.003243/0.2078, allocations: 0.8904 MB / 0.6043 GB, free: 0.5938 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)