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.1937/0.1946, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001926/0.1965, allocations: 1.128 MB / 0.5946 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.197, allocations: 123.7 kB / 0.5947 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.197, allocations: 0 / 0.5947 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.1971, allocations: 0 / 0.5947 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.1972, allocations: 11.92 kB / 0.5947 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1975, allocations: 15.98 kB / 0.5947 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.1976, allocations: 23.92 kB / 0.5947 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1977, allocations: 8 kB / 0.5947 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.1977, allocations: 7.922 kB / 0.5947 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.1978, allocations: 11.98 kB / 0.5948 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1978, allocations: 4 kB / 0.5948 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.198, allocations: 43.89 kB / 0.5948 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.198, allocations: 7.984 kB / 0.5948 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.1981, allocations: 25.7 kB / 0.5948 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1982, allocations: 43.88 kB / 0.5949 GB, free: 4.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1982, allocations: 0 / 0.5949 GB, free: 4.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1982, allocations: 0 / 0.5949 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1982, allocations: 0 / 0.5949 GB, free: 4.504 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005461/0.1988, allocations: 351.5 kB / 0.5952 GB, free: 4.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.1988, allocations: 8.031 kB / 0.5952 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1989, allocations: 3.906 kB / 0.5952 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1991, allocations: 171 kB / 0.5954 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1991, allocations: 0 / 0.5954 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1991, allocations: 0 / 0.5954 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1994, allocations: 65.62 kB / 0.5955 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1994, allocations: 0 / 0.5955 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1994, allocations: 3.984 kB / 0.5955 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1994, allocations: 0 / 0.5955 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1996, allocations: 55.89 kB / 0.5955 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.2001, allocations: 256.9 kB / 0.5958 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2002, allocations: 46.52 kB / 0.5958 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.2003, allocations: 32.89 kB / 0.5958 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.2004, allocations: 0 / 0.5958 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.2004, allocations: 38.56 kB / 0.5959 GB, free: 3.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.2004, allocations: 0 / 0.5959 GB, free: 3.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003997/0.2008, allocations: 101.6 kB / 0.596 GB, free: 3.223 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2009, allocations: 51.41 kB / 0.596 GB, free: 3.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.201, allocations: 109.8 kB / 0.5961 GB, free: 3.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.201, allocations: 25.7 kB / 0.5961 GB, free: 3.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.201, allocations: 84.27 kB / 0.5962 GB, free: 2.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2011, allocations: 11.84 kB / 0.5962 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.2011, allocations: 0 / 0.5962 GB, free: 2.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2013, allocations: 318.8 kB / 0.5965 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.2013, allocations: 19.98 kB / 0.5966 GB, free: 2.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.2014, allocations: 27.98 kB / 0.5966 GB, free: 2.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.2015, allocations: 27.97 kB / 0.5966 GB, free: 2.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2015, allocations: 0 / 0.5966 GB, free: 2.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.2017, allocations: 89.53 kB / 0.5967 GB, free: 2.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2017, allocations: 7.984 kB / 0.5967 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2017, allocations: 0 / 0.5967 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2018, allocations: 0 / 0.5967 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.2019, allocations: 12 kB / 0.5967 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2019, allocations: 0 / 0.5967 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.2019, allocations: 7.984 kB / 0.5967 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.2019, allocations: 4.031 kB / 0.5967 GB, free: 2.395 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.202, allocations: 113.8 kB / 0.5968 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.2021, allocations: 3.953 kB / 0.5968 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.2023, allocations: 97.05 kB / 0.5969 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2023, allocations: 0 / 0.5969 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2023, allocations: 256 / 0.5969 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2023, allocations: 0 / 0.5969 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2025, allocations: 169.7 kB / 0.5971 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2025, allocations: 0 / 0.5971 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.2026, allocations: 8 kB / 0.5971 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2026, allocations: 3.953 kB / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2026, allocations: 4 kB / 0.5971 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2026, allocations: 0 / 0.5971 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2026, allocations: 8.016 kB / 0.5971 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2028, allocations: 171.5 kB / 0.5973 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.2029, allocations: 81.02 kB / 0.5974 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2029, allocations: 7.984 kB / 0.5974 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.203, allocations: 11.94 kB / 0.5974 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.203, allocations: 3.984 kB / 0.5974 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.203, allocations: 0 / 0.5974 GB, free: 1.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.2031, allocations: 91.22 kB / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2031, allocations: 0 / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.2033, allocations: 8 kB / 0.5975 GB, free: 1.531 MB / 446.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 (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.0001444/0.2035, allocations: 107.2 kB / 0.5976 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.2037, allocations: 43.97 kB / 0.5976 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2037, allocations: 0 / 0.5976 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.2038, allocations: 36.03 kB / 0.5977 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.204, allocations: 0 / 0.5977 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.2043, allocations: 120.6 kB / 0.5978 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2046, allocations: 0.677 MB / 0.5984 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.2046, allocations: 8.062 kB / 0.5984 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.2047, allocations: 7.438 kB / 0.5984 GB, free: 484 kB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2047, allocations: 0 / 0.5984 GB, free: 484 kB / 446.1 MB Notification: Performance of Templates: time 0.00281/0.2075, allocations: 470.7 kB / 0.5989 GB, free: 20 kB / 446.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: