Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") [/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.1975/0.1982, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00185/0.2001, allocations: 1.122 MB / 0.5945 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.2006, allocations: 167.6 kB / 0.5946 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.2006, allocations: 0 / 0.5946 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.2007, allocations: 4 kB / 0.5946 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.2007, allocations: 11.97 kB / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.201, allocations: 15.98 kB / 0.5946 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.2011, allocations: 19.92 kB / 0.5947 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.2012, allocations: 11.98 kB / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.2012, allocations: 0 / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.2013, allocations: 11.92 kB / 0.5947 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2013, allocations: 3.938 kB / 0.5947 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.2014, allocations: 31.97 kB / 0.5947 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.2014, allocations: 3.984 kB / 0.5947 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2014, allocations: 29.7 kB / 0.5948 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.4e-05/0.2015, allocations: 23.95 kB / 0.5948 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2016, allocations: 0 / 0.5948 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2016, allocations: 4 kB / 0.5948 GB, free: 4.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2016, allocations: 0 / 0.5948 GB, free: 4.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005286/0.2021, allocations: 350.6 kB / 0.5951 GB, free: 4.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2022, allocations: 8.031 kB / 0.5951 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.2022, allocations: 4 kB / 0.5951 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2024, allocations: 166.9 kB / 0.5953 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2024, allocations: 3.984 kB / 0.5953 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.2024, allocations: 8 kB / 0.5953 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2026, allocations: 57.62 kB / 0.5954 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2026, allocations: 0 / 0.5954 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2027, allocations: 3.938 kB / 0.5954 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2027, allocations: 3.984 kB / 0.5954 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.2029, allocations: 43.97 kB / 0.5954 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.2032, allocations: 249 kB / 0.5956 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.2034, allocations: 54.45 kB / 0.5957 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.2035, allocations: 77.11 kB / 0.5958 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.2035, allocations: 34.62 kB / 0.5958 GB, free: 3.305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.2035, allocations: 0 / 0.5958 GB, free: 3.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003656/0.2039, allocations: 97.64 kB / 0.5959 GB, free: 3.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2039, allocations: 55.34 kB / 0.5959 GB, free: 3.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.204, allocations: 105.8 kB / 0.596 GB, free: 3.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2041, allocations: 25.7 kB / 0.5961 GB, free: 2.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.2041, allocations: 80.14 kB / 0.5961 GB, free: 2.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2041, allocations: 7.844 kB / 0.5962 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.2042, allocations: 8.125 kB / 0.5962 GB, free: 2.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2043, allocations: 322.8 kB / 0.5965 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.2044, allocations: 15.98 kB / 0.5965 GB, free: 2.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.2044, allocations: 23.98 kB / 0.5965 GB, free: 2.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.2045, allocations: 24.05 kB / 0.5965 GB, free: 2.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2045, allocations: 4 kB / 0.5965 GB, free: 2.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.2047, allocations: 81.61 kB / 0.5966 GB, free: 2.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2048, allocations: 4 kB / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2048, allocations: 0 / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2048, allocations: 0 / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.2049, allocations: 12.23 kB / 0.5966 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2049, allocations: 3.938 kB / 0.5966 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.205, allocations: 15.98 kB / 0.5966 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.205, allocations: 0 / 0.5966 GB, free: 2.383 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 (2): * Single equations (assignments): 2 * 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 7.739e-05/0.2051, allocations: 113.9 kB / 0.5968 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.2051, allocations: 7.859 kB / 0.5968 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2053, allocations: 80.78 kB / 0.5968 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2053, allocations: 4.031 kB / 0.5968 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2054, allocations: 0 / 0.5968 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2054, allocations: 0 / 0.5968 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2055, allocations: 165.6 kB / 0.597 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2055, allocations: 0 / 0.597 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.2056, allocations: 11.98 kB / 0.597 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2056, allocations: 0 / 0.597 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2056, allocations: 3.953 kB / 0.597 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2056, allocations: 0 / 0.597 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2056, allocations: 3.938 kB / 0.597 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.2059, allocations: 175.5 kB / 0.5972 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.2059, allocations: 81.05 kB / 0.5973 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2059, allocations: 0 / 0.5973 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.206, allocations: 19.97 kB / 0.5973 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.2061, allocations: 4 kB / 0.5973 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2061, allocations: 0 / 0.5973 GB, free: 1.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.2061, allocations: 79.28 kB / 0.5974 GB, free: 1.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2061, allocations: 0 / 0.5974 GB, free: 1.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.2063, allocations: 16 kB / 0.5974 GB, free: 1.535 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0001553/0.2065, allocations: 111.2 kB / 0.5975 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2067, allocations: 55.91 kB / 0.5975 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2067, allocations: 0 / 0.5975 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.2068, allocations: 28.03 kB / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.207, allocations: 0 / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.2073, allocations: 112.6 kB / 0.5977 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2076, allocations: 0.6809 MB / 0.5983 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.2076, allocations: 3.984 kB / 0.5983 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2076, allocations: 7.438 kB / 0.5983 GB, free: 492 kB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2076, allocations: 4.062 kB / 0.5984 GB, free: 488 kB / 446.1 MB Notification: Performance of Templates: time 0.002656/0.2103, allocations: 497.2 kB / 0.5988 GB, free: 15.99 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: