Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2241/0.2249, allocations: 82.21 MB / 0.5935 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001881/0.2269, allocations: 1.151 MB / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.2272, allocations: 127.7 kB / 0.5947 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.2273, allocations: 0 / 0.5947 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.2273, allocations: 0 / 0.5947 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/0.2274, allocations: 3.938 kB / 0.5947 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.2276, allocations: 23.97 kB / 0.5947 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2278, allocations: 35.86 kB / 0.5948 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2279, allocations: 19.98 kB / 0.5948 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.228, allocations: 11.98 kB / 0.5948 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.228, allocations: 15.86 kB / 0.5948 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.228, allocations: 4 kB / 0.5948 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.2281, allocations: 27.97 kB / 0.5948 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.2282, allocations: 4 kB / 0.5948 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.2282, allocations: 29.7 kB / 0.5949 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2283, allocations: 56.06 kB / 0.5949 GB, free: 4.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.2283, allocations: 3.938 kB / 0.5949 GB, free: 4.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2283, allocations: 0 / 0.5949 GB, free: 4.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2284, allocations: 4 kB / 0.5949 GB, free: 4.41 MB / 446.1 MB 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.000529/0.2289, allocations: 355.2 kB / 0.5953 GB, free: 4.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.229, allocations: 8.031 kB / 0.5953 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.23, allocations: 247.5 kB / 0.5955 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.2302, allocations: 167 kB / 0.5957 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2302, allocations: 0 / 0.5957 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2302, allocations: 4 kB / 0.5957 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.2308, allocations: 217.4 kB / 0.5959 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2308, allocations: 3.984 kB / 0.5959 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2309, allocations: 4 kB / 0.5959 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2309, allocations: 0 / 0.5959 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.2317, allocations: 327.5 kB / 0.5962 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009584/0.2326, allocations: 453.3 kB / 0.5966 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2337, allocations: 338.2 kB / 0.597 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.234, allocations: 116.8 kB / 0.5971 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2341, allocations: 0 / 0.5971 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.2341, allocations: 46.5 kB / 0.5971 GB, free: 2.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2341, allocations: 0 / 0.5971 GB, free: 2.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.00113/0.2353, allocations: 361.2 kB / 0.5975 GB, free: 1.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.2353, allocations: 55.41 kB / 0.5975 GB, free: 1.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2355, allocations: 122 kB / 0.5976 GB, free: 1.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2355, allocations: 25.7 kB / 0.5977 GB, free: 1.418 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.2356, allocations: 92.08 kB / 0.5977 GB, free: 1.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.2356, allocations: 7.812 kB / 0.5978 GB, free: 1.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.2356, allocations: 4 kB / 0.5978 GB, free: 1.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2358, allocations: 322.8 kB / 0.5981 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.2361, allocations: 115.8 kB / 0.5982 GB, free: 0.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.2364, allocations: 119.8 kB / 0.5983 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.2367, allocations: 99.89 kB / 0.5984 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2368, allocations: 384 / 0.5984 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006766/0.2374, allocations: 253.5 kB / 0.5986 GB, free: 416 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2375, allocations: 4 kB / 0.5986 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2375, allocations: 3.984 kB / 0.5986 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2375, allocations: 3.938 kB / 0.5986 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.2378, allocations: 39.95 kB / 0.5987 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2378, allocations: 0 / 0.5987 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2379, allocations: 39.95 kB / 0.5987 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.238, allocations: 7.984 kB / 0.5987 GB, free: 316 kB / 446.1 MB 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 9.554e-05/0.2381, allocations: 113.8 kB / 0.5988 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.2381, allocations: 7.906 kB / 0.5988 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.2382, allocations: 19.84 kB / 0.5989 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2382, allocations: 0 / 0.5989 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2382, allocations: 3.984 kB / 0.5989 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2382, allocations: 0 / 0.5989 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.2385, allocations: 209.5 kB / 0.5991 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2385, allocations: 0 / 0.5991 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.2387, allocations: 43.95 kB / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2387, allocations: 0 / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2387, allocations: 0 / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.2387, allocations: 3.984 kB / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2387, allocations: 0 / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.2395, allocations: 359.5 kB / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.2395, allocations: 77.11 kB / 0.5995 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2395, allocations: 0 / 0.5995 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2397, allocations: 43.95 kB / 0.5996 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.2398, allocations: 3.984 kB / 0.5996 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2398, allocations: 4 kB / 0.5996 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.319e-05/0.2399, allocations: 95.2 kB / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2399, allocations: 0 / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.2401, allocations: 12 kB / 0.5997 GB, free: 15.24 MB / 462.1 MB 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.0001231/0.2402, allocations: 99.23 kB / 0.5998 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006906/0.2409, allocations: 239.7 kB / 0.6 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.241, allocations: 0 / 0.6 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2413, allocations: 119.9 kB / 0.6001 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2416, allocations: 10.48 kB / 0.6001 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.2424, allocations: 308.2 kB / 0.6004 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2427, allocations: 0.6887 MB / 0.6011 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.49e-05/0.2428, allocations: 27.92 kB / 0.6011 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.2429, allocations: 7.438 kB / 0.6011 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2429, allocations: 0 / 0.6011 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Templates: time 0.00332/0.2462, allocations: 0.8119 MB / 0.6019 GB, free: 12.89 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: