Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.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.PolynomialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") [/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.1831/0.1852, allocations: 80.85 MB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.001961/0.1872, allocations: 0.538 MB / 0.6712 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005264/0.1878, allocations: 175.7 kB / 0.6713 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.1878, allocations: 4 kB / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1878, allocations: 0 / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.1879, allocations: 0 / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1882, allocations: 31.91 kB / 0.6714 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.1883, allocations: 11.98 kB / 0.6714 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.1883, allocations: 4 kB / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.1883, allocations: 0 / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.1884, allocations: 4 kB / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1884, allocations: 0 / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1886, allocations: 51.88 kB / 0.6714 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.1886, allocations: 11.98 kB / 0.6715 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.1886, allocations: 0 / 0.6715 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.1887, allocations: 39.89 kB / 0.6715 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1887, allocations: 3.938 kB / 0.6715 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1888, allocations: 4 kB / 0.6715 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1888, allocations: 0 / 0.6715 GB, free: 1.105 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003074/0.1891, allocations: 323.5 kB / 0.6718 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1891, allocations: 12.03 kB / 0.6718 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1892, allocations: 4.875 kB / 0.6718 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.1892, allocations: 168.4 kB / 0.672 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1893, allocations: 384 / 0.672 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1893, allocations: 4.375 kB / 0.672 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/0.1894, allocations: 33.64 kB / 0.672 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1894, allocations: 0 / 0.672 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1894, allocations: 3.984 kB / 0.672 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1894, allocations: 0 / 0.672 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.1895, allocations: 8 kB / 0.672 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1896, allocations: 145.6 kB / 0.6722 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.1897, allocations: 30.59 kB / 0.6722 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.1897, allocations: 8.922 kB / 0.6722 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.1897, allocations: 3.938 kB / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1897, allocations: 34.56 kB / 0.6723 GB, free: 184 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1898, allocations: 0 / 0.6723 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004943/0.1903, allocations: 250.6 kB / 0.6725 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1903, allocations: 51.41 kB / 0.6725 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.263e-05/0.1903, allocations: 93.84 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1904, allocations: 25.7 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/0.1904, allocations: 80.14 kB / 0.6727 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1904, allocations: 11.81 kB / 0.6727 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1904, allocations: 21.66 kB / 0.6728 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.1905, allocations: 310.9 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.1906, allocations: 19.92 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.1906, allocations: 13.72 kB / 0.6731 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.1906, allocations: 25.72 kB / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1907, allocations: 4 kB / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.89e-05/0.1907, allocations: 57.56 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1908, allocations: 12.84 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1908, allocations: 0 / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1908, allocations: 0 / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.1909, allocations: 11.98 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1909, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.1909, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1909, allocations: 4 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.086e-05/0.191, allocations: 109.8 kB / 0.6733 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.191, allocations: 7.938 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.1911, allocations: 65.25 kB / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1911, allocations: 48 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1911, allocations: 3.984 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1912, allocations: 0 / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.041e-05/0.1912, allocations: 149.7 kB / 0.6735 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1913, allocations: 11.88 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.1913, allocations: 8 kB / 0.6735 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1913, allocations: 4 kB / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1913, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1914, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1914, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1915, allocations: 80.95 kB / 0.6736 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1915, allocations: 81.05 kB / 0.6737 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1915, allocations: 12.09 kB / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.1916, allocations: 0 / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.1916, allocations: 0 / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.1916, allocations: 4 kB / 0.6737 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.1917, allocations: 75.28 kB / 0.6738 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1917, allocations: 0 / 0.6738 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000198/0.1919, allocations: 15.98 kB / 0.6738 GB, free: 14.36 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001572/0.192, allocations: 111.2 kB / 0.6739 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.1921, allocations: 23.92 kB / 0.6739 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1921, allocations: 0 / 0.6739 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.1922, allocations: 8 kB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1923, allocations: 7.938 kB / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.1926, allocations: 109.4 kB / 0.6741 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1928, allocations: 0.6768 MB / 0.6747 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.1928, allocations: 12.12 kB / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.1929, allocations: 7.438 kB / 0.6747 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1929, allocations: 0 / 0.6747 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.002767/0.1957, allocations: 0.5315 MB / 0.6752 GB, free: 12.82 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe 2>&1)