Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 176.5 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 0.5777 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007436/0.0007436, allocations: 90.95 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 15.75 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 106.3 MB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001502/0.2096, allocations: 1.184 MB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.2099, allocations: 128.5 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.2099, allocations: 0 / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.21, allocations: 7.984 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.21, allocations: 3.938 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2102, allocations: 27.97 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.045e-05/0.2103, allocations: 39.84 kB / 0.9017 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.2104, allocations: 16 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2105, allocations: 7.984 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.2105, allocations: 19.86 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.2105, allocations: 4 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.2106, allocations: 31.95 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.2106, allocations: 7.938 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.2106, allocations: 29.7 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.378e-05/0.2107, allocations: 39.94 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2107, allocations: 0 / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2107, allocations: 0 / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2108, allocations: 3.938 kB / 0.9018 GB, free: 62.8 MB / 0.6042 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.0003525/0.2111, allocations: 359.5 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2112, allocations: 15.97 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.503e-05/0.2112, allocations: 34.56 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.2123, allocations: 235.6 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.818e-05/0.2123, allocations: 178.9 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2124, allocations: 4 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2124, allocations: 4 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.2129, allocations: 213.5 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2129, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2129, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.213, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.2137, allocations: 323.5 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.2146, allocations: 465 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2156, allocations: 342.2 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.216, allocations: 116.8 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.216, allocations: 3.938 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.216, allocations: 34.52 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.216, allocations: 8 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.001093/0.2171, allocations: 357.3 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2172, allocations: 55.41 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.2172, allocations: 118 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2173, allocations: 25.7 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.2173, allocations: 96.14 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2173, allocations: 7.812 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.2173, allocations: 0 / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.2174, allocations: 322.8 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.2178, allocations: 116.2 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.2181, allocations: 111.9 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.2184, allocations: 107.8 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2184, allocations: 0 / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000666/0.2191, allocations: 253.7 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2191, allocations: 4 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2191, allocations: 7.953 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2191, allocations: 0 / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2194, allocations: 43.98 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.2194, allocations: 0 / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2196, allocations: 51.78 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2196, allocations: 0 / 0.9057 GB, free: 58.64 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.2197, allocations: 121.8 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.2197, allocations: 4 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.2198, allocations: 11.91 kB / 0.9058 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2198, allocations: 3.953 kB / 0.9058 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2198, allocations: 4 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2198, allocations: 0 / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.22, allocations: 209.7 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.22, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.2202, allocations: 43.94 kB / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2202, allocations: 0 / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2202, allocations: 0 / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2202, allocations: 7.953 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2202, allocations: 0 / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.2209, allocations: 355.2 kB / 0.9064 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.221, allocations: 77.11 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.221, allocations: 0 / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2212, allocations: 35.95 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.2213, allocations: 15.88 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2213, allocations: 4 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.2213, allocations: 95.27 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2213, allocations: 0 / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000206/0.2215, allocations: 12 kB / 0.9066 GB, free: 57.56 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/0.2224, allocations: 0.8724 MB / 0.9075 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006949/0.2231, allocations: 240 kB / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2231, allocations: 7.938 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.2235, allocations: 115.9 kB / 0.9078 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2237, allocations: 11.89 kB / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.2258, allocations: 0.9042 MB / 0.9087 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2259, allocations: 0.6887 MB / 0.9094 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.226, allocations: 23.98 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.2261, allocations: 11.44 kB / 0.9094 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2261, allocations: 0 / 0.9094 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.2364, allocations: 1.658 MB / 0.911 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.2366, allocations: 188.3 kB / 0.9112 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.766, allocations: 3.938 kB / 0.9112 GB, free: 52.83 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)