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.001292/0.001292, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001512/0.001512, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9406/0.9406, allocations: 145 MB / 458.2 MB, free: 15.3 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.001984/0.001984, allocations: 66.84 kB / 0.6339 GB, free: 6.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.204, allocations: 87.89 MB / 0.7197 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001728/0.2057, allocations: 0.5796 MB / 0.7203 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004153/0.2062, allocations: 111.7 kB / 0.7204 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.2062, allocations: 0 / 0.7204 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.2062, allocations: 0 / 0.7204 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.2062, allocations: 3.938 kB / 0.7204 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.2066, allocations: 39.89 kB / 0.7204 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.2067, allocations: 67.94 kB / 0.7205 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.2068, allocations: 0 / 0.7205 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.2068, allocations: 19.98 kB / 0.7205 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.2069, allocations: 31.95 kB / 0.7205 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2069, allocations: 0 / 0.7205 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2071, allocations: 51.94 kB / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.2071, allocations: 31.91 kB / 0.7206 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.2071, allocations: 19.92 kB / 0.7206 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2073, allocations: 71.77 kB / 0.7207 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2073, allocations: 0 / 0.7207 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2073, allocations: 0 / 0.7207 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2073, allocations: 0 / 0.7207 GB, free: 13.81 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.0005338/0.2078, allocations: 294.3 kB / 0.721 GB, free: 13.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2079, allocations: 8.031 kB / 0.721 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.668e-05/0.2079, allocations: 12.12 kB / 0.721 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.208, allocations: 38.75 kB / 0.7211 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.208, allocations: 8.938 kB / 0.7211 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.603e-05/0.2081, allocations: 106.5 kB / 0.7212 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.2085, allocations: 0.5299 MB / 0.7217 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.2085, allocations: 8.375 kB / 0.7217 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.2088, allocations: 85.69 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2088, allocations: 0 / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2088, allocations: 4 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2088, allocations: 4 kB / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.2092, allocations: 131.8 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.2094, allocations: 144.7 kB / 0.722 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2097, allocations: 90.52 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2099, allocations: 40.83 kB / 0.7222 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.2099, allocations: 8 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2099, allocations: 34.5 kB / 0.7222 GB, free: 12.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2099, allocations: 0 / 0.7222 GB, free: 12.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005913/0.2105, allocations: 153.8 kB / 0.7224 GB, free: 11.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.2106, allocations: 51.41 kB / 0.7224 GB, free: 11.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.2106, allocations: 89.86 kB / 0.7225 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2106, allocations: 29.7 kB / 0.7225 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.2107, allocations: 84.14 kB / 0.7226 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.2107, allocations: 43.64 kB / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.2108, allocations: 29.64 kB / 0.7227 GB, free: 11.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2109, allocations: 318.8 kB / 0.723 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2111, allocations: 31.98 kB / 0.723 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.2112, allocations: 35.97 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.2115, allocations: 80.69 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2115, allocations: 0 / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003272/0.2118, allocations: 109.6 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2118, allocations: 4 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2118, allocations: 0 / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2118, allocations: 8 kB / 0.7232 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.212, allocations: 31.95 kB / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.212, allocations: 0 / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.2121, allocations: 7.938 kB / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2121, allocations: 7.984 kB / 0.7233 GB, free: 10.87 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 9.58e-05/0.2122, allocations: 117.8 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.2122, allocations: 11.89 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.2123, allocations: 11.91 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2123, allocations: 0 / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2123, allocations: 4 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2123, allocations: 3.984 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.2124, allocations: 148.7 kB / 0.7236 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2124, allocations: 0 / 0.7236 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2125, allocations: 27.92 kB / 0.7236 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2125, allocations: 0 / 0.7236 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2126, allocations: 3.984 kB / 0.7236 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2126, allocations: 0 / 0.7236 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2126, allocations: 0 / 0.7236 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.2129, allocations: 149 kB / 0.7237 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.2129, allocations: 3.938 kB / 0.7237 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.213, allocations: 8 kB / 0.7237 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.213, allocations: 4 kB / 0.7237 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.2131, allocations: 15.97 kB / 0.7238 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2131, allocations: 0 / 0.7238 GB, free: 10.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.2131, allocations: 75.28 kB / 0.7238 GB, free: 10.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2131, allocations: 7.938 kB / 0.7238 GB, free: 10.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002429/0.2134, allocations: 23.94 kB / 0.7239 GB, free: 10.19 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.0008426/0.2142, allocations: 0.6951 MB / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.2146, allocations: 91.92 kB / 0.7246 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2146, allocations: 0 / 0.7246 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2147, allocations: 47.91 kB / 0.7247 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2149, allocations: 7.922 kB / 0.7247 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.2154, allocations: 202.4 kB / 0.7249 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/0.2155, allocations: 67.95 kB / 0.7249 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.2158, allocations: 43.92 kB / 0.725 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.2158, allocations: 19.42 kB / 0.725 GB, free: 8.938 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2158, allocations: 0 / 0.725 GB, free: 8.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.2396, allocations: 2.23 MB / 0.7272 GB, free: 6.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.46, allocations: 6.75 kB / 0.7272 GB, free: 6.855 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.305382292019203] Failed to read output from testmodel.py, exit status != 0: 11.624155397992581 11.641378929 11.429193744 Calling exit ...