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.7414/0.7414, allocations: 132.4 MB / 139.9 MB, free: 15.37 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.001082/0.001082, allocations: 177.7 kB / 171.8 MB, free: 2.027 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.301/1.301, allocations: 170.6 MB / 374.2 MB, free: 15.79 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.001556/0.001555, allocations: 124.1 kB / 444.8 MB, free: 9.293 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.3999/0.4, allocations: 73.4 MB / 0.6666 GB, free: 46.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5285, allocations: 100.9 MB / 0.7651 GB, free: 3.906 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5288, allocations: 68.53 kB / 0.7652 GB, free: 3.84 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002741/0.5315, allocations: 0.8993 MB / 0.7661 GB, free: 2.961 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5316, allocations: 0 / 0.7661 GB, free: 2.961 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.5316, allocations: 4 kB / 0.7661 GB, free: 2.957 MB / 474.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.0003608/0.532, allocations: 338.7 kB / 0.7664 GB, free: 2.586 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.532, allocations: 9.781 kB / 0.7664 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.532, allocations: 10.02 kB / 0.7664 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5322, allocations: 169.8 kB / 0.7666 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5322, allocations: 3.234 kB / 0.7666 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.5322, allocations: 7.938 kB / 0.7666 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.834e-05/0.5323, allocations: 8 kB / 0.7666 GB, free: 2.352 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.5324, allocations: 41.69 kB / 0.7666 GB, free: 2.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5324, allocations: 3.609 kB / 0.7666 GB, free: 2.305 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.5324, allocations: 0 / 0.7666 GB, free: 2.305 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5324, allocations: 6.125 kB / 0.7667 GB, free: 2.301 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.5328, allocations: 242 kB / 0.7669 GB, free: 2.027 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.5329, allocations: 26.58 kB / 0.7669 GB, free: 1.992 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.5329, allocations: 12.86 kB / 0.7669 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003497/0.5333, allocations: 198.2 kB / 0.7671 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.5333, allocations: 46.52 kB / 0.7672 GB, free: 1.691 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.5334, allocations: 0 / 0.7672 GB, free: 1.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.5336, allocations: 52.3 kB / 0.7672 GB, free: 1.637 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5336, allocations: 51.97 kB / 0.7673 GB, free: 1.574 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.5337, allocations: 93 kB / 0.7673 GB, free: 1.477 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.5337, allocations: 25.7 kB / 0.7674 GB, free: 1.445 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.5338, allocations: 84.14 kB / 0.7674 GB, free: 1.359 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.5338, allocations: 3.906 kB / 0.7675 GB, free: 1.355 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.5338, allocations: 4.031 kB / 0.7675 GB, free: 1.352 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5339, allocations: 323.8 kB / 0.7678 GB, free: 1.027 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.534, allocations: 3 kB / 0.7678 GB, free: 1.027 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.534, allocations: 4 kB / 0.7678 GB, free: 1.023 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/0.5341, allocations: 19.92 kB / 0.7678 GB, free: 1.004 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5341, allocations: 0 / 0.7678 GB, free: 1.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.5342, allocations: 49.69 kB / 0.7678 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5342, allocations: 4 kB / 0.7678 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5342, allocations: 1.734 kB / 0.7678 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5343, allocations: 7.953 kB / 0.7679 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.5344, allocations: 13.11 kB / 0.7679 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5344, allocations: 5.688 kB / 0.7679 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.5344, allocations: 7.984 kB / 0.7679 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.5345, allocations: 0 / 0.7679 GB, free: 0.9141 MB / 474.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 () * 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.348e-05/0.5345, allocations: 105 kB / 0.768 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.5346, allocations: 4 kB / 0.768 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.5347, allocations: 65.27 kB / 0.768 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5348, allocations: 11.23 kB / 0.7681 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5348, allocations: 0 / 0.7681 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5348, allocations: 1.641 kB / 0.7681 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.5349, allocations: 139.5 kB / 0.7682 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5349, allocations: 0 / 0.7682 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.535, allocations: 8 kB / 0.7682 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.535, allocations: 0 / 0.7682 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.535, allocations: 4.031 kB / 0.7682 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.535, allocations: 7.984 kB / 0.7682 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5351, allocations: 0 / 0.7682 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.5352, allocations: 143.5 kB / 0.7683 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.5353, allocations: 77.11 kB / 0.7684 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.5353, allocations: 5.984 kB / 0.7684 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.5354, allocations: 12.03 kB / 0.7684 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5354, allocations: 0 / 0.7684 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.5354, allocations: 3.984 kB / 0.7684 GB, free: 268 kB / 474.7 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.5355, allocations: 87.22 kB / 0.7685 GB, free: 180 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5355, allocations: 0 / 0.7685 GB, free: 180 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.5357, allocations: 15.89 kB / 0.7685 GB, free: 164 kB / 474.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 () * 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.0001421/0.5359, allocations: 99.25 kB / 0.7686 GB, free: 56 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.536, allocations: 16.75 kB / 0.7686 GB, free: 40 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.536, allocations: 4.062 kB / 0.7687 GB, free: 36 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.536, allocations: 8 kB / 0.7687 GB, free: 28 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.5362, allocations: 3.984 kB / 0.7687 GB, free: 24 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.5364, allocations: 61.28 kB / 0.7687 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.5367, allocations: 0.6818 MB / 0.7694 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.135e-05/0.5367, allocations: 4.562 kB / 0.7694 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.5367, allocations: 11.44 kB / 0.7694 GB, free: 15.23 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5367, allocations: 4.062 kB / 0.7694 GB, free: 15.22 MB / 490.7 MB Notification: Performance of Templates: time 0.00237/0.5391, allocations: 0.4905 MB / 0.7699 GB, free: 14.77 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)