Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001332/0.001332, allocations: 113 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.001445/0.001445, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 8.035 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.9027/0.9027, allocations: 145 MB / 457.4 MB, free: 15.98 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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.001995/0.001995, allocations: 62.12 kB / 0.6332 GB, free: 7.402 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1931, allocations: 87.89 MB / 0.719 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002866/0.196, allocations: 1.494 MB / 0.7205 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1972, allocations: 0.6242 MB / 0.7211 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.1973, allocations: 3.938 kB / 0.7211 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.1973, allocations: 7.922 kB / 0.7211 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.1974, allocations: 3.938 kB / 0.7211 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1977, allocations: 63.81 kB / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1978, allocations: 35.86 kB / 0.7212 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.1979, allocations: 0 / 0.7212 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1981, allocations: 27.91 kB / 0.7212 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.1981, allocations: 11.94 kB / 0.7212 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1981, allocations: 0 / 0.7212 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1983, allocations: 51.95 kB / 0.7213 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.1983, allocations: 11.98 kB / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.1983, allocations: 11.92 kB / 0.7213 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1985, allocations: 75.73 kB / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1985, allocations: 3.938 kB / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1985, allocations: 0 / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1985, allocations: 4 kB / 0.7214 GB, free: 13.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004402/0.1989, allocations: 278.1 kB / 0.7216 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.199, allocations: 8.031 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.199, allocations: 34.75 kB / 0.7217 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1992, allocations: 16.88 kB / 0.7217 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1994, allocations: 118.4 kB / 0.7218 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1994, allocations: 4.375 kB / 0.7218 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1994, allocations: 384 / 0.7218 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1995, allocations: 49.81 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1995, allocations: 3.984 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1995, allocations: 0 / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1995, allocations: 0 / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.1996, allocations: 23.92 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.2, allocations: 228 kB / 0.7221 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.2001, allocations: 30.58 kB / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.2001, allocations: 21.58 kB / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/0.2008, allocations: 83.88 kB / 0.7222 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.2008, allocations: 42.55 kB / 0.7223 GB, free: 12.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2008, allocations: 0 / 0.7223 GB, free: 12.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002668/0.2011, allocations: 61.62 kB / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.2011, allocations: 55.34 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2012, allocations: 117.8 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2013, allocations: 25.7 kB / 0.7225 GB, free: 11.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.2013, allocations: 88.12 kB / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2013, allocations: 12.02 kB / 0.7226 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.2014, allocations: 13.72 kB / 0.7226 GB, free: 11.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2015, allocations: 322.8 kB / 0.7229 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.2016, allocations: 8 kB / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.2016, allocations: 11.98 kB / 0.723 GB, free: 11.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.456e-05/0.2017, allocations: 32.78 kB / 0.723 GB, free: 11.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2017, allocations: 4.062 kB / 0.723 GB, free: 11.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.2018, allocations: 57.64 kB / 0.723 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2018, allocations: 4 kB / 0.723 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2018, allocations: 0 / 0.723 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2019, allocations: 0 / 0.723 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.2019, allocations: 7.984 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2019, allocations: 0 / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.202, allocations: 4.375 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.202, allocations: 0 / 0.7231 GB, free: 11.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001016/0.2021, allocations: 121.8 kB / 0.7232 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.2021, allocations: 0 / 0.7232 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.2023, allocations: 65.17 kB / 0.7232 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.2023, allocations: 0 / 0.7232 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2023, allocations: 0 / 0.7232 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2023, allocations: 4 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2025, allocations: 140.6 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2025, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.2025, allocations: 8.031 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.2025, allocations: 4 kB / 0.7234 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2025, allocations: 0 / 0.7234 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2025, allocations: 3.984 kB / 0.7234 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2025, allocations: 0 / 0.7234 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.2027, allocations: 151.4 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.2027, allocations: 7.953 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2027, allocations: 4.031 kB / 0.7235 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.2028, allocations: 7.922 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.2028, allocations: 4 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2028, allocations: 0 / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.2029, allocations: 91.27 kB / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2029, allocations: 0 / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002338/0.2031, allocations: 15.94 kB / 0.7237 GB, free: 10.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005777/0.2037, allocations: 0.6929 MB / 0.7243 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2038, allocations: 23.98 kB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2038, allocations: 0 / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.2039, allocations: 11.98 kB / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2041, allocations: 5.875 kB / 0.7244 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2055, allocations: 1.266 MB / 0.7256 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2059, allocations: 0.6807 MB / 0.7263 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.2059, allocations: 0 / 0.7263 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.2059, allocations: 19.7 kB / 0.7263 GB, free: 7.621 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.2059, allocations: 3.938 kB / 0.7263 GB, free: 7.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.2345, allocations: 1.777 MB / 0.728 GB, free: 5.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.89, allocations: 14.88 kB / 0.7281 GB, free: 5.953 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.675844068002334] Failed to read output from testmodel.py, exit status != 0: 10.995637812000496 11.020901796 10.817376067 Calling exit ...