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.1826/0.1833, allocations: 82.22 MB / 0.5934 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.0008789/0.1842, allocations: 282.8 kB / 0.5936 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004991/0.1847, allocations: 147.7 kB / 0.5938 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.1848, allocations: 0 / 0.5938 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.1848, allocations: 0 / 0.5938 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.1848, allocations: 0 / 0.5938 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.1853, allocations: 27.92 kB / 0.5938 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.715e-05/0.1853, allocations: 3.984 kB / 0.5938 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1854, allocations: 4 kB / 0.5938 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.1854, allocations: 7.984 kB / 0.5938 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.1855, allocations: 4 kB / 0.5938 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1855, allocations: 3.938 kB / 0.5938 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1857, allocations: 55.81 kB / 0.5939 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.1857, allocations: 0 / 0.5939 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.1857, allocations: 25.7 kB / 0.5939 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.1858, allocations: 27.95 kB / 0.5939 GB, free: 5.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1858, allocations: 0 / 0.5939 GB, free: 5.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1858, allocations: 0 / 0.5939 GB, free: 5.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1858, allocations: 0 / 0.5939 GB, free: 5.383 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003828/0.1862, allocations: 319.4 kB / 0.5942 GB, free: 5.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1863, allocations: 8.031 kB / 0.5943 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1863, allocations: 3.984 kB / 0.5943 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.1864, allocations: 163.4 kB / 0.5944 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1864, allocations: 0 / 0.5944 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1864, allocations: 0 / 0.5944 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1866, allocations: 41.64 kB / 0.5945 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1866, allocations: 3.938 kB / 0.5945 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1866, allocations: 4 kB / 0.5945 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1866, allocations: 0 / 0.5945 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.1866, allocations: 4 kB / 0.5945 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1868, allocations: 157.5 kB / 0.5946 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.1868, allocations: 26.58 kB / 0.5946 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.1869, allocations: 0 / 0.5946 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1869, allocations: 30.62 kB / 0.5947 GB, free: 4.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1869, allocations: 8 kB / 0.5947 GB, free: 4.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005593/0.1875, allocations: 250.4 kB / 0.5949 GB, free: 4.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1875, allocations: 55.34 kB / 0.595 GB, free: 4.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.366e-05/0.1876, allocations: 89.86 kB / 0.5951 GB, free: 4.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1876, allocations: 25.7 kB / 0.5951 GB, free: 3.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.1876, allocations: 80.14 kB / 0.5952 GB, free: 3.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1877, allocations: 16.11 kB / 0.5952 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.1877, allocations: 4 kB / 0.5952 GB, free: 3.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.1878, allocations: 314.8 kB / 0.5955 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.1878, allocations: 7.938 kB / 0.5955 GB, free: 3.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.1878, allocations: 21.7 kB / 0.5955 GB, free: 3.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.1879, allocations: 4 kB / 0.5955 GB, free: 3.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1879, allocations: 0 / 0.5955 GB, free: 3.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.943e-05/0.1879, allocations: 61.53 kB / 0.5956 GB, free: 3.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.188, allocations: 6.5 kB / 0.5956 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.188, allocations: 0 / 0.5956 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.188, allocations: 7.953 kB / 0.5956 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.1881, allocations: 8 kB / 0.5956 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1881, allocations: 4 kB / 0.5956 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.1881, allocations: 3.938 kB / 0.5956 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1881, allocations: 0 / 0.5956 GB, free: 3.426 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.1882, allocations: 113.8 kB / 0.5957 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.1882, allocations: 4.062 kB / 0.5957 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1884, allocations: 65.09 kB / 0.5958 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1884, allocations: 4 kB / 0.5958 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1884, allocations: 3.953 kB / 0.5958 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1884, allocations: 4 kB / 0.5958 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.1885, allocations: 149.7 kB / 0.5959 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1885, allocations: 0 / 0.5959 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1886, allocations: 8 kB / 0.5959 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1886, allocations: 0 / 0.5959 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1886, allocations: 7.984 kB / 0.5959 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1886, allocations: 0 / 0.5959 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1886, allocations: 4 kB / 0.5959 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1887, allocations: 81.02 kB / 0.596 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.1888, allocations: 77.11 kB / 0.5961 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1888, allocations: 0 / 0.5961 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.1888, allocations: 7.984 kB / 0.5961 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.1889, allocations: 4.031 kB / 0.5961 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1889, allocations: 0 / 0.5961 GB, free: 2.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.1889, allocations: 79.23 kB / 0.5962 GB, free: 2.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1889, allocations: 0 / 0.5962 GB, free: 2.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.1891, allocations: 12 kB / 0.5962 GB, free: 2.707 MB / 446.1 MB 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 (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.0001489/0.1893, allocations: 123.2 kB / 0.5963 GB, free: 2.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.1894, allocations: 16 kB / 0.5963 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1894, allocations: 3.938 kB / 0.5963 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.1894, allocations: 8.219 kB / 0.5963 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.379e-05/0.1895, allocations: 4 kB / 0.5963 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.1897, allocations: 100.7 kB / 0.5964 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.19, allocations: 0.677 MB / 0.5971 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.552e-05/0.19, allocations: 16.19 kB / 0.5971 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.1901, allocations: 15.44 kB / 0.5971 GB, free: 1.688 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1901, allocations: 0 / 0.5971 GB, free: 1.688 MB / 446.1 MB Notification: Performance of Templates: time 0.002711/0.1928, allocations: 0.4962 MB / 0.5976 GB, free: 1.219 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: