Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal") [/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.2019/0.2027, allocations: 82.22 MB / 0.5941 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001863/0.2046, allocations: 1.141 MB / 0.5952 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.2051, allocations: 127.6 kB / 0.5953 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.2051, allocations: 0 / 0.5953 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.2052, allocations: 4 kB / 0.5953 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.2052, allocations: 3.938 kB / 0.5953 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.2055, allocations: 31.95 kB / 0.5954 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.2055, allocations: 15.94 kB / 0.5954 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.2056, allocations: 11.98 kB / 0.5954 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.2057, allocations: 4 kB / 0.5954 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.2057, allocations: 11.92 kB / 0.5954 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2058, allocations: 4 kB / 0.5954 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2059, allocations: 43.89 kB / 0.5955 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.2059, allocations: 8 kB / 0.5955 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.206, allocations: 41.61 kB / 0.5955 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2061, allocations: 47.88 kB / 0.5956 GB, free: 13.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2062, allocations: 0 / 0.5956 GB, free: 13.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2062, allocations: 0 / 0.5956 GB, free: 13.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2062, allocations: 3.938 kB / 0.5956 GB, free: 13.52 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004853/0.2067, allocations: 351.7 kB / 0.5959 GB, free: 13.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2067, allocations: 15.97 kB / 0.5959 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.2067, allocations: 4.938 kB / 0.5959 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2069, allocations: 164.3 kB / 0.5961 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2069, allocations: 384 / 0.5961 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2069, allocations: 8.312 kB / 0.5961 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2071, allocations: 61.8 kB / 0.5961 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2071, allocations: 0 / 0.5961 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2072, allocations: 4 kB / 0.5961 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2072, allocations: 0 / 0.5961 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.2074, allocations: 47.95 kB / 0.5962 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.2078, allocations: 260.9 kB / 0.5964 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.2079, allocations: 50.5 kB / 0.5965 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.208, allocations: 32.89 kB / 0.5965 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.2081, allocations: 4 kB / 0.5965 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2081, allocations: 34.56 kB / 0.5966 GB, free: 12.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2081, allocations: 0 / 0.5966 GB, free: 12.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.2085, allocations: 105.7 kB / 0.5967 GB, free: 12.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2086, allocations: 51.41 kB / 0.5967 GB, free: 12.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.2087, allocations: 109.8 kB / 0.5968 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2087, allocations: 25.7 kB / 0.5968 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.2087, allocations: 84.05 kB / 0.5969 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2088, allocations: 7.938 kB / 0.5969 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.2088, allocations: 13.72 kB / 0.5969 GB, free: 11.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2089, allocations: 318.8 kB / 0.5972 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.209, allocations: 28.02 kB / 0.5973 GB, free: 11.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.2091, allocations: 19.98 kB / 0.5973 GB, free: 11.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2093, allocations: 60.88 kB / 0.5973 GB, free: 11.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2093, allocations: 0 / 0.5973 GB, free: 11.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.2095, allocations: 81.56 kB / 0.5974 GB, free: 11.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2096, allocations: 8 kB / 0.5974 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2096, allocations: 0 / 0.5974 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2096, allocations: 0 / 0.5974 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.2097, allocations: 15.92 kB / 0.5974 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2097, allocations: 0 / 0.5974 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.2098, allocations: 8 kB / 0.5974 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2098, allocations: 0 / 0.5974 GB, free: 11.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.638e-05/0.2099, allocations: 130.5 kB / 0.5976 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.2099, allocations: 0 / 0.5976 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.2102, allocations: 81.19 kB / 0.5976 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2102, allocations: 4.031 kB / 0.5977 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2102, allocations: 3.938 kB / 0.5977 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2102, allocations: 0 / 0.5977 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.2104, allocations: 169.6 kB / 0.5978 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2104, allocations: 0 / 0.5978 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.2105, allocations: 11.98 kB / 0.5978 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2105, allocations: 3.938 kB / 0.5978 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2105, allocations: 0 / 0.5978 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2105, allocations: 0 / 0.5978 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2105, allocations: 256 / 0.5978 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.2108, allocations: 187.4 kB / 0.598 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2108, allocations: 77.11 kB / 0.5981 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2109, allocations: 4 kB / 0.5981 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.2109, allocations: 16.02 kB / 0.5981 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.211, allocations: 0 / 0.5981 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.211, allocations: 3.984 kB / 0.5981 GB, free: 10.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.211, allocations: 87.27 kB / 0.5982 GB, free: 10.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2111, allocations: 0 / 0.5982 GB, free: 10.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.2113, allocations: 8 kB / 0.5982 GB, free: 10.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001483/0.2114, allocations: 103.2 kB / 0.5983 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2117, allocations: 51.89 kB / 0.5983 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2117, allocations: 0 / 0.5983 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.2118, allocations: 32.05 kB / 0.5984 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2121, allocations: 6.75 kB / 0.5984 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.2125, allocations: 120.6 kB / 0.5985 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2129, allocations: 0.677 MB / 0.5992 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.873e-05/0.2129, allocations: 4 kB / 0.5992 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.213, allocations: 15.5 kB / 0.5992 GB, free: 9.434 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.213, allocations: 0 / 0.5992 GB, free: 9.434 MB / 462.1 MB Notification: Performance of Templates: time 0.003104/0.2161, allocations: 482.2 kB / 0.5996 GB, free: 8.973 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1) Environment - environmentSimulation: