Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") [/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.1709/0.1716, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001781/0.1735, allocations: 1.143 MB / 0.5952 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.1738, allocations: 115.6 kB / 0.5953 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.1739, allocations: 0 / 0.5953 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.1739, allocations: 0 / 0.5953 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.174, allocations: 11.92 kB / 0.5953 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1742, allocations: 15.97 kB / 0.5954 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.1742, allocations: 19.94 kB / 0.5954 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.1743, allocations: 4 kB / 0.5954 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.1744, allocations: 11.98 kB / 0.5954 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.1745, allocations: 15.92 kB / 0.5954 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1745, allocations: 0 / 0.5954 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1746, allocations: 31.97 kB / 0.5954 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1746, allocations: 0 / 0.5954 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1747, allocations: 37.62 kB / 0.5955 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1748, allocations: 39.83 kB / 0.5955 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1748, allocations: 0 / 0.5955 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1748, allocations: 4 kB / 0.5955 GB, free: 4.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1748, allocations: 0 / 0.5955 GB, free: 4.098 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.0004171/0.1752, allocations: 347.7 kB / 0.5958 GB, free: 3.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1753, allocations: 8.031 kB / 0.5959 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.1753, allocations: 12.88 kB / 0.5959 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1755, allocations: 168.3 kB / 0.596 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1755, allocations: 384 / 0.596 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1755, allocations: 4.375 kB / 0.596 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1757, allocations: 61.8 kB / 0.5961 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1757, allocations: 0 / 0.5961 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1757, allocations: 0 / 0.5961 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1757, allocations: 0 / 0.5961 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.1759, allocations: 43.95 kB / 0.5961 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1763, allocations: 264.8 kB / 0.5964 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1764, allocations: 42.56 kB / 0.5964 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.1765, allocations: 24.91 kB / 0.5964 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.177, allocations: 214.1 kB / 0.5967 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.177, allocations: 42.56 kB / 0.5967 GB, free: 2.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.177, allocations: 0 / 0.5967 GB, free: 2.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003954/0.1774, allocations: 97.67 kB / 0.5968 GB, free: 2.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1775, allocations: 51.41 kB / 0.5968 GB, free: 2.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.1776, allocations: 105.8 kB / 0.5969 GB, free: 2.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1776, allocations: 25.7 kB / 0.597 GB, free: 2.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.1777, allocations: 84.14 kB / 0.597 GB, free: 2.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1777, allocations: 11.84 kB / 0.5971 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.1777, allocations: 9.719 kB / 0.5971 GB, free: 2.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1779, allocations: 318.8 kB / 0.5974 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.178, allocations: 28 kB / 0.5974 GB, free: 1.922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.178, allocations: 19.98 kB / 0.5974 GB, free: 1.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1782, allocations: 48.89 kB / 0.5975 GB, free: 1.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1782, allocations: 0 / 0.5975 GB, free: 1.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.1784, allocations: 81.62 kB / 0.5975 GB, free: 1.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1785, allocations: 10.5 kB / 0.5975 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1785, allocations: 0 / 0.5975 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1785, allocations: 3.984 kB / 0.5976 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.1786, allocations: 11.98 kB / 0.5976 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1786, allocations: 0 / 0.5976 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1787, allocations: 11.91 kB / 0.5976 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1787, allocations: 3.984 kB / 0.5976 GB, free: 1.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/0.1788, allocations: 122.7 kB / 0.5977 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1788, allocations: 3.938 kB / 0.5977 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.179, allocations: 80.72 kB / 0.5978 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1791, allocations: 0 / 0.5978 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1791, allocations: 4.031 kB / 0.5978 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1791, allocations: 0 / 0.5978 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1793, allocations: 169.6 kB / 0.5979 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1793, allocations: 0 / 0.5979 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.1793, allocations: 8 kB / 0.5979 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1793, allocations: 3.938 kB / 0.598 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1794, allocations: 4.234 kB / 0.598 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1794, allocations: 0 / 0.598 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1794, allocations: 4 kB / 0.598 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1796, allocations: 175.5 kB / 0.5981 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.1797, allocations: 85.02 kB / 0.5982 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1797, allocations: 0 / 0.5982 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.1798, allocations: 12.03 kB / 0.5982 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.1799, allocations: 3.984 kB / 0.5982 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1799, allocations: 0 / 0.5982 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.1799, allocations: 83.22 kB / 0.5983 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1799, allocations: 0 / 0.5983 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1802, allocations: 16 kB / 0.5983 GB, free: 0.8711 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 (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.0001665/0.1803, allocations: 103.2 kB / 0.5984 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1806, allocations: 43.97 kB / 0.5985 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1806, allocations: 4 kB / 0.5985 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.1807, allocations: 28.03 kB / 0.5985 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.181, allocations: 7.938 kB / 0.5985 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.1812, allocations: 108.7 kB / 0.5986 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1815, allocations: 0.677 MB / 0.5993 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.1815, allocations: 7.984 kB / 0.5993 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.1816, allocations: 7.438 kB / 0.5993 GB, free: 15.83 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1816, allocations: 4.062 kB / 0.5993 GB, free: 15.82 MB / 462.1 MB Notification: Performance of Templates: time 0.002556/0.1841, allocations: 0.5513 MB / 0.5998 GB, free: 15.28 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: