Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") [/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.1654/0.166, allocations: 82.21 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001906/0.168, allocations: 1.141 MB / 0.5945 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.169, allocations: 0.5477 MB / 0.595 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.1691, allocations: 0 / 0.595 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.1691, allocations: 0 / 0.595 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.1692, allocations: 19.84 kB / 0.595 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1695, allocations: 27.97 kB / 0.5951 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.1695, allocations: 27.91 kB / 0.5951 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.1696, allocations: 0 / 0.5951 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.1697, allocations: 19.97 kB / 0.5951 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.1698, allocations: 7.938 kB / 0.5951 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1698, allocations: 0 / 0.5951 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1699, allocations: 51.89 kB / 0.5952 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.17, allocations: 0 / 0.5952 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.17, allocations: 29.64 kB / 0.5952 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1701, allocations: 52.14 kB / 0.5952 GB, free: 4.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1701, allocations: 4 kB / 0.5952 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1701, allocations: 0 / 0.5952 GB, free: 4.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1701, allocations: 0 / 0.5952 GB, free: 4.055 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.000455/0.1706, allocations: 342.4 kB / 0.5956 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1707, allocations: 8.031 kB / 0.5956 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1707, allocations: 7.906 kB / 0.5956 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1708, allocations: 171 kB / 0.5957 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1709, allocations: 0 / 0.5957 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1709, allocations: 7.953 kB / 0.5958 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.171, allocations: 49.67 kB / 0.5958 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.171, allocations: 0 / 0.5958 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1711, allocations: 0 / 0.5958 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1711, allocations: 0 / 0.5958 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.1712, allocations: 27.92 kB / 0.5958 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1715, allocations: 256.9 kB / 0.5961 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1716, allocations: 34.56 kB / 0.5961 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007815/0.1724, allocations: 0.4897 MB / 0.5966 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1725, allocations: 34.55 kB / 0.5966 GB, free: 2.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1725, allocations: 4 kB / 0.5966 GB, free: 2.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002434/0.1727, allocations: 69.53 kB / 0.5967 GB, free: 2.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1728, allocations: 55.41 kB / 0.5967 GB, free: 2.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.1728, allocations: 113.8 kB / 0.5968 GB, free: 2.129 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1729, allocations: 25.7 kB / 0.5969 GB, free: 2.098 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.1729, allocations: 88.25 kB / 0.597 GB, free: 2.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.1729, allocations: 7.906 kB / 0.597 GB, free: 2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.173, allocations: 0 / 0.597 GB, free: 2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1731, allocations: 314.8 kB / 0.5973 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.1731, allocations: 15.98 kB / 0.5973 GB, free: 1.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.1732, allocations: 7.938 kB / 0.5973 GB, free: 1.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.1732, allocations: 20.05 kB / 0.5973 GB, free: 1.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1732, allocations: 7.953 kB / 0.5973 GB, free: 1.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001262/0.1734, allocations: 57.62 kB / 0.5974 GB, free: 1.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1734, allocations: 4 kB / 0.5974 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1734, allocations: 0 / 0.5974 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1734, allocations: 0 / 0.5974 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.1735, allocations: 7.984 kB / 0.5974 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1735, allocations: 4 kB / 0.5974 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.1735, allocations: 4.031 kB / 0.5974 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1736, allocations: 4 kB / 0.5974 GB, free: 1.547 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 6.706e-05/0.1736, allocations: 109.8 kB / 0.5975 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1737, allocations: 7.859 kB / 0.5975 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.1738, allocations: 69.14 kB / 0.5976 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1738, allocations: 4.031 kB / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1738, allocations: 0 / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1738, allocations: 0 / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.174, allocations: 165.7 kB / 0.5977 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.174, allocations: 0 / 0.5977 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.1741, allocations: 11.95 kB / 0.5977 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1741, allocations: 0 / 0.5977 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1741, allocations: 3.984 kB / 0.5977 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1741, allocations: 0 / 0.5977 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1741, allocations: 0 / 0.5977 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1743, allocations: 151.5 kB / 0.5979 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1743, allocations: 85.02 kB / 0.598 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1743, allocations: 3.953 kB / 0.598 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.1744, allocations: 7.984 kB / 0.598 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.1744, allocations: 3.938 kB / 0.598 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1744, allocations: 3.938 kB / 0.598 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.421e-05/0.1745, allocations: 95.3 kB / 0.5981 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1745, allocations: 0 / 0.5981 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1747, allocations: 16 kB / 0.5981 GB, free: 0.7266 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.0001613/0.1749, allocations: 115.2 kB / 0.5982 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.175, allocations: 23.98 kB / 0.5982 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.175, allocations: 4.062 kB / 0.5982 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.1751, allocations: 16 kB / 0.5982 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1752, allocations: 0 / 0.5982 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.1755, allocations: 136.5 kB / 0.5984 GB, free: 412 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1758, allocations: 0.681 MB / 0.599 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.118e-05/0.1758, allocations: 4 kB / 0.599 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.1758, allocations: 11.38 kB / 0.5991 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1758, allocations: 4 kB / 0.5991 GB, free: 15.68 MB / 462.1 MB Notification: Performance of Templates: time 0.002487/0.1783, allocations: 0.6212 MB / 0.5997 GB, free: 15.06 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: