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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8686/0.8686, allocations: 133.7 MB / 148.6 MB, free: 13.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001243/0.001243, allocations: 178.2 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.906/1.906, allocations: 170.7 MB / 383.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001754/0.001754, allocations: 123.1 kB / 454.6 MB, free: 9.859 MB / 346.7 MB [/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.175/0.1755, allocations: 73.41 MB / 0.6812 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/0.6968, allocations: 101.2 MB / 0.78 GB, free: 24.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.6971, allocations: 72.27 kB / 0.7801 GB, free: 24.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003035/0.7001, allocations: 1.157 MB / 0.7812 GB, free: 24.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.7001, allocations: 0 / 0.7812 GB, free: 24.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.334e-06/0.7002, allocations: 0 / 0.7812 GB, free: 24.04 MB / 490.7 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.0001795/0.7003, allocations: 329.9 kB / 0.7816 GB, free: 23.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.7004, allocations: 8.594 kB / 0.7816 GB, free: 23.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.877e-05/0.7004, allocations: 0 / 0.7816 GB, free: 23.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.552e-05/0.7005, allocations: 167 kB / 0.7817 GB, free: 23.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.7005, allocations: 4 kB / 0.7817 GB, free: 23.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.7005, allocations: 4.906 kB / 0.7817 GB, free: 23.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.424e-05/0.7006, allocations: 36.12 kB / 0.7818 GB, free: 23.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.7006, allocations: 1.328 kB / 0.7818 GB, free: 23.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.7006, allocations: 4 kB / 0.7818 GB, free: 23.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7006, allocations: 0 / 0.7818 GB, free: 23.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.7006, allocations: 7.578 kB / 0.7818 GB, free: 23.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.219e-05/0.7007, allocations: 148.1 kB / 0.7819 GB, free: 23.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.7008, allocations: 27.05 kB / 0.782 GB, free: 23.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.7008, allocations: 4.594 kB / 0.782 GB, free: 23.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.7008, allocations: 38.5 kB / 0.782 GB, free: 23.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7008, allocations: 0 / 0.782 GB, free: 23.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004705/0.7013, allocations: 255.6 kB / 0.7822 GB, free: 22.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.7013, allocations: 56.02 kB / 0.7823 GB, free: 22.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.327e-05/0.7014, allocations: 85.75 kB / 0.7824 GB, free: 22.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.7014, allocations: 25.7 kB / 0.7824 GB, free: 22.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.7014, allocations: 80.8 kB / 0.7825 GB, free: 22.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.7014, allocations: 19.8 kB / 0.7825 GB, free: 22.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.7015, allocations: 0 / 0.7825 GB, free: 22.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.7015, allocations: 316.1 kB / 0.7828 GB, free: 22.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.7016, allocations: 8.172 kB / 0.7828 GB, free: 22.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.7016, allocations: 16.3 kB / 0.7828 GB, free: 22.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.809e-05/0.7016, allocations: 7.531 kB / 0.7828 GB, free: 22.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.7016, allocations: 0 / 0.7828 GB, free: 22.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.985e-05/0.7017, allocations: 57.81 kB / 0.7829 GB, free: 22.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.7017, allocations: 4 kB / 0.7829 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.7017, allocations: 0.5156 kB / 0.7829 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.7017, allocations: 0 / 0.7829 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.916e-05/0.7018, allocations: 9.078 kB / 0.7829 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7018, allocations: 4.797 kB / 0.7829 GB, free: 22.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.7018, allocations: 11.75 kB / 0.7829 GB, free: 22.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.7019, allocations: 1.219 kB / 0.7829 GB, free: 22.16 MB / 490.7 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 7.988e-05/0.7019, allocations: 111.5 kB / 0.783 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.702, allocations: 4 kB / 0.783 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.7021, allocations: 59.84 kB / 0.7831 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.7021, allocations: 0 / 0.7831 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7021, allocations: 4 kB / 0.7831 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7022, allocations: 8.938 kB / 0.7831 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.562e-05/0.7023, allocations: 148.3 kB / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7023, allocations: 1.031 kB / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.7023, allocations: 8.562 kB / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7023, allocations: 0 / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.7023, allocations: 1.797 kB / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7024, allocations: 0 / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7024, allocations: 3.656 kB / 0.7832 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.7025, allocations: 85.53 kB / 0.7833 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.7025, allocations: 85.8 kB / 0.7834 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.7025, allocations: 0 / 0.7834 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.7026, allocations: 0.7031 kB / 0.7834 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.7026, allocations: 0.7969 kB / 0.7834 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7026, allocations: 5.672 kB / 0.7834 GB, free: 21.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.7026, allocations: 75.28 kB / 0.7835 GB, free: 21.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7027, allocations: 0 / 0.7835 GB, free: 21.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000205/0.7029, allocations: 20.28 kB / 0.7835 GB, free: 21.5 MB / 490.7 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.0001588/0.703, allocations: 119.1 kB / 0.7836 GB, free: 21.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.7031, allocations: 22.28 kB / 0.7836 GB, free: 21.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7031, allocations: 0 / 0.7836 GB, free: 21.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.7031, allocations: 8.891 kB / 0.7836 GB, free: 21.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.463e-05/0.7032, allocations: 7.328 kB / 0.7837 GB, free: 21.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.7034, allocations: 109.5 kB / 0.7838 GB, free: 21.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.7036, allocations: 0.677 MB / 0.7844 GB, free: 20.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.7036, allocations: 8.656 kB / 0.7844 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.7037, allocations: 16.05 kB / 0.7844 GB, free: 20.52 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7037, allocations: 0 / 0.7844 GB, free: 20.52 MB / 490.7 MB Notification: Performance of Templates: time 0.00244/0.7061, allocations: 0.5168 MB / 0.7849 GB, free: 20.22 MB / 490.7 MB 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)