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.1716/0.1723, allocations: 82.22 MB / 0.5934 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002062/0.1744, allocations: 1.122 MB / 0.5945 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.1748, allocations: 115.6 kB / 0.5946 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.1749, allocations: 0 / 0.5946 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1749, allocations: 0 / 0.5946 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.175, allocations: 7.984 kB / 0.5946 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1752, allocations: 27.84 kB / 0.5946 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.1753, allocations: 8 kB / 0.5946 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1754, allocations: 15.95 kB / 0.5946 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.1755, allocations: 8 kB / 0.5946 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.1755, allocations: 11.92 kB / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1756, allocations: 4 kB / 0.5946 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.1757, allocations: 19.98 kB / 0.5947 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1757, allocations: 7.984 kB / 0.5947 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.1758, allocations: 25.7 kB / 0.5947 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.906e-05/0.1759, allocations: 31.95 kB / 0.5947 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1759, allocations: 0 / 0.5947 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1759, allocations: 0 / 0.5947 GB, free: 4.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1759, allocations: 3.938 kB / 0.5947 GB, free: 4.629 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.0005179/0.1764, allocations: 350.6 kB / 0.5951 GB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.1765, allocations: 12.03 kB / 0.5951 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1765, allocations: 0 / 0.5951 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1767, allocations: 167 kB / 0.5952 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1767, allocations: 4 kB / 0.5952 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1767, allocations: 4 kB / 0.5952 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.1769, allocations: 57.62 kB / 0.5953 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.177, allocations: 0 / 0.5953 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.177, allocations: 4 kB / 0.5953 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.177, allocations: 0 / 0.5953 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.1772, allocations: 43.97 kB / 0.5953 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.1776, allocations: 252.9 kB / 0.5956 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1778, allocations: 42.52 kB / 0.5956 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.1783, allocations: 218.2 kB / 0.5958 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1784, allocations: 30.56 kB / 0.5959 GB, free: 3.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.1784, allocations: 0 / 0.5959 GB, free: 3.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004672/0.1789, allocations: 105.6 kB / 0.596 GB, free: 3.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1789, allocations: 51.41 kB / 0.596 GB, free: 3.102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.179, allocations: 106 kB / 0.5961 GB, free: 2.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1791, allocations: 29.7 kB / 0.5961 GB, free: 2.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.1791, allocations: 84.14 kB / 0.5962 GB, free: 2.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1792, allocations: 7.844 kB / 0.5962 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.1792, allocations: 0 / 0.5962 GB, free: 2.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1793, allocations: 310.8 kB / 0.5965 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1795, allocations: 23.98 kB / 0.5965 GB, free: 2.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1796, allocations: 27.97 kB / 0.5966 GB, free: 2.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1797, allocations: 19.98 kB / 0.5966 GB, free: 2.477 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1797, allocations: 0 / 0.5966 GB, free: 2.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002655/0.18, allocations: 85.61 kB / 0.5967 GB, free: 2.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.18, allocations: 11.94 kB / 0.5967 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.18, allocations: 0 / 0.5967 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1801, allocations: 0 / 0.5967 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1802, allocations: 11.94 kB / 0.5967 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1802, allocations: 3.984 kB / 0.5967 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.1803, allocations: 12.03 kB / 0.5967 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.1803, allocations: 0 / 0.5967 GB, free: 2.348 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 8.382e-05/0.1804, allocations: 109.8 kB / 0.5968 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1804, allocations: 11.86 kB / 0.5968 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1807, allocations: 88.77 kB / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1807, allocations: 0 / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1807, allocations: 0 / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1808, allocations: 0 / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.181, allocations: 153.9 kB / 0.5971 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.181, allocations: 0 / 0.5971 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.1811, allocations: 19.92 kB / 0.5971 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1811, allocations: 8.031 kB / 0.5971 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1811, allocations: 3.953 kB / 0.5971 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1811, allocations: 0 / 0.5971 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1811, allocations: 0 / 0.5971 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1814, allocations: 171.5 kB / 0.5973 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.1815, allocations: 81.11 kB / 0.5973 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1815, allocations: 0 / 0.5973 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1817, allocations: 11.94 kB / 0.5973 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1817, allocations: 7.984 kB / 0.5974 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.1817, allocations: 0 / 0.5974 GB, free: 1.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.766e-05/0.1818, allocations: 83.27 kB / 0.5974 GB, free: 1.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1818, allocations: 4.031 kB / 0.5974 GB, free: 1.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.1821, allocations: 16 kB / 0.5974 GB, free: 1.496 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.0001639/0.1823, allocations: 103.2 kB / 0.5975 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.1826, allocations: 51.95 kB / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1826, allocations: 0 / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1827, allocations: 23.98 kB / 0.5976 GB, free: 1.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.183, allocations: 4 kB / 0.5976 GB, free: 1.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.1833, allocations: 116.5 kB / 0.5977 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1836, allocations: 0.6811 MB / 0.5984 GB, free: 472 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.872e-05/0.1837, allocations: 0 / 0.5984 GB, free: 472 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.1837, allocations: 11.44 kB / 0.5984 GB, free: 460 kB / 446.1 MB Notification: Performance of SimCode: time 3.546e-06/0.1837, allocations: 0 / 0.5984 GB, free: 460 kB / 446.1 MB Notification: Performance of Templates: time 0.00336/0.1871, allocations: 0.5577 MB / 0.599 GB, free: 15.9 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: