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.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.001545/0.001545, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001613/0.001613, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.781 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.9984/0.9984, allocations: 145 MB / 457.4 MB, free: 15.27 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.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",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.002206/0.002206, allocations: 67.83 kB / 0.6331 GB, free: 6.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1957, allocations: 87.9 MB / 0.7189 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003226/0.1989, allocations: 1.539 MB / 0.7204 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005936/0.1995, allocations: 176.3 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.1996, allocations: 4 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.1996, allocations: 7.938 kB / 0.7206 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.1996, allocations: 3.938 kB / 0.7206 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2, allocations: 51.88 kB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.2001, allocations: 39.86 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2002, allocations: 11.98 kB / 0.7207 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.2002, allocations: 15.92 kB / 0.7207 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.2003, allocations: 19.91 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.2003, allocations: 4 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2004, allocations: 47.95 kB / 0.7208 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2004, allocations: 8 kB / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.2005, allocations: 23.91 kB / 0.7208 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.2006, allocations: 63.73 kB / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2007, allocations: 0 / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2007, allocations: 0 / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2007, allocations: 0 / 0.7209 GB, free: 12.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004922/0.2012, allocations: 286.2 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2012, allocations: 8.031 kB / 0.7212 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.2012, allocations: 34.69 kB / 0.7212 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.2013, allocations: 4.938 kB / 0.7212 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2014, allocations: 114.5 kB / 0.7213 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2014, allocations: 8.375 kB / 0.7213 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2014, allocations: 4.375 kB / 0.7213 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.2016, allocations: 58.23 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2016, allocations: 3.938 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2016, allocations: 0 / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2017, allocations: 0 / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2019, allocations: 47.89 kB / 0.7214 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.2023, allocations: 247.9 kB / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.2026, allocations: 62.53 kB / 0.7217 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2027, allocations: 28.88 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.2029, allocations: 15.98 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.2029, allocations: 38.44 kB / 0.7218 GB, free: 11.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2029, allocations: 0 / 0.7218 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000392/0.2033, allocations: 97.59 kB / 0.7219 GB, free: 11.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.2033, allocations: 59.39 kB / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.2034, allocations: 109.8 kB / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2034, allocations: 25.7 kB / 0.7221 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.2035, allocations: 88.14 kB / 0.7222 GB, free: 11.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.2035, allocations: 3.953 kB / 0.7222 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2035, allocations: 17.72 kB / 0.7222 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2037, allocations: 318.8 kB / 0.7225 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.2038, allocations: 19.98 kB / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.2039, allocations: 31.91 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.204, allocations: 36.83 kB / 0.7226 GB, free: 10.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.204, allocations: 4 kB / 0.7226 GB, free: 10.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002227/0.2043, allocations: 85.53 kB / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2043, allocations: 4 kB / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2043, allocations: 4 kB / 0.7227 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2043, allocations: 0 / 0.7227 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.2044, allocations: 15.98 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2044, allocations: 0 / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.2044, allocations: 4 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2044, allocations: 0 / 0.7227 GB, free: 10.7 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: 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.781e-05/0.2045, allocations: 125.7 kB / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2046, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.2048, allocations: 85.64 kB / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2048, allocations: 4 kB / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2048, allocations: 0 / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2048, allocations: 0 / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.205, allocations: 136.6 kB / 0.723 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.205, allocations: 0 / 0.723 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.2051, allocations: 11.98 kB / 0.723 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2051, allocations: 0 / 0.723 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2051, allocations: 0 / 0.723 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.2051, allocations: 4 kB / 0.723 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2051, allocations: 3.938 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.2054, allocations: 183.8 kB / 0.7232 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.2054, allocations: 0 / 0.7232 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.2054, allocations: 4 kB / 0.7232 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.2055, allocations: 7.984 kB / 0.7232 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2055, allocations: 8.016 kB / 0.7232 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2055, allocations: 0 / 0.7232 GB, free: 10.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.2056, allocations: 87.28 kB / 0.7233 GB, free: 9.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2056, allocations: 0 / 0.7233 GB, free: 9.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002462/0.2058, allocations: 27.89 kB / 0.7234 GB, free: 9.938 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: 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.000668/0.2065, allocations: 0.728 MB / 0.7241 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2067, allocations: 39.95 kB / 0.7241 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2067, allocations: 0 / 0.7241 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2068, allocations: 27.97 kB / 0.7241 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2071, allocations: 0 / 0.7241 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2087, allocations: 1.295 MB / 0.7254 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.2087, allocations: 67.33 kB / 0.7255 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.2088, allocations: 4 kB / 0.7255 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2088, allocations: 19.44 kB / 0.7255 GB, free: 7.633 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2088, allocations: 0 / 0.7255 GB, free: 7.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.2385, allocations: 2.513 MB / 0.7279 GB, free: 5.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.28, allocations: 5.188 kB / 0.7279 GB, free: 5.266 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.085534362122416] Failed to read output from testmodel.py, exit status != 0: 11.388800683896989 11.41588292 11.210233027 Calling exit ...