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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7882/0.7882, allocations: 133.7 MB / 148.6 MB, free: 13.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00114/0.00114, allocations: 184 kB / 180.9 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.817/1.817, allocations: 170.7 MB / 383.7 MB, free: 16.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001719/0.001719, allocations: 118.6 kB / 454.6 MB, free: 9.715 MB / 346.7 MB [/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.192/0.1925, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.7341, allocations: 101.6 MB / 0.7804 GB, free: 24.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.7345, allocations: 78.22 kB / 0.7805 GB, free: 24.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003076/0.7376, allocations: 0.906 MB / 0.7814 GB, free: 24.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.7376, allocations: 0 / 0.7814 GB, free: 24.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.7376, allocations: 0 / 0.7814 GB, free: 24.26 MB / 490.7 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.0004823/0.7381, allocations: 352.5 kB / 0.7817 GB, free: 23.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.7382, allocations: 8.562 kB / 0.7817 GB, free: 23.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.7383, allocations: 7.297 kB / 0.7818 GB, free: 23.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.7384, allocations: 171.2 kB / 0.7819 GB, free: 23.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.7385, allocations: 0.75 kB / 0.7819 GB, free: 23.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.7385, allocations: 0 / 0.7819 GB, free: 23.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.7387, allocations: 52.86 kB / 0.782 GB, free: 23.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.7388, allocations: 4 kB / 0.782 GB, free: 23.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.7388, allocations: 0.5625 kB / 0.782 GB, free: 23.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7388, allocations: 4 kB / 0.782 GB, free: 23.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.739, allocations: 51.58 kB / 0.782 GB, free: 23.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.7396, allocations: 266.8 kB / 0.7823 GB, free: 23.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.7398, allocations: 42.77 kB / 0.7823 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.7402, allocations: 208.7 kB / 0.7825 GB, free: 23.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.7403, allocations: 31.12 kB / 0.7825 GB, free: 22.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.7403, allocations: 0 / 0.7825 GB, free: 22.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004445/0.7407, allocations: 95.8 kB / 0.7826 GB, free: 22.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.7408, allocations: 56.25 kB / 0.7827 GB, free: 22.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.7409, allocations: 99.22 kB / 0.7828 GB, free: 22.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.7409, allocations: 25.7 kB / 0.7828 GB, free: 22.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.741, allocations: 88.09 kB / 0.7829 GB, free: 22.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.741, allocations: 8.609 kB / 0.7829 GB, free: 22.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.741, allocations: 0 / 0.7829 GB, free: 22.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.7411, allocations: 315.5 kB / 0.7832 GB, free: 22.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.7412, allocations: 20.92 kB / 0.7832 GB, free: 22.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.7413, allocations: 26.91 kB / 0.7833 GB, free: 22.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.7414, allocations: 26.34 kB / 0.7833 GB, free: 22.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7414, allocations: 0 / 0.7833 GB, free: 22.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002347/0.7417, allocations: 79.64 kB / 0.7834 GB, free: 22.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7417, allocations: 8.75 kB / 0.7834 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7417, allocations: 0 / 0.7834 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.7418, allocations: 0 / 0.7834 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.7419, allocations: 14.91 kB / 0.7834 GB, free: 22.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.7419, allocations: 0 / 0.7834 GB, free: 22.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.742, allocations: 18.48 kB / 0.7834 GB, free: 22.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.742, allocations: 0 / 0.7834 GB, free: 22.16 MB / 490.7 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 9.584e-05/0.7421, allocations: 113.9 kB / 0.7835 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.7421, allocations: 0.6562 kB / 0.7835 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.7424, allocations: 87.94 kB / 0.7836 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7424, allocations: 0 / 0.7836 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7425, allocations: 4 kB / 0.7836 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7425, allocations: 1.172 kB / 0.7836 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7426, allocations: 160.3 kB / 0.7837 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7427, allocations: 0 / 0.7837 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.7427, allocations: 14.11 kB / 0.7838 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.7427, allocations: 0.6562 kB / 0.7838 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.7428, allocations: 0 / 0.7838 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.7428, allocations: 7.984 kB / 0.7838 GB, free: 21.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7428, allocations: 5.453 kB / 0.7838 GB, free: 21.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.7431, allocations: 173.7 kB / 0.7839 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.7431, allocations: 86.12 kB / 0.784 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.7431, allocations: 0 / 0.784 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.7432, allocations: 10.48 kB / 0.784 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.7433, allocations: 5.266 kB / 0.784 GB, free: 21.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.7433, allocations: 4.516 kB / 0.784 GB, free: 21.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.7433, allocations: 80.97 kB / 0.7841 GB, free: 21.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7434, allocations: 4 kB / 0.7841 GB, free: 21.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000254/0.7436, allocations: 6.062 kB / 0.7841 GB, free: 21.39 MB / 490.7 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.0002274/0.7439, allocations: 113.1 kB / 0.7842 GB, free: 21.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.7441, allocations: 51.66 kB / 0.7843 GB, free: 21.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7441, allocations: 0 / 0.7843 GB, free: 21.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7442, allocations: 28.86 kB / 0.7843 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.7445, allocations: 1.219 kB / 0.7843 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.745, allocations: 109.4 kB / 0.7844 GB, free: 21.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.7454, allocations: 0.6815 MB / 0.7851 GB, free: 20.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.395e-05/0.7455, allocations: 5.828 kB / 0.7851 GB, free: 20.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.7455, allocations: 7.438 kB / 0.7851 GB, free: 20.39 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7455, allocations: 0 / 0.7851 GB, free: 20.39 MB / 490.7 MB Notification: Performance of Templates: time 0.003098/0.7486, allocations: 0.5183 MB / 0.7856 GB, free: 20.09 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (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)