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.598/1.598, allocations: 252 MB / 268 MB, free: 10.88 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.001048/0.001048, allocations: 180.2 kB / 327.6 MB, free: 2.09 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.908/1.908, allocations: 205.4 MB / 0.5786 GB, free: 20.09 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.0008427/0.0008428, allocations: 92.23 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 13 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2317, allocations: 106.3 MB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001721/0.2335, allocations: 1.196 MB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004296/0.2339, allocations: 144.5 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.234, allocations: 0 / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.2341, allocations: 3.938 kB / 0.9028 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.157e-05/0.2341, allocations: 3.938 kB / 0.9028 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2344, allocations: 27.91 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.2345, allocations: 39.86 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2347, allocations: 23.98 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.2347, allocations: 15.92 kB / 0.9029 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.2348, allocations: 15.92 kB / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2348, allocations: 0 / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.2349, allocations: 27.97 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.2349, allocations: 4 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.235, allocations: 41.58 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2351, allocations: 51.91 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2351, allocations: 0 / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2351, allocations: 0 / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2351, allocations: 0 / 0.903 GB, free: 61.76 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.0004457/0.2356, allocations: 361.2 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2356, allocations: 8.031 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.2367, allocations: 240.5 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2368, allocations: 176.2 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.2368, allocations: 384 / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2369, allocations: 4.375 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.2374, allocations: 218 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2374, allocations: 192 / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2375, allocations: 7.875 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2375, allocations: 0 / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.2383, allocations: 323.6 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.2391, allocations: 468.9 kB / 0.9047 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2402, allocations: 342.2 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.2405, allocations: 116.8 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2405, allocations: 0 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.2406, allocations: 34.56 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2406, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.00111/0.2417, allocations: 365.3 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2417, allocations: 55.41 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.2418, allocations: 125.8 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2418, allocations: 25.7 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.2419, allocations: 92.05 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2419, allocations: 7.906 kB / 0.9058 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.2419, allocations: 0 / 0.9058 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.242, allocations: 322.8 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.2423, allocations: 111.9 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.2426, allocations: 112.1 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.2433, allocations: 220.7 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2433, allocations: 3.938 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006725/0.2439, allocations: 253.5 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.244, allocations: 4 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.244, allocations: 0 / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.244, allocations: 0 / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2443, allocations: 39.95 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2443, allocations: 4 kB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2445, allocations: 43.8 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2445, allocations: 3.984 kB / 0.9069 GB, free: 57.54 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 7.066e-05/0.2446, allocations: 117.8 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2446, allocations: 4 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.2446, allocations: 23.83 kB / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2447, allocations: 0 / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2447, allocations: 0 / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2447, allocations: 0 / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.2449, allocations: 209.5 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2449, allocations: 0 / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.2451, allocations: 47.89 kB / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2451, allocations: 0 / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2451, allocations: 3.984 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2451, allocations: 3.984 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2451, allocations: 0 / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.2458, allocations: 355.2 kB / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.2459, allocations: 77.11 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2459, allocations: 0 / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2461, allocations: 39.95 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.2462, allocations: 7.984 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2462, allocations: 4 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.2463, allocations: 95.58 kB / 0.9078 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2463, allocations: 0 / 0.9078 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002517/0.2465, allocations: 15.91 kB / 0.9079 GB, free: 56.45 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.0001016/0.2467, allocations: 103.1 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.2474, allocations: 235.7 kB / 0.9082 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2474, allocations: 0 / 0.9082 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.2477, allocations: 119.9 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2481, allocations: 4 kB / 0.9083 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.2489, allocations: 326.1 kB / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2491, allocations: 0.6965 MB / 0.9093 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.2492, allocations: 15.42 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of SimCode: time 8.81e-07/0.2492, allocations: 0 / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.00243/0.2516, allocations: 1.163 MB / 0.9104 GB, free: 53.75 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)