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.001144/0.001144, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.14/1.14, allocations: 205.1 MB / 222.4 MB, free: 4.43 MB / 174.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.519/1.519, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001293/0.001293, allocations: 73.02 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1796, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002193/0.1819, allocations: 0.5762 MB / 0.7839 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.1821, allocations: 35.81 kB / 0.784 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.1821, allocations: 4 kB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.1822, allocations: 0 / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.1822, allocations: 4 kB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1824, allocations: 11.98 kB / 0.784 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.612e-05/0.1825, allocations: 4 kB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.1825, allocations: 4 kB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.202e-05/0.1826, allocations: 0 / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.1826, allocations: 3.984 kB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.1826, allocations: 0 / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.1827, allocations: 23.86 kB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.1827, allocations: 3.984 kB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.1828, allocations: 4 kB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.939e-05/0.1829, allocations: 19.92 kB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1829, allocations: 0 / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1829, allocations: 0 / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1829, allocations: 4 kB / 0.7841 GB, free: 12.78 MB / 0.6075 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.0002919/0.1832, allocations: 311.6 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1832, allocations: 8.031 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1833, allocations: 0.9375 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1834, allocations: 160.4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1834, allocations: 4.375 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.1834, allocations: 384 / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.343e-05/0.1835, allocations: 38.25 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1836, allocations: 192 / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1836, allocations: 3.938 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1836, allocations: 0 / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.1836, allocations: 7.938 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.1838, allocations: 141.7 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.1838, allocations: 22.58 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1838, allocations: 12.95 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1839, allocations: 0 / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1839, allocations: 34.55 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1839, allocations: 0 / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.184, allocations: 41.58 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.1841, allocations: 51.41 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.84e-05/0.1841, allocations: 89.86 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1842, allocations: 25.7 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.1842, allocations: 84.27 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1842, allocations: 7.906 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1843, allocations: 13.72 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1844, allocations: 314.8 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.1844, allocations: 0 / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-06/0.1844, allocations: 4 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.1844, allocations: 4.859 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1845, allocations: 8.062 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.481e-05/0.1845, allocations: 41.58 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1845, allocations: 4 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1846, allocations: 0 / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1846, allocations: 3.938 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.1846, allocations: 7.984 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1846, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.1847, allocations: 7.922 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1847, allocations: 4 kB / 0.7855 GB, free: 11.12 MB / 0.6075 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 7.169e-05/0.1848, allocations: 109.9 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.1848, allocations: 0 / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1849, allocations: 52.69 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1849, allocations: 4 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1849, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1849, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.953e-05/0.185, allocations: 141.7 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.185, allocations: 4.031 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.1851, allocations: 4 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1851, allocations: 3.984 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1851, allocations: 3.938 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1851, allocations: 0 / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1851, allocations: 0 / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.839e-05/0.1852, allocations: 57.14 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1852, allocations: 77.39 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1853, allocations: 11.95 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.1853, allocations: 0 / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.1853, allocations: 7.938 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1853, allocations: 0 / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.1854, allocations: 75.28 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1854, allocations: 0 / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003233/0.1857, allocations: 8 kB / 0.786 GB, free: 10.47 MB / 0.6075 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.0001709/0.1859, allocations: 99.25 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.681e-05/0.186, allocations: 8 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.186, allocations: 4 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.186, allocations: 3.984 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.1862, allocations: 3.938 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/0.1863, allocations: 88.88 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1866, allocations: 0.669 MB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1866, allocations: 8.125 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.1867, allocations: 11.38 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1867, allocations: 0 / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.002383/0.189, allocations: 289.6 kB / 0.7871 GB, free: 9.23 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)