Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001014, allocations: 102.3 kB / 16.29 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 187.5 kB / 17.22 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.3 MB / 0.5495 GB, free: 17.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001531/0.1794, allocations: 0.5854 MB / 0.7847 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.1796, allocations: 31.88 kB / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.236e-05/0.1796, allocations: 0 / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.927e-06/0.1796, allocations: 0 / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.017e-06/0.1797, allocations: 4 kB / 0.7847 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1799, allocations: 15.92 kB / 0.7847 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.615e-05/0.1799, allocations: 4 kB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.18, allocations: 0 / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.095e-05/0.18, allocations: 0 / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.18, allocations: 7.984 kB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.18, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.1801, allocations: 19.98 kB / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.1801, allocations: 0 / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.1801, allocations: 0 / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.1802, allocations: 23.91 kB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1802, allocations: 4 kB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1802, allocations: 0 / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1802, allocations: 0 / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002449/0.1805, allocations: 315.6 kB / 0.7851 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.1805, allocations: 8.031 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.1805, allocations: 0.9375 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.403e-05/0.1806, allocations: 160.4 kB / 0.7852 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1806, allocations: 4.375 kB / 0.7852 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.1807, allocations: 4.375 kB / 0.7852 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/0.1807, allocations: 38.19 kB / 0.7853 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1807, allocations: 192 / 0.7853 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1807, allocations: 7.875 kB / 0.7853 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1808, allocations: 3.984 kB / 0.7853 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.1808, allocations: 4 kB / 0.7853 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.1809, allocations: 141.7 kB / 0.7854 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/0.1809, allocations: 22.61 kB / 0.7854 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.181, allocations: 12.8 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.181, allocations: 0 / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.181, allocations: 38.61 kB / 0.7855 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.181, allocations: 0 / 0.7855 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 9.92e-05/0.1811, allocations: 33.64 kB / 0.7855 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1812, allocations: 51.41 kB / 0.7856 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.834e-05/0.1812, allocations: 89.86 kB / 0.7857 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.1812, allocations: 25.7 kB / 0.7857 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.1812, allocations: 84.27 kB / 0.7858 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1813, allocations: 8 kB / 0.7858 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.1813, allocations: 9.719 kB / 0.7858 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.1814, allocations: 314.8 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.1814, allocations: 4 kB / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-06/0.1814, allocations: 3.938 kB / 0.7861 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.1814, allocations: 8.859 kB / 0.7861 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1814, allocations: 4.062 kB / 0.7861 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.388e-05/0.1815, allocations: 37.64 kB / 0.7861 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.1815, allocations: 4 kB / 0.7861 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1815, allocations: 4 kB / 0.7861 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1815, allocations: 7.938 kB / 0.7861 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.1816, allocations: 3.984 kB / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.1816, allocations: 0 / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.1816, allocations: 3.906 kB / 0.7862 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1816, allocations: 4 kB / 0.7862 GB, free: 1.492 MB / 0.6544 GB 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 (1): * Single equations (assignments): 1 * 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 5.671e-05/0.1817, allocations: 113.8 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.1817, allocations: 0 / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.1818, allocations: 48.75 kB / 0.7863 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1818, allocations: 0 / 0.7863 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1818, allocations: 0 / 0.7863 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1818, allocations: 0 / 0.7863 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.41e-05/0.1819, allocations: 141.7 kB / 0.7865 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1819, allocations: 4.031 kB / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.1819, allocations: 7.984 kB / 0.7865 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1819, allocations: 0 / 0.7865 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.1819, allocations: 3.938 kB / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1819, allocations: 0 / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1819, allocations: 0 / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.425e-05/0.182, allocations: 65.02 kB / 0.7865 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.182, allocations: 77.39 kB / 0.7866 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.182, allocations: 11.95 kB / 0.7866 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.182, allocations: 4 kB / 0.7866 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-06/0.1821, allocations: 0 / 0.7866 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1821, allocations: 0 / 0.7866 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.1821, allocations: 75.28 kB / 0.7867 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 0 / 0.7867 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001681/0.1823, allocations: 8 kB / 0.7867 GB, free: 0.8398 MB / 0.6544 GB 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 (1): * Single equations (assignments): 1 * 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.0001188/0.1824, allocations: 103.2 kB / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.357e-05/0.1824, allocations: 11.98 kB / 0.7868 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1825, allocations: 0 / 0.7868 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.1825, allocations: 3.938 kB / 0.7868 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.1826, allocations: 9.969 kB / 0.7868 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001249/0.1827, allocations: 73.02 kB / 0.7869 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2669/0.4497, allocations: 0.669 MB / 0.7875 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.4497, allocations: 4.438 kB / 0.7875 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.4498, allocations: 12.2 kB / 0.7876 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.4498, allocations: 3.531 kB / 0.7876 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.001886/0.4517, allocations: 279.5 kB / 0.7878 GB, free: 48.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)