Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [/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.1825/0.1833, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0009588/0.1843, allocations: 323.7 kB / 0.5944 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.1871, allocations: 1.492 MB / 0.5959 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.1871, allocations: 0 / 0.5959 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.1872, allocations: 4 kB / 0.5959 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-05/0.1872, allocations: 0 / 0.5959 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.188, allocations: 151.8 kB / 0.596 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.1881, allocations: 43.84 kB / 0.5961 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.1882, allocations: 3.938 kB / 0.5961 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.1882, allocations: 15.97 kB / 0.5961 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.1883, allocations: 23.91 kB / 0.5961 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1883, allocations: 8 kB / 0.5961 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.1888, allocations: 235.7 kB / 0.5963 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1889, allocations: 11.94 kB / 0.5964 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.189, allocations: 41.62 kB / 0.5964 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.1893, allocations: 211.5 kB / 0.5966 GB, free: 3.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1893, allocations: 0 / 0.5966 GB, free: 3.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1893, allocations: 0 / 0.5966 GB, free: 3.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1893, allocations: 0 / 0.5966 GB, free: 3.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004537/0.1898, allocations: 393.2 kB / 0.597 GB, free: 2.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1899, allocations: 12.03 kB / 0.597 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1899, allocations: 8.844 kB / 0.597 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.19, allocations: 176.2 kB / 0.5972 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1901, allocations: 4.375 kB / 0.5972 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1901, allocations: 4.125 kB / 0.5972 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1903, allocations: 77.59 kB / 0.5972 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1903, allocations: 0 / 0.5972 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1903, allocations: 0 / 0.5972 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1903, allocations: 0 / 0.5972 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.1904, allocations: 35.97 kB / 0.5973 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1906, allocations: 161.7 kB / 0.5974 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.1907, allocations: 62.55 kB / 0.5975 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.1907, allocations: 56.8 kB / 0.5975 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.1908, allocations: 0 / 0.5975 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1908, allocations: 34.5 kB / 0.5976 GB, free: 1.848 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1908, allocations: 0 / 0.5976 GB, free: 1.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003319/0.1911, allocations: 195.2 kB / 0.5978 GB, free: 1.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1912, allocations: 85.08 kB / 0.5978 GB, free: 1.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.1913, allocations: 113.8 kB / 0.598 GB, free: 1.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1913, allocations: 29.7 kB / 0.598 GB, free: 1.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.1914, allocations: 88.08 kB / 0.5981 GB, free: 1.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.1914, allocations: 19.66 kB / 0.5981 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1915, allocations: 21.7 kB / 0.5981 GB, free: 1.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1916, allocations: 310.8 kB / 0.5984 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.1916, allocations: 35.97 kB / 0.5984 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.1917, allocations: 48.06 kB / 0.5985 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1919, allocations: 140.2 kB / 0.5986 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1919, allocations: 0 / 0.5986 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001897/0.1921, allocations: 151.3 kB / 0.5988 GB, free: 0.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.1921, allocations: 37.7 kB / 0.5988 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1921, allocations: 0 / 0.5988 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1921, allocations: 0 / 0.5988 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.1922, allocations: 0 / 0.5988 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1922, allocations: 3.984 kB / 0.5988 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.1923, allocations: 11.91 kB / 0.5988 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1923, allocations: 8.062 kB / 0.5988 GB, free: 488 kB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001138/0.1924, allocations: 148.4 kB / 0.599 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1924, allocations: 7.938 kB / 0.599 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.1925, allocations: 12.36 kB / 0.599 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1925, allocations: 0 / 0.599 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1925, allocations: 3.938 kB / 0.599 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1925, allocations: 0 / 0.599 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1926, allocations: 165.6 kB / 0.5991 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1926, allocations: 7.984 kB / 0.5991 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.1926, allocations: 4 kB / 0.5992 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1926, allocations: 4 kB / 0.5992 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1927, allocations: 3.984 kB / 0.5992 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1927, allocations: 0 / 0.5992 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1927, allocations: 4 kB / 0.5992 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1929, allocations: 198.6 kB / 0.5994 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.193, allocations: 84.95 kB / 0.5994 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.193, allocations: 4 kB / 0.5994 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.193, allocations: 12.02 kB / 0.5995 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.1931, allocations: 8 kB / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1931, allocations: 4 kB / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.1931, allocations: 87.89 kB / 0.5995 GB, free: 15.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1932, allocations: 3.938 kB / 0.5995 GB, free: 15.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1935, allocations: 75.98 kB / 0.5996 GB, free: 15.55 MB / 462.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003365/0.1938, allocations: 159.1 kB / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1941, allocations: 203.2 kB / 0.6 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1941, allocations: 0 / 0.6 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1942, allocations: 159.3 kB / 0.6001 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.1944, allocations: 7.938 kB / 0.6001 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.1948, allocations: 170.7 kB / 0.6003 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.195, allocations: 0.6887 MB / 0.601 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.553e-06/0.1951, allocations: 4.125 kB / 0.601 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.038e-05/0.1951, allocations: 7.438 kB / 0.601 GB, free: 14.08 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1951, allocations: 0 / 0.601 GB, free: 14.08 MB / 462.1 MB Notification: Performance of Templates: time 0.004874/0.2, allocations: 1.965 MB / 0.6029 GB, free: 12.13 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: