Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") [/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.173/0.1737, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002121/0.1758, allocations: 1.461 MB / 0.5955 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1773, allocations: 0.675 MB / 0.5962 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1775, allocations: 0 / 0.5962 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.1775, allocations: 11.92 kB / 0.5962 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1776, allocations: 15.86 kB / 0.5962 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.1783, allocations: 147.5 kB / 0.5964 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1786, allocations: 119.7 kB / 0.5965 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1788, allocations: 45.36 kB / 0.5965 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.179, allocations: 47.8 kB / 0.5966 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1791, allocations: 39.77 kB / 0.5966 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1791, allocations: 4 kB / 0.5966 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1793, allocations: 43.95 kB / 0.5966 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1793, allocations: 19.91 kB / 0.5967 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.1794, allocations: 65.44 kB / 0.5967 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1797, allocations: 135.5 kB / 0.5969 GB, free: 2.711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1797, allocations: 4 kB / 0.5969 GB, free: 2.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1797, allocations: 0 / 0.5969 GB, free: 2.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1797, allocations: 4 kB / 0.5969 GB, free: 2.703 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007601/0.1805, allocations: 415.1 kB / 0.5973 GB, free: 2.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1805, allocations: 12.03 kB / 0.5973 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009407/0.1815, allocations: 144.6 kB / 0.5974 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1816, allocations: 184.1 kB / 0.5976 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.1818, allocations: 67.95 kB / 0.5977 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1818, allocations: 15.94 kB / 0.5977 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.1824, allocations: 189.4 kB / 0.5978 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1824, allocations: 0 / 0.5978 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.1824, allocations: 4 kB / 0.5979 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1824, allocations: 4 kB / 0.5979 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.1831, allocations: 197.8 kB / 0.598 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1844, allocations: 0.5129 MB / 0.5985 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.1855, allocations: 270.3 kB / 0.5988 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.1858, allocations: 96.91 kB / 0.5989 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1859, allocations: 7.984 kB / 0.5989 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1859, allocations: 38.48 kB / 0.5989 GB, free: 412 kB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1859, allocations: 0 / 0.5989 GB, free: 412 kB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001077/0.187, allocations: 313.5 kB / 0.5992 GB, free: 92 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.187, allocations: 55.41 kB / 0.5993 GB, free: 24 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1872, allocations: 143.8 kB / 0.5994 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1872, allocations: 29.7 kB / 0.5995 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1873, allocations: 108.2 kB / 0.5996 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1874, allocations: 15.75 kB / 0.5996 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.1874, allocations: 13.72 kB / 0.5996 GB, free: 15.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1875, allocations: 326.8 kB / 0.5999 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1878, allocations: 87.92 kB / 0.6 GB, free: 15.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.1882, allocations: 110.5 kB / 0.6001 GB, free: 15.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.1888, allocations: 206.6 kB / 0.6003 GB, free: 14.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1889, allocations: 4 kB / 0.6003 GB, free: 14.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007044/0.1896, allocations: 241.4 kB / 0.6005 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1896, allocations: 7.938 kB / 0.6005 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1896, allocations: 0 / 0.6005 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1896, allocations: 0 / 0.6005 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1899, allocations: 47.95 kB / 0.6006 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1899, allocations: 3.984 kB / 0.6006 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1901, allocations: 31.88 kB / 0.6006 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1902, allocations: 8 kB / 0.6006 GB, free: 14.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.000105/0.1903, allocations: 125.7 kB / 0.6007 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1903, allocations: 11.84 kB / 0.6007 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.1911, allocations: 246.2 kB / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1911, allocations: 0 / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1911, allocations: 0 / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1911, allocations: 0 / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1914, allocations: 222.5 kB / 0.6012 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1914, allocations: 0 / 0.6012 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1916, allocations: 51.88 kB / 0.6012 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.1916, allocations: 7.922 kB / 0.6012 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1916, allocations: 4 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1917, allocations: 4 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1917, allocations: 0 / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.1924, allocations: 323.3 kB / 0.6016 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.1924, allocations: 89.14 kB / 0.6017 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1925, allocations: 4 kB / 0.6017 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.1928, allocations: 43.95 kB / 0.6017 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1928, allocations: 11.98 kB / 0.6017 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1929, allocations: 7.984 kB / 0.6017 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.1929, allocations: 107.2 kB / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.193, allocations: 0 / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1932, allocations: 27.84 kB / 0.6018 GB, free: 13.25 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 (6): * Single equations (assignments): 6 * 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.0001303/0.1934, allocations: 103.2 kB / 0.6019 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006815/0.194, allocations: 191.8 kB / 0.6021 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1941, allocations: 7.875 kB / 0.6021 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.1944, allocations: 108 kB / 0.6022 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1947, allocations: 8 kB / 0.6022 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.1954, allocations: 313.4 kB / 0.6025 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1957, allocations: 0.7033 MB / 0.6032 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.1958, allocations: 12 kB / 0.6032 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.1958, allocations: 15.44 kB / 0.6033 GB, free: 11.74 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1959, allocations: 0 / 0.6033 GB, free: 11.74 MB / 462.1 MB Notification: Performance of Templates: time 0.003839/0.1997, allocations: 1.355 MB / 0.6046 GB, free: 10.4 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: