Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004186/0.004186, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001104/0.001104, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.261/1.261, allocations: 205.1 MB / 222.5 MB, free: 4.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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.001477/0.001477, allocations: 67.89 kB / 0.7257 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.182, allocations: 104.7 MB / 0.828 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002688/0.1847, allocations: 1.775 MB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1858, allocations: 0.6235 MB / 0.8304 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1859, allocations: 7.938 kB / 0.8304 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.186, allocations: 31.73 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.1864, allocations: 119.4 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1867, allocations: 155.7 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.187, allocations: 235.5 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1871, allocations: 41.59 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1873, allocations: 115.6 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1874, allocations: 123.5 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.1875, allocations: 16 kB / 0.8312 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1877, allocations: 131.8 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.1877, allocations: 43.81 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.1878, allocations: 95.52 kB / 0.8314 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.1882, allocations: 295.2 kB / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1882, allocations: 4 kB / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1882, allocations: 0 / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.1882, allocations: 0 / 0.8317 GB, free: 12.47 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006847/0.1889, allocations: 0.5644 MB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.1889, allocations: 16.02 kB / 0.8323 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.189, allocations: 24.66 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1893, allocations: 244.1 kB / 0.8325 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1893, allocations: 16.38 kB / 0.8325 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.1893, allocations: 20.12 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1895, allocations: 101.6 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1895, allocations: 0 / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1896, allocations: 11.98 kB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1896, allocations: 3.938 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1897, allocations: 59.95 kB / 0.8327 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.1904, allocations: 496 kB / 0.8332 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1907, allocations: 106.7 kB / 0.8333 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.1907, allocations: 40.84 kB / 0.8333 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1908, allocations: 11.98 kB / 0.8334 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.1909, allocations: 107.2 kB / 0.8335 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1909, allocations: 0 / 0.8335 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003034/0.1912, allocations: 176.4 kB / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1913, allocations: 55.41 kB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1914, allocations: 211.6 kB / 0.8339 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1915, allocations: 29.7 kB / 0.8339 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.1916, allocations: 128.4 kB / 0.834 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1916, allocations: 35.55 kB / 0.8341 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.1917, allocations: 65.66 kB / 0.8341 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.1918, allocations: 326.8 kB / 0.8344 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1919, allocations: 67.94 kB / 0.8345 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.1921, allocations: 134.9 kB / 0.8346 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1924, allocations: 220.8 kB / 0.8348 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1924, allocations: 0 / 0.8348 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005153/0.1929, allocations: 336.5 kB / 0.8352 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.193, allocations: 63.39 kB / 0.8352 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.193, allocations: 7.938 kB / 0.8352 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.193, allocations: 0 / 0.8352 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.1931, allocations: 19.98 kB / 0.8353 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1931, allocations: 3.938 kB / 0.8353 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.1933, allocations: 23.84 kB / 0.8353 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.1933, allocations: 12.14 kB / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001046/0.1934, allocations: 144.1 kB / 0.8354 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1935, allocations: 15.81 kB / 0.8354 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.1937, allocations: 159.3 kB / 0.8356 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1937, allocations: 0 / 0.8356 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1937, allocations: 0 / 0.8356 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1937, allocations: 3.984 kB / 0.8356 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.1942, allocations: 494.2 kB / 0.8361 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1942, allocations: 0 / 0.8361 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.1942, allocations: 4 kB / 0.8361 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1943, allocations: 4.031 kB / 0.8361 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1943, allocations: 11.98 kB / 0.8361 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1943, allocations: 0 / 0.8361 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1943, allocations: 0 / 0.8361 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1945, allocations: 247 kB / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.1945, allocations: 96.86 kB / 0.8364 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1946, allocations: 7.984 kB / 0.8364 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.1947, allocations: 4 kB / 0.8364 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1947, allocations: 19.97 kB / 0.8364 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1948, allocations: 8 kB / 0.8365 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001063/0.1949, allocations: 145.5 kB / 0.8366 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1949, allocations: 0 / 0.8366 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003155/0.1952, allocations: 71.98 kB / 0.8367 GB, free: 6.965 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003973/0.1956, allocations: 239.7 kB / 0.8369 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.196, allocations: 246.7 kB / 0.8371 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.196, allocations: 4 kB / 0.8371 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.1961, allocations: 51.92 kB / 0.8372 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1964, allocations: 56.27 kB / 0.8372 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.197, allocations: 327.5 kB / 0.8375 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1972, allocations: 0.7203 MB / 0.8383 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.443e-05/0.1973, allocations: 29.94 kB / 0.8383 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.1973, allocations: 27.42 kB / 0.8383 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of SimCode: time 1.293e-06/0.1973, allocations: 4 kB / 0.8383 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of Templates: time 0.007036/0.2044, allocations: 4.086 MB / 0.8423 GB, free: 1.188 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)