Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.001346/0.001346, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001391/0.001391, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.977 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.9137/0.9137, allocations: 145 MB / 457.4 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.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",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.002031/0.002031, allocations: 72.14 kB / 0.6332 GB, free: 7.223 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1976, allocations: 87.88 MB / 0.719 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002755/0.2003, allocations: 1.483 MB / 0.7205 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004092/0.2007, allocations: 140.4 kB / 0.7206 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.2008, allocations: 4 kB / 0.7206 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.131e-05/0.2008, allocations: 3.984 kB / 0.7206 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.2009, allocations: 3.938 kB / 0.7206 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.2011, allocations: 31.91 kB / 0.7206 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2012, allocations: 43.84 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2013, allocations: 15.98 kB / 0.7207 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.2014, allocations: 15.94 kB / 0.7207 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.2014, allocations: 23.92 kB / 0.7207 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2015, allocations: 4 kB / 0.7207 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.364e-05/0.2016, allocations: 31.97 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.2016, allocations: 15.97 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.2016, allocations: 15.88 kB / 0.7208 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2018, allocations: 75.61 kB / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2018, allocations: 0 / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2018, allocations: 0 / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2018, allocations: 0 / 0.7209 GB, free: 13.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004843/0.2023, allocations: 286.2 kB / 0.7211 GB, free: 13.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2023, allocations: 12.03 kB / 0.7211 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.2023, allocations: 38.73 kB / 0.7212 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.2034, allocations: 208.5 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2036, allocations: 118.5 kB / 0.7215 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2036, allocations: 4.375 kB / 0.7215 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2036, allocations: 384 / 0.7215 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.2042, allocations: 198 kB / 0.7217 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2042, allocations: 3.938 kB / 0.7217 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2042, allocations: 0 / 0.7217 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2042, allocations: 0 / 0.7217 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008115/0.205, allocations: 279.6 kB / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.206, allocations: 412.2 kB / 0.7224 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.2071, allocations: 294.1 kB / 0.7226 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.2074, allocations: 96.8 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.2075, allocations: 0 / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2075, allocations: 30.56 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2075, allocations: 0 / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001142/0.2087, allocations: 313.3 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.2087, allocations: 59.33 kB / 0.7231 GB, free: 10.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2088, allocations: 121.8 kB / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.2088, allocations: 25.7 kB / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2089, allocations: 96.14 kB / 0.7233 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2089, allocations: 19.83 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.209, allocations: 17.72 kB / 0.7234 GB, free: 10.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2091, allocations: 318.8 kB / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.2095, allocations: 99.86 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.2098, allocations: 95.88 kB / 0.7239 GB, free: 10.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.2104, allocations: 173 kB / 0.724 GB, free: 9.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2104, allocations: 0 / 0.724 GB, free: 9.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007057/0.2111, allocations: 209.4 kB / 0.7242 GB, free: 9.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2112, allocations: 8 kB / 0.7242 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2112, allocations: 7.938 kB / 0.7242 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2112, allocations: 0 / 0.7242 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2114, allocations: 35.94 kB / 0.7243 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2115, allocations: 0 / 0.7243 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2116, allocations: 31.91 kB / 0.7243 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2117, allocations: 4 kB / 0.7243 GB, free: 9.691 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 (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.0001087/0.2118, allocations: 121.8 kB / 0.7244 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.2118, allocations: 0 / 0.7244 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.2118, allocations: 12 kB / 0.7244 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2118, allocations: 0 / 0.7244 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2119, allocations: 0 / 0.7244 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2119, allocations: 0 / 0.7244 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.2121, allocations: 180.6 kB / 0.7246 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2121, allocations: 0 / 0.7246 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2123, allocations: 39.94 kB / 0.7247 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2123, allocations: 0 / 0.7247 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2123, allocations: 4 kB / 0.7247 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2123, allocations: 4 kB / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2123, allocations: 0 / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.2131, allocations: 319.1 kB / 0.725 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.2131, allocations: 7.938 kB / 0.725 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2132, allocations: 4 kB / 0.725 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2134, allocations: 27.95 kB / 0.725 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.2134, allocations: 0 / 0.725 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2134, allocations: 7.984 kB / 0.725 GB, free: 8.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.453e-05/0.2135, allocations: 99.2 kB / 0.7251 GB, free: 8.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2135, allocations: 0 / 0.7251 GB, free: 8.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002332/0.2137, allocations: 19.94 kB / 0.7251 GB, free: 8.785 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 (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.001074/0.2148, allocations: 0.8337 MB / 0.7259 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007374/0.2155, allocations: 191.7 kB / 0.7261 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2155, allocations: 4 kB / 0.7261 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.2159, allocations: 100.3 kB / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2161, allocations: 10 kB / 0.7262 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.2198, allocations: 1.86 MB / 0.728 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2201, allocations: 0.6924 MB / 0.7287 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.2202, allocations: 19.98 kB / 0.7287 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.2203, allocations: 11.44 kB / 0.7288 GB, free: 4.941 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.2203, allocations: 4 kB / 0.7288 GB, free: 4.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.2488, allocations: 2.072 MB / 0.7308 GB, free: 2.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.96, allocations: 6.047 kB / 0.7308 GB, free: 2.996 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.737631184998463] Failed to read output from testmodel.py, exit status != 0: 11.06981441100288 11.087376522 10.882355599 Calling exit ...