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.1582/0.1591, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001507/0.1606, allocations: 1.126 MB / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.161, allocations: 127.6 kB / 0.5946 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.161, allocations: 0 / 0.5946 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.1611, allocations: 0 / 0.5946 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.1611, allocations: 7.984 kB / 0.5946 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1614, allocations: 23.92 kB / 0.5946 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.1615, allocations: 15.97 kB / 0.5946 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.1616, allocations: 4 kB / 0.5946 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.1616, allocations: 4 kB / 0.5946 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.1617, allocations: 15.92 kB / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1617, allocations: 0 / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1618, allocations: 39.95 kB / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.1619, allocations: 11.92 kB / 0.5947 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1619, allocations: 33.7 kB / 0.5947 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.162, allocations: 35.94 kB / 0.5948 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.162, allocations: 0 / 0.5948 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.162, allocations: 0 / 0.5948 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1621, allocations: 7.875 kB / 0.5948 GB, free: 4.543 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.0004924/0.1626, allocations: 350.6 kB / 0.5951 GB, free: 4.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1626, allocations: 8.031 kB / 0.5951 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.1627, allocations: 7.906 kB / 0.5951 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1628, allocations: 171.1 kB / 0.5953 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1628, allocations: 3.984 kB / 0.5953 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.1628, allocations: 0 / 0.5953 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1631, allocations: 65.56 kB / 0.5953 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1631, allocations: 0 / 0.5953 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1631, allocations: 0 / 0.5953 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1631, allocations: 0 / 0.5953 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1633, allocations: 47.97 kB / 0.5954 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1637, allocations: 253 kB / 0.5956 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1638, allocations: 54.5 kB / 0.5957 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.1638, allocations: 0 / 0.5957 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1639, allocations: 38.56 kB / 0.5957 GB, free: 3.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1639, allocations: 0 / 0.5957 GB, free: 3.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.1643, allocations: 101.6 kB / 0.5958 GB, free: 3.301 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1643, allocations: 51.41 kB / 0.5959 GB, free: 3.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.1644, allocations: 105.8 kB / 0.596 GB, free: 3.125 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1644, allocations: 25.7 kB / 0.596 GB, free: 3.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.1645, allocations: 88.27 kB / 0.5961 GB, free: 3.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1645, allocations: 11.84 kB / 0.5961 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1645, allocations: 0 / 0.5961 GB, free: 2.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1646, allocations: 314.8 kB / 0.5964 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.1647, allocations: 23.98 kB / 0.5964 GB, free: 2.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1648, allocations: 27.92 kB / 0.5964 GB, free: 2.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.1649, allocations: 23.98 kB / 0.5965 GB, free: 2.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1649, allocations: 0 / 0.5965 GB, free: 2.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.1651, allocations: 89.58 kB / 0.5965 GB, free: 2.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1651, allocations: 4 kB / 0.5966 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1651, allocations: 0 / 0.5966 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1651, allocations: 4 kB / 0.5966 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.1652, allocations: 11.98 kB / 0.5966 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1653, allocations: 4.188 kB / 0.5966 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1653, allocations: 12.02 kB / 0.5966 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1653, allocations: 4 kB / 0.5966 GB, free: 2.469 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 6.016e-05/0.1654, allocations: 113.8 kB / 0.5967 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1654, allocations: 3.953 kB / 0.5967 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1656, allocations: 97.11 kB / 0.5968 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1657, allocations: 0 / 0.5968 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1657, allocations: 0 / 0.5968 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.1657, allocations: 3.938 kB / 0.5968 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1658, allocations: 157.7 kB / 0.5969 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1658, allocations: 0 / 0.5969 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1659, allocations: 11.98 kB / 0.597 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1659, allocations: 4 kB / 0.597 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1659, allocations: 3.953 kB / 0.597 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1659, allocations: 4.031 kB / 0.597 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1659, allocations: 0 / 0.597 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1661, allocations: 179.5 kB / 0.5971 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1662, allocations: 85 kB / 0.5972 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1662, allocations: 0 / 0.5972 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1663, allocations: 11.95 kB / 0.5972 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.1663, allocations: 3.984 kB / 0.5972 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1663, allocations: 4 kB / 0.5972 GB, free: 1.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1664, allocations: 83.28 kB / 0.5973 GB, free: 1.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1664, allocations: 0 / 0.5973 GB, free: 1.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1666, allocations: 8 kB / 0.5973 GB, free: 1.613 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.0001428/0.1667, allocations: 111.2 kB / 0.5974 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.167, allocations: 43.97 kB / 0.5975 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.167, allocations: 4 kB / 0.5975 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.1671, allocations: 35.97 kB / 0.5975 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.1673, allocations: 0 / 0.5975 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.1675, allocations: 119.8 kB / 0.5976 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1678, allocations: 0.681 MB / 0.5983 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.1678, allocations: 4 kB / 0.5983 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.1679, allocations: 7.438 kB / 0.5983 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1679, allocations: 0 / 0.5983 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of Templates: time 0.002321/0.1702, allocations: 476.7 kB / 0.5988 GB, free: 96 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: