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.333/1.333, allocations: 252 MB / 267.3 MB, free: 10.84 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.0008796/0.0008797, allocations: 166.8 kB / 327 MB, free: 2.098 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.556/1.556, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0006595/0.0006596, allocations: 80.73 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003388, allocations: 10.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00155/0.2103, allocations: 1.195 MB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003907/0.2107, allocations: 140.5 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.2107, allocations: 0 / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.2108, allocations: 3.938 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.2109, allocations: 0 / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.2111, allocations: 35.89 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.2112, allocations: 35.86 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2114, allocations: 27.98 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.2114, allocations: 7.938 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.2115, allocations: 15.92 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2115, allocations: 0 / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2116, allocations: 39.95 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2116, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2117, allocations: 45.56 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2118, allocations: 59.84 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2118, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2118, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2118, allocations: 3.938 kB / 0.9025 GB, free: 61.75 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.0004025/0.2122, allocations: 359.7 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2123, allocations: 11.97 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.2123, allocations: 30.75 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2134, allocations: 244.5 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.2135, allocations: 172.2 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2135, allocations: 8.375 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.2135, allocations: 4.375 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.2141, allocations: 214 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2141, allocations: 7.938 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2141, allocations: 4 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2141, allocations: 0 / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.2149, allocations: 315.6 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.2157, allocations: 464.9 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2167, allocations: 334.2 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.2171, allocations: 124.8 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2171, allocations: 0 / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2171, allocations: 34.55 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.2171, allocations: 3.984 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.001078/0.2182, allocations: 369.3 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.2182, allocations: 51.41 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.2183, allocations: 117.8 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2183, allocations: 25.7 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.2184, allocations: 96.03 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.2184, allocations: 7.906 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.2184, allocations: 4 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.2185, allocations: 318.8 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.2188, allocations: 115.9 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.2191, allocations: 111.9 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.2198, allocations: 216.5 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2198, allocations: 0 / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006673/0.2204, allocations: 253.4 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2205, allocations: 6.5 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2205, allocations: 0 / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2205, allocations: 4.375 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2208, allocations: 47.94 kB / 0.9064 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2208, allocations: 7.984 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.221, allocations: 35.89 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.221, allocations: 11.94 kB / 0.9064 GB, free: 57.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.2211, allocations: 121.8 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2211, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2211, allocations: 7.906 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2211, allocations: 0 / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2211, allocations: 0 / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2212, allocations: 0 / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2213, allocations: 217.4 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2213, allocations: 0 / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.2216, allocations: 47.94 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2216, allocations: 0 / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2216, allocations: 4 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2216, allocations: 4 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2216, allocations: 0 / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.2223, allocations: 347.2 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.2223, allocations: 81.02 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2224, allocations: 7.984 kB / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2226, allocations: 35.95 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2226, allocations: 4 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2226, allocations: 4 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.2227, allocations: 103.2 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2227, allocations: 0 / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002132/0.2229, allocations: 19.94 kB / 0.9074 GB, free: 56.39 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 (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.0008783/0.2238, allocations: 0.8689 MB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006865/0.2245, allocations: 231.8 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2245, allocations: 7.938 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.2249, allocations: 123.8 kB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.2251, allocations: 8 kB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.2281, allocations: 1.959 MB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.2282, allocations: 0.6887 MB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.428e-05/0.2283, allocations: 27.83 kB / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.2284, allocations: 15.44 kB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2284, allocations: 0 / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.2389, allocations: 1.668 MB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.2391, allocations: 202.5 kB / 0.913 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.944, allocations: 3.234 kB / 0.913 GB, free: 50.55 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)