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.004082/0.004082, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001022/0.001022, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.229/1.229, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.389/1.389, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001258/0.001258, allocations: 63.91 kB / 0.7257 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002555/0.1758, allocations: 1.768 MB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.1768, allocations: 0.6274 MB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.1769, allocations: 7.938 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.177, allocations: 23.73 kB / 0.8304 GB, free: 13.79 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.0003169/0.1774, allocations: 127.4 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1777, allocations: 158.7 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.1779, allocations: 231.5 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.178, allocations: 45.61 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1781, allocations: 107.7 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.1783, allocations: 123.5 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.1784, allocations: 20 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1785, allocations: 127.8 kB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.1786, allocations: 47.88 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1787, allocations: 95.5 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.1791, allocations: 291.2 kB / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1791, allocations: 0 / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1791, allocations: 0 / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1791, allocations: 0 / 0.8317 GB, free: 12.45 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.0007318/0.1798, allocations: 0.5823 MB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1799, allocations: 8.031 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.1799, allocations: 28.66 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1803, allocations: 248.1 kB / 0.8325 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1803, allocations: 8.375 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.1803, allocations: 20.12 kB / 0.8326 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1805, allocations: 109.6 kB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1805, allocations: 3.984 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1805, allocations: 0 / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1805, allocations: 4 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1807, allocations: 62.41 kB / 0.8327 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.1814, allocations: 492.1 kB / 0.8332 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1817, allocations: 106.7 kB / 0.8333 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.1817, allocations: 48.84 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1817, allocations: 0 / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.1819, allocations: 107.3 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.454e-06/0.1819, allocations: 0 / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0002961/0.1822, allocations: 179.7 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1822, allocations: 59.34 kB / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1824, allocations: 203.7 kB / 0.8339 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1824, allocations: 41.64 kB / 0.8339 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.1825, allocations: 128.4 kB / 0.834 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1826, allocations: 35.53 kB / 0.8341 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.1827, allocations: 65.67 kB / 0.8341 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.1827, allocations: 326.8 kB / 0.8344 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1829, allocations: 67.94 kB / 0.8345 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1831, allocations: 127.7 kB / 0.8346 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.1834, allocations: 217.3 kB / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1834, allocations: 0 / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005268/0.1839, allocations: 330.8 kB / 0.8352 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.184, allocations: 71.39 kB / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.184, allocations: 3.938 kB / 0.8352 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.184, allocations: 4 kB / 0.8352 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.1841, allocations: 19.92 kB / 0.8352 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1841, allocations: 4 kB / 0.8352 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1843, allocations: 27.98 kB / 0.8353 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1843, allocations: 16 kB / 0.8353 GB, free: 8.438 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.0001229/0.1845, allocations: 144 kB / 0.8354 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1845, allocations: 15.81 kB / 0.8354 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1847, allocations: 147.4 kB / 0.8356 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1847, allocations: 0 / 0.8356 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1847, allocations: 4.047 kB / 0.8356 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1847, allocations: 7.969 kB / 0.8356 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.1852, allocations: 493.4 kB / 0.8361 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1853, allocations: 0 / 0.8361 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.1853, allocations: 11.92 kB / 0.8361 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1853, allocations: 4 kB / 0.8361 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1853, allocations: 4 kB / 0.8361 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1853, allocations: 0 / 0.8361 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1853, allocations: 3.938 kB / 0.8361 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1855, allocations: 243.1 kB / 0.8363 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.1856, allocations: 88.92 kB / 0.8364 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1856, allocations: 11.98 kB / 0.8364 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.1857, allocations: 4 kB / 0.8364 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.1858, allocations: 19.97 kB / 0.8364 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1858, allocations: 4 kB / 0.8364 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001022/0.1859, allocations: 145.5 kB / 0.8366 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.149e-06/0.1859, allocations: 0 / 0.8366 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003097/0.1862, allocations: 75.92 kB / 0.8367 GB, free: 6.938 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.000375/0.1866, allocations: 235.2 kB / 0.8369 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.187, allocations: 250.6 kB / 0.8371 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.187, allocations: 0 / 0.8371 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.1871, allocations: 47.98 kB / 0.8372 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1875, allocations: 69.86 kB / 0.8372 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.188, allocations: 327.2 kB / 0.8375 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1882, allocations: 0.7242 MB / 0.8382 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.323e-05/0.1883, allocations: 25.94 kB / 0.8383 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.1884, allocations: 35.36 kB / 0.8383 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.1884, allocations: 0 / 0.8383 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of Templates: time 0.006696/0.1951, allocations: 4.077 MB / 0.8423 GB, free: 1.16 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)