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.1848/0.1855, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00195/0.1875, allocations: 1.159 MB / 0.5952 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004586/0.188, allocations: 135.6 kB / 0.5954 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.1881, allocations: 0 / 0.5954 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.1881, allocations: 3.984 kB / 0.5954 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.1882, allocations: 7.938 kB / 0.5954 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1884, allocations: 15.98 kB / 0.5954 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1885, allocations: 43.91 kB / 0.5954 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1887, allocations: 20.27 kB / 0.5955 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1887, allocations: 7.938 kB / 0.5955 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.1888, allocations: 15.92 kB / 0.5955 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1888, allocations: 7.938 kB / 0.5955 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.1889, allocations: 35.91 kB / 0.5955 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1889, allocations: 3.984 kB / 0.5955 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.189, allocations: 45.56 kB / 0.5956 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1891, allocations: 59.8 kB / 0.5956 GB, free: 4.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1891, allocations: 4 kB / 0.5956 GB, free: 4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1892, allocations: 0 / 0.5956 GB, free: 4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1892, allocations: 0 / 0.5956 GB, free: 4 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.0004953/0.1897, allocations: 351.4 kB / 0.596 GB, free: 3.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1897, allocations: 8.031 kB / 0.596 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.1909, allocations: 252.5 kB / 0.5962 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.191, allocations: 168.3 kB / 0.5964 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.191, allocations: 4.375 kB / 0.5964 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1911, allocations: 4.375 kB / 0.5964 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/0.1917, allocations: 217.6 kB / 0.5966 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1917, allocations: 3.984 kB / 0.5966 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1917, allocations: 0 / 0.5966 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1917, allocations: 7.938 kB / 0.5966 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.1926, allocations: 319.5 kB / 0.5969 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.1935, allocations: 461.2 kB / 0.5973 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.1947, allocations: 342.1 kB / 0.5977 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.1951, allocations: 124.8 kB / 0.5978 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1951, allocations: 0 / 0.5978 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1952, allocations: 34.55 kB / 0.5978 GB, free: 1.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1952, allocations: 0 / 0.5978 GB, free: 1.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001233/0.1964, allocations: 361.3 kB / 0.5982 GB, free: 1.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1965, allocations: 55.41 kB / 0.5982 GB, free: 1.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1966, allocations: 121.8 kB / 0.5983 GB, free: 1.031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1966, allocations: 25.7 kB / 0.5984 GB, free: 1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1967, allocations: 95.98 kB / 0.5985 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1967, allocations: 7.891 kB / 0.5985 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.1967, allocations: 13.72 kB / 0.5985 GB, free: 0.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1968, allocations: 318.8 kB / 0.5988 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.1972, allocations: 115.9 kB / 0.5989 GB, free: 452 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.1976, allocations: 115.9 kB / 0.599 GB, free: 336 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.1983, allocations: 208.6 kB / 0.5992 GB, free: 124 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1983, allocations: 0 / 0.5992 GB, free: 124 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007941/0.1991, allocations: 249.5 kB / 0.5994 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1992, allocations: 8 kB / 0.5994 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1992, allocations: 0 / 0.5994 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1992, allocations: 0 / 0.5994 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.1995, allocations: 51.88 kB / 0.5995 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1995, allocations: 0 / 0.5995 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1997, allocations: 47.8 kB / 0.5995 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1998, allocations: 0 / 0.5995 GB, free: 15.77 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.418e-05/0.1999, allocations: 117.8 kB / 0.5997 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1999, allocations: 4 kB / 0.5997 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1999, allocations: 7.906 kB / 0.5997 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1999, allocations: 0 / 0.5997 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2, allocations: 4.375 kB / 0.5997 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2, allocations: 3.938 kB / 0.5997 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2002, allocations: 213.6 kB / 0.5999 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2002, allocations: 4 kB / 0.5999 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.2005, allocations: 47.88 kB / 0.5999 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.2005, allocations: 4 kB / 0.5999 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2005, allocations: 336 / 0.5999 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2005, allocations: 0 / 0.5999 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2005, allocations: 0 / 0.5999 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.2014, allocations: 363.8 kB / 0.6003 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.2015, allocations: 81.11 kB / 0.6004 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2015, allocations: 3.984 kB / 0.6004 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.2017, allocations: 39.95 kB / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2018, allocations: 0 / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2018, allocations: 3.938 kB / 0.6004 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.098e-05/0.2019, allocations: 95.27 kB / 0.6005 GB, free: 14.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2019, allocations: 0 / 0.6005 GB, free: 14.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.2021, allocations: 16 kB / 0.6005 GB, free: 14.68 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 (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.0001061/0.2022, allocations: 95.23 kB / 0.6006 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.203, allocations: 235.8 kB / 0.6008 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2031, allocations: 0 / 0.6008 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.2034, allocations: 115.8 kB / 0.6009 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2037, allocations: 18.88 kB / 0.6009 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2048, allocations: 304.4 kB / 0.6012 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.205, allocations: 0.6848 MB / 0.6019 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.568e-05/0.2051, allocations: 20 kB / 0.6019 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.2052, allocations: 15.36 kB / 0.6019 GB, free: 13.15 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2052, allocations: 0 / 0.6019 GB, free: 13.15 MB / 462.1 MB Notification: Performance of Templates: time 0.002772/0.208, allocations: 0.8276 MB / 0.6027 GB, free: 12.32 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: