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.8295/0.8295, allocations: 132.4 MB / 139.9 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001056/0.001056, allocations: 168.1 kB / 171.8 MB, free: 4.953 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.381/1.381, allocations: 170.6 MB / 374.2 MB, free: 196 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001577/0.001577, allocations: 102.1 kB / 444.8 MB, free: 14.18 MB / 314.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.1452/0.1452, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.6005, allocations: 100.9 MB / 0.7651 GB, free: 14.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.6008, allocations: 67.97 kB / 0.7652 GB, free: 14.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002545/0.6033, allocations: 0.8992 MB / 0.7661 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6034, allocations: 0 / 0.7661 GB, free: 13.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.6034, allocations: 0 / 0.7661 GB, free: 13.81 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.0003394/0.6037, allocations: 342.5 kB / 0.7664 GB, free: 13.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.6038, allocations: 12.03 kB / 0.7664 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.6038, allocations: 0 / 0.7664 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6039, allocations: 171 kB / 0.7666 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.604, allocations: 0 / 0.7666 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.604, allocations: 0 / 0.7666 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.433e-05/0.604, allocations: 15.95 kB / 0.7666 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.623e-05/0.6041, allocations: 33.7 kB / 0.7666 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6041, allocations: 4 kB / 0.7666 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.6041, allocations: 0 / 0.7666 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.6041, allocations: 0 / 0.7666 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.6045, allocations: 254 kB / 0.7669 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.6046, allocations: 26.58 kB / 0.7669 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.6046, allocations: 12.81 kB / 0.7669 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.605, allocations: 202.2 kB / 0.7671 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.605, allocations: 35.62 kB / 0.7671 GB, free: 12.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.605, allocations: 4 kB / 0.7672 GB, free: 12.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002314/0.6053, allocations: 49.69 kB / 0.7672 GB, free: 12.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6053, allocations: 51.41 kB / 0.7672 GB, free: 12.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.6054, allocations: 92.98 kB / 0.7673 GB, free: 12.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6054, allocations: 29.64 kB / 0.7674 GB, free: 12.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.6055, allocations: 84.14 kB / 0.7674 GB, free: 12.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.6055, allocations: 7.906 kB / 0.7675 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.6055, allocations: 0 / 0.7675 GB, free: 12.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6056, allocations: 318.5 kB / 0.7678 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.6056, allocations: 8 kB / 0.7678 GB, free: 11.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.6056, allocations: 4 kB / 0.7678 GB, free: 11.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.6057, allocations: 19.97 kB / 0.7678 GB, free: 11.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6057, allocations: 3.172 kB / 0.7678 GB, free: 11.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.6059, allocations: 45.69 kB / 0.7678 GB, free: 11.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6059, allocations: 15.89 kB / 0.7679 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6059, allocations: 0 / 0.7679 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6059, allocations: 0 / 0.7679 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.606, allocations: 17.95 kB / 0.7679 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.606, allocations: 3.984 kB / 0.7679 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.6061, allocations: 11.98 kB / 0.7679 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.6061, allocations: 0 / 0.7679 GB, free: 11.75 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.504e-05/0.6062, allocations: 101 kB / 0.768 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.6062, allocations: 3.938 kB / 0.768 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.6064, allocations: 73.28 kB / 0.7681 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6064, allocations: 0 / 0.7681 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6064, allocations: 0 / 0.7681 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6064, allocations: 0 / 0.7681 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.6066, allocations: 134.2 kB / 0.7682 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6066, allocations: 0 / 0.7682 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.6066, allocations: 15.98 kB / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6066, allocations: 0 / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.6067, allocations: 0 / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.6067, allocations: 0 / 0.7682 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6067, allocations: 8.859 kB / 0.7682 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.6068, allocations: 151.5 kB / 0.7683 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.6069, allocations: 77.11 kB / 0.7684 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.6069, allocations: 4 kB / 0.7684 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.607, allocations: 7.984 kB / 0.7684 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.6071, allocations: 0 / 0.7684 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.6071, allocations: 11.98 kB / 0.7684 GB, free: 11.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.6071, allocations: 87.52 kB / 0.7685 GB, free: 11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6071, allocations: 7.609 kB / 0.7685 GB, free: 11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.6074, allocations: 7.938 kB / 0.7685 GB, free: 10.99 MB / 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.0001537/0.6075, allocations: 103.2 kB / 0.7686 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.77e-05/0.6076, allocations: 12 kB / 0.7687 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6076, allocations: 0 / 0.7687 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.6076, allocations: 12 kB / 0.7687 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.6078, allocations: 8 kB / 0.7687 GB, free: 10.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.608, allocations: 59.92 kB / 0.7687 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.6083, allocations: 0.6807 MB / 0.7694 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.242e-05/0.6083, allocations: 0 / 0.7694 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.6083, allocations: 7.438 kB / 0.7694 GB, free: 10.06 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6083, allocations: 0 / 0.7694 GB, free: 10.06 MB / 474.7 MB Notification: Performance of Templates: time 0.002355/0.6107, allocations: 0.4984 MB / 0.7699 GB, free: 9.566 MB / 474.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)