Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 109.4 kB / 15.69 MB, free: 128 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.001059/0.001059, allocations: 187.1 kB / 16.62 MB, free: 6.613 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.257/1.257, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.652/1.652, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001348/0.001348, allocations: 76.91 kB / 0.6722 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1876, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002296/0.1899, allocations: 1.433 MB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.1902, allocations: 88.58 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1902, allocations: 4 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.544e-05/0.1903, allocations: 11.92 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.1903, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.1905, allocations: 23.92 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.1906, allocations: 19.92 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.1907, allocations: 11.94 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.1907, allocations: 11.92 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.307e-05/0.1908, allocations: 7.938 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1908, allocations: 4 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.1909, allocations: 19.98 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.1909, allocations: 15.97 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.1909, allocations: 7.938 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1911, allocations: 39.89 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1911, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1911, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1911, allocations: 0 / 0.7858 GB, free: 11.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003803/0.1915, allocations: 343.4 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.1915, allocations: 11.97 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.1915, allocations: 8.938 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.1916, allocations: 168.3 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1917, allocations: 8.359 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1917, allocations: 384 / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1918, allocations: 50.23 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1918, allocations: 192 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1919, allocations: 3.938 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1919, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.192, allocations: 39.97 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.1923, allocations: 256.9 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1924, allocations: 46.48 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.1925, allocations: 16.91 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1926, allocations: 4 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1926, allocations: 38.56 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.1926, allocations: 0 / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003263/0.1929, allocations: 89.52 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.193, allocations: 55.41 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/0.193, allocations: 105.8 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1931, allocations: 29.83 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.1931, allocations: 92.03 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1931, allocations: 7.922 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1932, allocations: 17.72 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.1933, allocations: 310.8 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.1933, allocations: 16.23 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.1934, allocations: 19.97 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1936, allocations: 52.89 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1936, allocations: 0 / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.1938, allocations: 77.44 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1938, allocations: 4 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1938, allocations: 3.938 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1938, allocations: 8.031 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.1939, allocations: 7.984 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1939, allocations: 0 / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.194, allocations: 7.984 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.194, allocations: 0 / 0.7876 GB, free: 8.926 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 (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 6.513e-05/0.1941, allocations: 117.8 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.1941, allocations: 0 / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1943, allocations: 81.12 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1943, allocations: 0 / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1943, allocations: 0 / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1944, allocations: 3.984 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1945, allocations: 165.6 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1945, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.1946, allocations: 7.984 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1946, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1946, allocations: 4 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1946, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1946, allocations: 4.031 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1948, allocations: 167.4 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.1949, allocations: 81.11 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1949, allocations: 0 / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.195, allocations: 11.92 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.195, allocations: 4.031 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.195, allocations: 3.938 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.1951, allocations: 95.27 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1951, allocations: 0 / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000221/0.1953, allocations: 8 kB / 0.7883 GB, free: 8.082 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 (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.0001163/0.1954, allocations: 95.25 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1956, allocations: 47.95 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1956, allocations: 0 / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.1957, allocations: 19.98 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.196, allocations: 10.58 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.1962, allocations: 121.4 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.1964, allocations: 0.6768 MB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.1965, allocations: 8.125 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.1965, allocations: 7.438 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1965, allocations: 0 / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.002401/0.1989, allocations: 0.5291 MB / 0.7898 GB, free: 6.516 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)