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.001782/0.001782, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002224/0.002224, allocations: 215.8 kB / 22.25 MB, free: 5.082 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8 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.9254/0.9254, allocations: 145 MB / 457.4 MB, free: 15.53 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.002049/0.002049, allocations: 71.09 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1956, allocations: 87.87 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003332/0.1989, allocations: 1.565 MB / 0.7205 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005277/0.1994, allocations: 188.3 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.1995, allocations: 0 / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1995, allocations: 7.922 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.1996, allocations: 3.938 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1999, allocations: 51.88 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.2, allocations: 39.92 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2001, allocations: 8 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.2002, allocations: 19.91 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.2002, allocations: 23.92 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2002, allocations: 4 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2004, allocations: 51.94 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.2004, allocations: 7.984 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.2004, allocations: 15.88 kB / 0.7209 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.2006, allocations: 67.78 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.2006, allocations: 4 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2006, allocations: 0 / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2006, allocations: 7.938 kB / 0.721 GB, free: 13.36 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.0004914/0.2011, allocations: 282.2 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2011, allocations: 12.02 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2012, allocations: 30.75 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.2012, allocations: 8.938 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2013, allocations: 114.4 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2014, allocations: 4.375 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2014, allocations: 4.375 kB / 0.7214 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.2016, allocations: 66.22 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2016, allocations: 3.938 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2016, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2016, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.2018, allocations: 47.94 kB / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.2022, allocations: 247.9 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2025, allocations: 62.53 kB / 0.7218 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.2026, allocations: 20.91 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.2028, allocations: 11.98 kB / 0.7219 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2028, allocations: 38.55 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2028, allocations: 4 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003915/0.2032, allocations: 97.53 kB / 0.722 GB, free: 12.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.2033, allocations: 51.41 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.2033, allocations: 109.8 kB / 0.7222 GB, free: 12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2034, allocations: 25.7 kB / 0.7222 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.2034, allocations: 88.12 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.2034, allocations: 7.891 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.2035, allocations: 21.72 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2036, allocations: 318.8 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.2037, allocations: 19.97 kB / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.2038, allocations: 19.98 kB / 0.7226 GB, free: 11.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.204, allocations: 52.75 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.204, allocations: 4 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002145/0.2042, allocations: 69.94 kB / 0.7228 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2042, allocations: 10.19 kB / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2042, allocations: 0 / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2042, allocations: 3.938 kB / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.2043, allocations: 11.98 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2043, allocations: 0 / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.2044, allocations: 11.98 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.2044, allocations: 7.984 kB / 0.7228 GB, free: 11.31 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 0.0001109/0.2045, allocations: 113.8 kB / 0.7229 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2045, allocations: 0 / 0.7229 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.2048, allocations: 89.58 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2048, allocations: 7.922 kB / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2048, allocations: 0 / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2048, allocations: 0 / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.205, allocations: 148.6 kB / 0.7231 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.205, allocations: 0 / 0.7231 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.2051, allocations: 11.98 kB / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2051, allocations: 0 / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2051, allocations: 8 kB / 0.7232 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2051, allocations: 320 / 0.7232 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2051, allocations: 0 / 0.7232 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.2054, allocations: 175.4 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.2054, allocations: 3.984 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2054, allocations: 4 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.2055, allocations: 0 / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2056, allocations: 11.98 kB / 0.7234 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2056, allocations: 0 / 0.7234 GB, free: 10.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.2056, allocations: 95.25 kB / 0.7234 GB, free: 10.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2056, allocations: 0 / 0.7234 GB, free: 10.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000251/0.2059, allocations: 19.89 kB / 0.7235 GB, free: 10.55 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.0006781/0.2066, allocations: 0.728 MB / 0.7242 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.2068, allocations: 43.95 kB / 0.7242 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2068, allocations: 7.938 kB / 0.7242 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.797e-05/0.2069, allocations: 23.98 kB / 0.7242 GB, free: 9.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2072, allocations: 4 kB / 0.7242 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.2089, allocations: 1.292 MB / 0.7255 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.2093, allocations: 0.6847 MB / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.2093, allocations: 3.938 kB / 0.7262 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.2094, allocations: 19.42 kB / 0.7262 GB, free: 7.617 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.2094, allocations: 0 / 0.7262 GB, free: 7.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.2408, allocations: 2.067 MB / 0.7282 GB, free: 5.684 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.98, allocations: 12.73 kB / 0.7282 GB, free: 5.672 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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: 14.84308690800026] Failed to read output from testmodel.py, exit status != 0: 11.086772245998873 11.104757385 10.901005262 Calling exit ...