Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 217.9 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9253/0.9253, allocations: 145 MB / 458.2 MB, free: 15.47 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 62.94 kB / 0.634 GB, free: 7.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 87.88 MB / 0.7198 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.00193/0.1946, allocations: 0.5806 MB / 0.7204 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004529/0.195, allocations: 119.6 kB / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.195, allocations: 0 / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.1951, allocations: 0 / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-06/0.1951, allocations: 0 / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1955, allocations: 39.89 kB / 0.7205 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1956, allocations: 71.81 kB / 0.7206 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.1957, allocations: 8 kB / 0.7206 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1957, allocations: 23.97 kB / 0.7206 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.1958, allocations: 23.97 kB / 0.7206 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1958, allocations: 4 kB / 0.7206 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1959, allocations: 51.94 kB / 0.7207 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.196, allocations: 23.97 kB / 0.7207 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.196, allocations: 23.86 kB / 0.7207 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1962, allocations: 67.83 kB / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1962, allocations: 0 / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1962, allocations: 4 kB / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.1962, allocations: 0 / 0.7208 GB, free: 14.33 MB / 0.545 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.0005512/0.1967, allocations: 304.5 kB / 0.7211 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1968, allocations: 8.031 kB / 0.7211 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.31e-05/0.1968, allocations: 192 / 0.7211 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.1968, allocations: 38.75 kB / 0.7211 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1969, allocations: 8.938 kB / 0.7211 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.197, allocations: 106.5 kB / 0.7212 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/0.1974, allocations: 0.5338 MB / 0.7218 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1974, allocations: 4.375 kB / 0.7218 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.1977, allocations: 89.69 kB / 0.7219 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1977, allocations: 0 / 0.7219 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1977, allocations: 4 kB / 0.7219 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1977, allocations: 3.938 kB / 0.7219 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.1981, allocations: 131.8 kB / 0.722 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.1983, allocations: 152.6 kB / 0.7221 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.1986, allocations: 94.39 kB / 0.7222 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1987, allocations: 44.83 kB / 0.7223 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1988, allocations: 7.984 kB / 0.7223 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1988, allocations: 34.5 kB / 0.7223 GB, free: 12.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1988, allocations: 4 kB / 0.7223 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005587/0.1994, allocations: 145.8 kB / 0.7225 GB, free: 12.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1994, allocations: 51.41 kB / 0.7225 GB, free: 12.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.1995, allocations: 97.86 kB / 0.7226 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1995, allocations: 25.7 kB / 0.7226 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.1995, allocations: 84.14 kB / 0.7227 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.1996, allocations: 39.64 kB / 0.7227 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.1997, allocations: 29.7 kB / 0.7228 GB, free: 12.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1998, allocations: 314.8 kB / 0.7231 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2, allocations: 35.91 kB / 0.7231 GB, free: 11.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2001, allocations: 31.97 kB / 0.7231 GB, free: 11.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.2004, allocations: 72.81 kB / 0.7232 GB, free: 11.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2004, allocations: 4 kB / 0.7232 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000338/0.2007, allocations: 117.5 kB / 0.7233 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2007, allocations: 4 kB / 0.7233 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2007, allocations: 0 / 0.7233 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2007, allocations: 4 kB / 0.7233 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2009, allocations: 27.91 kB / 0.7234 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2009, allocations: 0 / 0.7234 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.201, allocations: 4 kB / 0.7234 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.201, allocations: 4 kB / 0.7234 GB, free: 11.39 MB / 0.545 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 0.0001064/0.2011, allocations: 121.8 kB / 0.7235 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.2011, allocations: 11.89 kB / 0.7235 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.2011, allocations: 11.91 kB / 0.7235 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2012, allocations: 0 / 0.7235 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2012, allocations: 0 / 0.7235 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2012, allocations: 0 / 0.7235 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2014, allocations: 148.7 kB / 0.7236 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2014, allocations: 0 / 0.7236 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2015, allocations: 31.84 kB / 0.7237 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2015, allocations: 7.938 kB / 0.7237 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2015, allocations: 11.98 kB / 0.7237 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2015, allocations: 0 / 0.7237 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.2015, allocations: 3.984 kB / 0.7237 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.2019, allocations: 133.8 kB / 0.7238 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.2019, allocations: 11.94 kB / 0.7238 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2019, allocations: 4 kB / 0.7238 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.202, allocations: 7.984 kB / 0.7238 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.202, allocations: 11.98 kB / 0.7239 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.2021, allocations: 11.98 kB / 0.7239 GB, free: 10.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.2021, allocations: 75.28 kB / 0.7239 GB, free: 10.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2021, allocations: 0 / 0.7239 GB, free: 10.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002316/0.2023, allocations: 23.88 kB / 0.724 GB, free: 10.7 MB / 0.545 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.0008427/0.2032, allocations: 0.7099 MB / 0.7247 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.2035, allocations: 87.81 kB / 0.7247 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2035, allocations: 0 / 0.7247 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.2037, allocations: 43.97 kB / 0.7248 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.2038, allocations: 0 / 0.7248 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.2044, allocations: 206.3 kB / 0.725 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2047, allocations: 0.6924 MB / 0.7257 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.2049, allocations: 35.94 kB / 0.7257 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.205, allocations: 23.42 kB / 0.7257 GB, free: 8.812 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.205, allocations: 0 / 0.7257 GB, free: 8.812 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.2277, allocations: 2.231 MB / 0.7279 GB, free: 6.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 6.781 kB / 0.7279 GB, free: 6.73 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.980643215007149] Failed to read output from testmodel.py, exit status != 0: 11.382523383013904 11.408950537 11.208636631 Calling exit ...