Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") [/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.185/0.1857, allocations: 82.21 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002281/0.188, allocations: 1.167 MB / 0.5952 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1893, allocations: 0.5744 MB / 0.5958 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.1893, allocations: 0 / 0.5958 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.1894, allocations: 4 kB / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.1895, allocations: 7.938 kB / 0.5958 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1897, allocations: 35.89 kB / 0.5959 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.1898, allocations: 19.94 kB / 0.5959 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1899, allocations: 11.97 kB / 0.5959 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.1901, allocations: 11.94 kB / 0.5959 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1901, allocations: 11.92 kB / 0.5959 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1902, allocations: 8 kB / 0.5959 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1903, allocations: 51.95 kB / 0.596 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.1903, allocations: 7.984 kB / 0.596 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1904, allocations: 37.58 kB / 0.596 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1905, allocations: 64.08 kB / 0.5961 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1905, allocations: 4 kB / 0.5961 GB, free: 3.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1905, allocations: 0 / 0.5961 GB, free: 3.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1906, allocations: 0 / 0.5961 GB, free: 3.539 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.0004609/0.191, allocations: 339.5 kB / 0.5964 GB, free: 3.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1911, allocations: 19.91 kB / 0.5964 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1911, allocations: 8.844 kB / 0.5964 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1913, allocations: 168.3 kB / 0.5966 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1913, allocations: 4.375 kB / 0.5966 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1913, allocations: 8.109 kB / 0.5966 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1914, allocations: 41.69 kB / 0.5966 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1915, allocations: 3.984 kB / 0.5966 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1915, allocations: 0 / 0.5966 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1915, allocations: 4 kB / 0.5966 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.1916, allocations: 23.98 kB / 0.5967 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.192, allocations: 260.8 kB / 0.5969 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.785e-05/0.1921, allocations: 30.58 kB / 0.5969 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.1922, allocations: 28.91 kB / 0.597 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/0.1931, allocations: 497.4 kB / 0.5974 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1931, allocations: 34.56 kB / 0.5975 GB, free: 1.844 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.1931, allocations: 0 / 0.5975 GB, free: 1.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002646/0.1934, allocations: 69.62 kB / 0.5975 GB, free: 1.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1934, allocations: 59.39 kB / 0.5976 GB, free: 1.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.1935, allocations: 105.8 kB / 0.5977 GB, free: 1.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1936, allocations: 29.69 kB / 0.5977 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.1936, allocations: 88.14 kB / 0.5978 GB, free: 1.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1937, allocations: 7.891 kB / 0.5978 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.1937, allocations: 13.72 kB / 0.5978 GB, free: 1.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1939, allocations: 318.9 kB / 0.5981 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.1939, allocations: 11.98 kB / 0.5982 GB, free: 1.102 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.194, allocations: 12 kB / 0.5982 GB, free: 1.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.194, allocations: 28.84 kB / 0.5982 GB, free: 1.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1941, allocations: 0 / 0.5982 GB, free: 1.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.1942, allocations: 69.58 kB / 0.5983 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1942, allocations: 8 kB / 0.5983 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1942, allocations: 0 / 0.5983 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1943, allocations: 0 / 0.5983 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.1943, allocations: 4 kB / 0.5983 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1944, allocations: 0 / 0.5983 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.1944, allocations: 7.984 kB / 0.5983 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1944, allocations: 4.031 kB / 0.5983 GB, free: 0.9609 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1945, allocations: 117.8 kB / 0.5984 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.1946, allocations: 0 / 0.5984 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1948, allocations: 69.14 kB / 0.5985 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1948, allocations: 0 / 0.5985 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1948, allocations: 0 / 0.5985 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1948, allocations: 8.031 kB / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.195, allocations: 165.5 kB / 0.5986 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.195, allocations: 0 / 0.5986 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.195, allocations: 8 kB / 0.5986 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.195, allocations: 0 / 0.5986 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1951, allocations: 0 / 0.5986 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1951, allocations: 4 kB / 0.5986 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1951, allocations: 0 / 0.5986 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1953, allocations: 163.4 kB / 0.5988 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1953, allocations: 81.11 kB / 0.5989 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1954, allocations: 0 / 0.5989 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.1954, allocations: 4 kB / 0.5989 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1955, allocations: 7.922 kB / 0.5989 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1955, allocations: 3.938 kB / 0.5989 GB, free: 252 kB / 446.1 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.1955, allocations: 87.28 kB / 0.599 GB, free: 164 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1955, allocations: 4.031 kB / 0.599 GB, free: 160 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1958, allocations: 15.98 kB / 0.599 GB, free: 144 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.196, allocations: 111.1 kB / 0.5991 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1962, allocations: 28.03 kB / 0.5991 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1962, allocations: 0 / 0.5991 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.1962, allocations: 20 kB / 0.5991 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1964, allocations: 4 kB / 0.5991 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.1968, allocations: 136.6 kB / 0.5993 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.197, allocations: 0.677 MB / 0.5999 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.18e-05/0.1971, allocations: 4 kB / 0.5999 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.1971, allocations: 15.48 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1971, allocations: 0 / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Templates: time 0.002822/0.1999, allocations: 0.6321 MB / 0.6006 GB, free: 14.46 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: