Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.843/1.843, allocations: 287.5 MB / 302.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 184.8 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008002/0.0008003, allocations: 94.39 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003805, allocations: 10.52 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001751/0.184, allocations: 1.532 MB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1851, allocations: 0.6365 MB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1852, allocations: 4 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1854, allocations: 23.8 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1857, allocations: 99.58 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1861, allocations: 152.7 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.1863, allocations: 207.4 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1864, allocations: 25.69 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1866, allocations: 99.66 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.1895, allocations: 2.489 MB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1896, allocations: 8 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.1897, allocations: 35.91 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1897, allocations: 31.84 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.1898, allocations: 49.64 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1899, allocations: 143.7 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.19, allocations: 3.938 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.19, allocations: 0 / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.19, allocations: 0 / 0.9841 GB, free: 22.66 MB / 0.6198 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.0006/0.1906, allocations: 0.5139 MB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1906, allocations: 12.03 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.1907, allocations: 24.66 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.191, allocations: 251.9 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.191, allocations: 12.38 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.191, allocations: 20.12 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1912, allocations: 111.7 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1912, allocations: 0 / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1913, allocations: 4 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1913, allocations: 4 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1914, allocations: 55.97 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.1921, allocations: 496.2 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1924, allocations: 118.7 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.1924, allocations: 37.97 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1925, allocations: 4 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.1926, allocations: 95.36 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1926, allocations: 0 / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0002826/0.1929, allocations: 178.5 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.193, allocations: 63.34 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1931, allocations: 204.4 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1931, allocations: 29.7 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.1932, allocations: 128.4 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1932, allocations: 43.44 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.1933, allocations: 4 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.1933, allocations: 330.8 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1935, allocations: 63.95 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1936, allocations: 131.7 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1939, allocations: 215.4 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1939, allocations: 0 / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004895/0.1944, allocations: 328.6 kB / 0.9874 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.1944, allocations: 63.39 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1944, allocations: 3.938 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1945, allocations: 7.938 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.1945, allocations: 24.08 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1946, allocations: 8 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1947, allocations: 31.83 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1948, allocations: 12 kB / 0.9875 GB, free: 18.78 MB / 0.6198 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.74e-05/0.1949, allocations: 144 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1949, allocations: 19.81 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.1951, allocations: 156.3 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1951, allocations: 0 / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1951, allocations: 3.984 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1951, allocations: 0 / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.1956, allocations: 490.8 kB / 0.9883 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1956, allocations: 3.938 kB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.1957, allocations: 15.98 kB / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1957, allocations: 4 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1957, allocations: 0 / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1957, allocations: 0 / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1957, allocations: 0 / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1959, allocations: 241.2 kB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.1959, allocations: 96.91 kB / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1959, allocations: 0 / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1961, allocations: 19.98 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1961, allocations: 19.86 kB / 0.9887 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1962, allocations: 15.98 kB / 0.9887 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.1962, allocations: 136.2 kB / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1963, allocations: 0 / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002805/0.1965, allocations: 44 kB / 0.9889 GB, free: 17.3 MB / 0.6198 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 (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.0002639/0.1968, allocations: 161.4 kB / 0.989 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1971, allocations: 258.8 kB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1971, allocations: 4.062 kB / 0.9893 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.5e-05/0.1972, allocations: 43.98 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1976, allocations: 58.61 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.1981, allocations: 353.3 kB / 0.9897 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1983, allocations: 0.7284 MB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.1984, allocations: 33.86 kB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.1985, allocations: 23.42 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.1985, allocations: 0 / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.006194/0.2047, allocations: 3.289 MB / 0.9937 GB, free: 12.32 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)