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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.6 MB, free: 10.91 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.00103/0.00103, allocations: 179.1 kB / 327.3 MB, free: 2.203 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.656/1.656, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0007602/0.0007602, allocations: 89.47 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003126, allocations: 13.38 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.212, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001641/0.2137, allocations: 1.18 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000333/0.2141, allocations: 140.5 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2141, allocations: 0 / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.2142, allocations: 0 / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.2142, allocations: 11.94 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.2144, allocations: 23.97 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.2145, allocations: 35.84 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2147, allocations: 15.98 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2147, allocations: 16 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.2148, allocations: 11.92 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2148, allocations: 0 / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.2149, allocations: 39.84 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.2149, allocations: 0 / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2149, allocations: 33.7 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.966e-05/0.215, allocations: 47.86 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.215, allocations: 0 / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2151, allocations: 0 / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2151, allocations: 0 / 0.9023 GB, free: 62.33 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.0004366/0.2155, allocations: 363.4 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2156, allocations: 12.03 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.2167, allocations: 243.6 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2168, allocations: 171 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2168, allocations: 4 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2168, allocations: 4 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.2174, allocations: 209.5 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2174, allocations: 0 / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.2175, allocations: 3.984 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2175, allocations: 4 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.2183, allocations: 323.6 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.2192, allocations: 468.8 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2202, allocations: 334.2 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.2206, allocations: 120.8 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2207, allocations: 0 / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2207, allocations: 38.5 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2207, allocations: 4 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.00113/0.2218, allocations: 365.3 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2219, allocations: 51.41 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.222, allocations: 122 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.222, allocations: 25.7 kB / 0.9051 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.2221, allocations: 88.14 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2221, allocations: 11.81 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.2221, allocations: 0 / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.2222, allocations: 322.8 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.2225, allocations: 112.2 kB / 0.9056 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.2229, allocations: 115.9 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.2232, allocations: 103.8 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2232, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006951/0.2239, allocations: 253.4 kB / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2239, allocations: 8 kB / 0.906 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2239, allocations: 4 kB / 0.906 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.224, allocations: 3.953 kB / 0.9061 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.2242, allocations: 43.94 kB / 0.9061 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2242, allocations: 0 / 0.9061 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2245, allocations: 43.89 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2245, allocations: 4 kB / 0.9061 GB, free: 58.21 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 8.39e-05/0.2246, allocations: 113.8 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2246, allocations: 3.906 kB / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.2246, allocations: 11.91 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2247, allocations: 3.953 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2247, allocations: 4 kB / 0.9063 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2247, allocations: 4 kB / 0.9063 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2249, allocations: 201.6 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2249, allocations: 3.938 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2251, allocations: 43.94 kB / 0.9065 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2251, allocations: 0 / 0.9065 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2251, allocations: 8 kB / 0.9065 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.2251, allocations: 3.953 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2251, allocations: 0 / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007056/0.2259, allocations: 351.5 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.2259, allocations: 77.16 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2259, allocations: 7.984 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2261, allocations: 35.95 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2262, allocations: 7.953 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.2262, allocations: 11.98 kB / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.2263, allocations: 95.27 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.92e-07/0.2263, allocations: 3.938 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002139/0.2265, allocations: 15.94 kB / 0.9071 GB, free: 57.12 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.0001245/0.2266, allocations: 95.25 kB / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007208/0.2273, allocations: 231.8 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2273, allocations: 0 / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.2277, allocations: 124.1 kB / 0.9075 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.228, allocations: 9.344 kB / 0.9075 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/0.2288, allocations: 322 kB / 0.9078 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.229, allocations: 0.6926 MB / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.2291, allocations: 11.44 kB / 0.9085 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2291, allocations: 0 / 0.9085 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.002238/0.2313, allocations: 1.15 MB / 0.9097 GB, free: 54.45 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)