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.2117/0.2125, allocations: 82.22 MB / 0.5935 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002765/0.2153, allocations: 1.124 MB / 0.5946 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004852/0.2159, allocations: 115.7 kB / 0.5947 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.2159, allocations: 4 kB / 0.5947 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.216, allocations: 0 / 0.5947 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.781e-05/0.2161, allocations: 3.938 kB / 0.5947 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.2164, allocations: 15.98 kB / 0.5947 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.2165, allocations: 23.92 kB / 0.5947 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.2167, allocations: 7.984 kB / 0.5947 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.2168, allocations: 11.98 kB / 0.5947 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.2168, allocations: 15.91 kB / 0.5948 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2169, allocations: 0 / 0.5948 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.217, allocations: 19.98 kB / 0.5948 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.217, allocations: 8 kB / 0.5948 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.217, allocations: 29.69 kB / 0.5948 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2172, allocations: 31.91 kB / 0.5948 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.2172, allocations: 0 / 0.5948 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2172, allocations: 3.938 kB / 0.5948 GB, free: 4.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2172, allocations: 0 / 0.5948 GB, free: 4.578 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.0005681/0.2178, allocations: 347.5 kB / 0.5952 GB, free: 4.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.2179, allocations: 8.031 kB / 0.5952 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.2179, allocations: 4 kB / 0.5952 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2181, allocations: 175 kB / 0.5954 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2181, allocations: 0 / 0.5954 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.2181, allocations: 0 / 0.5954 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2183, allocations: 57.64 kB / 0.5954 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2184, allocations: 0 / 0.5954 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2184, allocations: 3.984 kB / 0.5954 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2184, allocations: 0 / 0.5954 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2186, allocations: 47.91 kB / 0.5955 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.2191, allocations: 249 kB / 0.5957 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2193, allocations: 50.52 kB / 0.5957 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.2194, allocations: 24.91 kB / 0.5958 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004841/0.2199, allocations: 218.1 kB / 0.596 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.2199, allocations: 30.56 kB / 0.596 GB, free: 3.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.2199, allocations: 0 / 0.596 GB, free: 3.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004262/0.2204, allocations: 105.6 kB / 0.5961 GB, free: 3.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.2204, allocations: 51.41 kB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2206, allocations: 105.8 kB / 0.5963 GB, free: 2.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2206, allocations: 25.7 kB / 0.5963 GB, free: 2.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.2207, allocations: 84.27 kB / 0.5964 GB, free: 2.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.2207, allocations: 11.84 kB / 0.5964 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.2207, allocations: 0 / 0.5964 GB, free: 2.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.2209, allocations: 314.8 kB / 0.5967 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.221, allocations: 23.97 kB / 0.5967 GB, free: 2.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.2211, allocations: 23.98 kB / 0.5967 GB, free: 2.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.2211, allocations: 19.98 kB / 0.5967 GB, free: 2.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2212, allocations: 0 / 0.5967 GB, free: 2.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002144/0.2214, allocations: 89.61 kB / 0.5968 GB, free: 2.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.2214, allocations: 4 kB / 0.5968 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2214, allocations: 3.938 kB / 0.5968 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2215, allocations: 0 / 0.5968 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2216, allocations: 11.98 kB / 0.5968 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2216, allocations: 0 / 0.5968 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.2217, allocations: 8 kB / 0.5968 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.2217, allocations: 4.281 kB / 0.5969 GB, free: 2.266 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 0.0001562/0.2218, allocations: 118.7 kB / 0.597 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.2219, allocations: 7.859 kB / 0.597 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.2222, allocations: 84.72 kB / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2222, allocations: 0 / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2222, allocations: 4 kB / 0.5971 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2222, allocations: 3.938 kB / 0.5971 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2224, allocations: 161.7 kB / 0.5972 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2225, allocations: 3.984 kB / 0.5972 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.2225, allocations: 8 kB / 0.5972 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2226, allocations: 3.953 kB / 0.5972 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2226, allocations: 0 / 0.5972 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2226, allocations: 4.031 kB / 0.5972 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2226, allocations: 0 / 0.5972 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.2229, allocations: 167.5 kB / 0.5974 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.223, allocations: 85.12 kB / 0.5975 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.223, allocations: 7.953 kB / 0.5975 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.2231, allocations: 8 kB / 0.5975 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.2232, allocations: 7.969 kB / 0.5975 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.2232, allocations: 0 / 0.5975 GB, free: 1.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.2232, allocations: 83.22 kB / 0.5976 GB, free: 1.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2233, allocations: 0 / 0.5976 GB, free: 1.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.2235, allocations: 8 kB / 0.5976 GB, free: 1.418 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.0002508/0.2238, allocations: 119.2 kB / 0.5977 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.2241, allocations: 39.97 kB / 0.5977 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2241, allocations: 0 / 0.5977 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.2242, allocations: 24.05 kB / 0.5978 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2245, allocations: 15.05 kB / 0.5978 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.2249, allocations: 116.5 kB / 0.5979 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2253, allocations: 0.677 MB / 0.5985 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.335e-05/0.2253, allocations: 4.062 kB / 0.5985 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.2253, allocations: 11.44 kB / 0.5986 GB, free: 368 kB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2254, allocations: 0 / 0.5986 GB, free: 368 kB / 446.1 MB Notification: Performance of Templates: time 0.002971/0.2283, allocations: 0.5464 MB / 0.5991 GB, free: 15.82 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: