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.196/0.198, allocations: 80.84 MB / 0.6707 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.001891/0.2, allocations: 0.5432 MB / 0.6712 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005075/0.2005, allocations: 163.8 kB / 0.6713 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.2005, allocations: 0 / 0.6713 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.2006, allocations: 4 kB / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-06/0.2006, allocations: 0 / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.2011, allocations: 39.86 kB / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.2011, allocations: 11.97 kB / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.2012, allocations: 0 / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.2012, allocations: 4 kB / 0.6714 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.2013, allocations: 3.938 kB / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.2013, allocations: 0 / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.2014, allocations: 55.94 kB / 0.6715 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2015, allocations: 0 / 0.6715 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.2015, allocations: 11.92 kB / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2016, allocations: 39.89 kB / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2016, allocations: 0 / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2016, allocations: 0 / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2017, allocations: 0 / 0.6715 GB, free: 1.102 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.0003532/0.202, allocations: 323.5 kB / 0.6718 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2021, allocations: 8.031 kB / 0.6718 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2021, allocations: 4.922 kB / 0.6718 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2022, allocations: 160.4 kB / 0.672 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2022, allocations: 4.375 kB / 0.672 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.2023, allocations: 4.375 kB / 0.672 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.2024, allocations: 41.62 kB / 0.672 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2024, allocations: 0 / 0.672 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2024, allocations: 0 / 0.672 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2024, allocations: 3.984 kB / 0.672 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.2025, allocations: 7.938 kB / 0.672 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2027, allocations: 145.7 kB / 0.6722 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.2027, allocations: 30.56 kB / 0.6722 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.2027, allocations: 4.859 kB / 0.6722 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.2028, allocations: 8 kB / 0.6722 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2028, allocations: 34.56 kB / 0.6722 GB, free: 180 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2028, allocations: 0 / 0.6722 GB, free: 180 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005716/0.2034, allocations: 242.6 kB / 0.6725 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2034, allocations: 63.33 kB / 0.6725 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.895e-05/0.2035, allocations: 89.86 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2035, allocations: 29.7 kB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.2036, allocations: 84.14 kB / 0.6727 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.2036, allocations: 7.812 kB / 0.6727 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2036, allocations: 21.66 kB / 0.6728 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2037, allocations: 310.8 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.2038, allocations: 7.984 kB / 0.6731 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.2038, allocations: 21.72 kB / 0.6731 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.2039, allocations: 25.72 kB / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2039, allocations: 0 / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.7e-05/0.204, allocations: 57.56 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.204, allocations: 4 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.204, allocations: 4 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.204, allocations: 8 kB / 0.6732 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.2041, allocations: 11.98 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2041, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.2042, allocations: 4 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2042, allocations: 0 / 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 8.305e-05/0.2043, allocations: 121.8 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2043, allocations: 3.938 kB / 0.6733 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.2044, allocations: 61.16 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2044, allocations: 0 / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2045, allocations: 4 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2045, allocations: 0 / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2046, allocations: 153.7 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2046, allocations: 3.938 kB / 0.6735 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.2047, allocations: 12 kB / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2047, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2047, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2047, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2047, allocations: 0 / 0.6735 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.2048, allocations: 84.98 kB / 0.6736 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.2049, allocations: 85.05 kB / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2049, allocations: 0 / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.205, allocations: 304 / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.205, allocations: 8 kB / 0.6737 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.205, allocations: 3.984 kB / 0.6737 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.205, allocations: 75.28 kB / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.205, allocations: 0 / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002115/0.2053, allocations: 16 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.00018/0.2054, allocations: 115.2 kB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.691e-05/0.2055, allocations: 19.92 kB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2056, allocations: 8.125 kB / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.2056, allocations: 4 kB / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2057, allocations: 7.938 kB / 0.6739 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.206, allocations: 105.4 kB / 0.6741 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2063, allocations: 0.6768 MB / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.2063, allocations: 8 kB / 0.6747 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2063, allocations: 11.44 kB / 0.6747 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2063, allocations: 0 / 0.6747 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.002846/0.2092, allocations: 0.5392 MB / 0.6753 GB, free: 12.8 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)