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.193/0.1938, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001692/0.1955, allocations: 1.157 MB / 0.5945 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.1958, allocations: 123.6 kB / 0.5946 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1959, allocations: 0 / 0.5946 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.1959, allocations: 0 / 0.5946 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.196, allocations: 3.984 kB / 0.5946 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1962, allocations: 27.91 kB / 0.5946 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.572e-05/0.1962, allocations: 23.97 kB / 0.5947 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1964, allocations: 16 kB / 0.5947 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.1964, allocations: 11.92 kB / 0.5947 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.1965, allocations: 19.91 kB / 0.5947 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1965, allocations: 4 kB / 0.5947 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.1966, allocations: 31.91 kB / 0.5947 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1966, allocations: 4 kB / 0.5947 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1966, allocations: 29.64 kB / 0.5948 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.1967, allocations: 48.16 kB / 0.5948 GB, free: 4.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.1967, allocations: 4 kB / 0.5948 GB, free: 4.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1967, allocations: 0 / 0.5948 GB, free: 4.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1967, allocations: 0 / 0.5948 GB, free: 4.484 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.0004638/0.1972, allocations: 354.4 kB / 0.5952 GB, free: 4.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1973, allocations: 8.031 kB / 0.5952 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.1984, allocations: 243.5 kB / 0.5954 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1986, allocations: 175 kB / 0.5956 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1986, allocations: 4 kB / 0.5956 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1986, allocations: 4 kB / 0.5956 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.1992, allocations: 213.3 kB / 0.5958 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1992, allocations: 0 / 0.5958 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1992, allocations: 4 kB / 0.5958 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1993, allocations: 4 kB / 0.5958 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.2001, allocations: 315.6 kB / 0.5961 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009494/0.2011, allocations: 449.3 kB / 0.5965 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2022, allocations: 342.1 kB / 0.5968 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2023, allocations: 12.12 kB / 0.5968 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2023, allocations: 34.56 kB / 0.5969 GB, free: 2.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2023, allocations: 0 / 0.5969 GB, free: 2.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001213/0.2035, allocations: 369.2 kB / 0.5972 GB, free: 1.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2036, allocations: 59.34 kB / 0.5973 GB, free: 1.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.2037, allocations: 114 kB / 0.5974 GB, free: 1.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.2037, allocations: 33.64 kB / 0.5974 GB, free: 1.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.2038, allocations: 92.14 kB / 0.5975 GB, free: 1.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.2038, allocations: 15.8 kB / 0.5975 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.2038, allocations: 0 / 0.5975 GB, free: 1.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.204, allocations: 318.8 kB / 0.5978 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.2043, allocations: 111.9 kB / 0.5979 GB, free: 1.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.2047, allocations: 119.9 kB / 0.5981 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.2051, allocations: 99.89 kB / 0.5982 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.2051, allocations: 0 / 0.5982 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000763/0.2058, allocations: 253.5 kB / 0.5984 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2059, allocations: 4 kB / 0.5984 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2059, allocations: 4 kB / 0.5984 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2059, allocations: 0 / 0.5984 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2062, allocations: 47.88 kB / 0.5984 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2062, allocations: 4 kB / 0.5985 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.2064, allocations: 31.95 kB / 0.5985 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2064, allocations: 4 kB / 0.5985 GB, free: 0.5078 MB / 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 0.000104/0.2065, allocations: 121.8 kB / 0.5986 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2065, allocations: 7.891 kB / 0.5986 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.2066, allocations: 11.91 kB / 0.5986 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2066, allocations: 0 / 0.5986 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2066, allocations: 4 kB / 0.5986 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.2066, allocations: 0 / 0.5986 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2068, allocations: 213.5 kB / 0.5988 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2069, allocations: 0 / 0.5988 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2071, allocations: 47.94 kB / 0.5989 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2071, allocations: 0 / 0.5989 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2071, allocations: 0 / 0.5989 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2071, allocations: 4 kB / 0.5989 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2071, allocations: 384 / 0.5989 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.208, allocations: 355.1 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.208, allocations: 77.11 kB / 0.5993 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.208, allocations: 4 kB / 0.5993 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.2083, allocations: 47.88 kB / 0.5993 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.2083, allocations: 7.938 kB / 0.5993 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2083, allocations: 0 / 0.5993 GB, free: 15.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.2084, allocations: 91.27 kB / 0.5994 GB, free: 15.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2084, allocations: 4 kB / 0.5994 GB, free: 15.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2086, allocations: 12 kB / 0.5995 GB, free: 15.43 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.0001158/0.2088, allocations: 99.23 kB / 0.5995 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007993/0.2096, allocations: 232.1 kB / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2096, allocations: 0 / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.21, allocations: 123.8 kB / 0.5999 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.2102, allocations: 3.953 kB / 0.5999 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.2111, allocations: 305.3 kB / 0.6002 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2115, allocations: 0.6887 MB / 0.6009 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.266e-05/0.2115, allocations: 20.17 kB / 0.6009 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.2116, allocations: 11.44 kB / 0.6009 GB, free: 13.89 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2116, allocations: 0 / 0.6009 GB, free: 13.89 MB / 462.1 MB Notification: Performance of Templates: time 0.002758/0.2144, allocations: 0.8116 MB / 0.6017 GB, free: 13.09 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: