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.2547/0.257, allocations: 80.83 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.002537/0.2596, allocations: 0.5509 MB / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006318/0.2602, allocations: 159.8 kB / 0.6713 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.2603, allocations: 0 / 0.6713 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.2603, allocations: 4 kB / 0.6713 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-06/0.2604, allocations: 0 / 0.6713 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.2609, allocations: 43.83 kB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.261, allocations: 4 kB / 0.6714 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.261, allocations: 4 kB / 0.6714 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.2611, allocations: 4 kB / 0.6714 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.2612, allocations: 11.97 kB / 0.6714 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2612, allocations: 0 / 0.6714 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2614, allocations: 51.89 kB / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2614, allocations: 0 / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.2614, allocations: 0 / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2616, allocations: 43.88 kB / 0.6715 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2616, allocations: 0 / 0.6715 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2616, allocations: 3.938 kB / 0.6715 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.2616, allocations: 0 / 0.6715 GB, free: 1.125 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.0003947/0.262, allocations: 331.5 kB / 0.6718 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2621, allocations: 8.031 kB / 0.6718 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.2621, allocations: 0.9375 kB / 0.6718 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.2622, allocations: 164.4 kB / 0.672 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2623, allocations: 384 / 0.672 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.2623, allocations: 384 / 0.672 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2624, allocations: 45.56 kB / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2625, allocations: 0 / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2625, allocations: 0 / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2625, allocations: 8 kB / 0.672 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.2625, allocations: 0 / 0.672 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.2627, allocations: 153.7 kB / 0.6722 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.2628, allocations: 18.61 kB / 0.6722 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.2628, allocations: 4.859 kB / 0.6722 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.2629, allocations: 8 kB / 0.6722 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.2629, allocations: 42.5 kB / 0.6722 GB, free: 200 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2629, allocations: 0 / 0.6722 GB, free: 200 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006694/0.2636, allocations: 246.4 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.2637, allocations: 55.41 kB / 0.6725 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.843e-05/0.2637, allocations: 89.86 kB / 0.6726 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2637, allocations: 29.7 kB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.2638, allocations: 80.36 kB / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.2638, allocations: 15.75 kB / 0.6727 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.2639, allocations: 21.7 kB / 0.6728 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.264, allocations: 314.8 kB / 0.6731 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.264, allocations: 0 / 0.6731 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.264, allocations: 25.75 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.2641, allocations: 33.64 kB / 0.6731 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2641, allocations: 4 kB / 0.6731 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.632e-05/0.2642, allocations: 49.64 kB / 0.6732 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.2643, allocations: 10.33 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2643, allocations: 0 / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.2643, allocations: 4 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2644, allocations: 4 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.2645, allocations: 11.92 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.2645, allocations: 0 / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.2645, allocations: 0 / 0.6732 GB, free: 15.11 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 0.0001194/0.2646, allocations: 121.9 kB / 0.6733 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.2647, allocations: 3.938 kB / 0.6733 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.2649, allocations: 57.17 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2649, allocations: 7.938 kB / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2649, allocations: 0 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2649, allocations: 0 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2651, allocations: 153.7 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2651, allocations: 3.938 kB / 0.6735 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.029e-05/0.2652, allocations: 7.938 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2652, allocations: 0 / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2652, allocations: 0 / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.2652, allocations: 3.984 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2652, allocations: 4 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.2654, allocations: 81.03 kB / 0.6736 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.2655, allocations: 81.05 kB / 0.6737 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2655, allocations: 0 / 0.6737 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.2655, allocations: 0 / 0.6737 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.2656, allocations: 8.016 kB / 0.6737 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2656, allocations: 0 / 0.6737 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.2657, allocations: 79.28 kB / 0.6738 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.676e-06/0.2657, allocations: 0 / 0.6738 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000223/0.2659, allocations: 20 kB / 0.6738 GB, free: 14.38 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.0003187/0.2662, allocations: 115.2 kB / 0.6739 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2664, allocations: 19.94 kB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2664, allocations: 0 / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.2664, allocations: 7.984 kB / 0.6739 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2666, allocations: 7.938 kB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.267, allocations: 105.5 kB / 0.674 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.2675, allocations: 0.6806 MB / 0.6747 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.218e-05/0.2676, allocations: 4 kB / 0.6747 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.2676, allocations: 19.42 kB / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2676, allocations: 0 / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.004388/0.272, allocations: 0.5341 MB / 0.6753 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)