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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 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.001103/0.001103, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.188/1.188, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.353/1.353, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001308/0.001308, allocations: 71.89 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3528, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002641/0.3554, allocations: 1.778 MB / 0.7262 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.3564, allocations: 0.6273 MB / 0.7269 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3565, allocations: 0 / 0.7269 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3566, allocations: 27.73 kB / 0.7269 GB, free: 10.48 MB / 0.545 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.0003007/0.357, allocations: 123.4 kB / 0.727 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3573, allocations: 155.7 kB / 0.7271 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3575, allocations: 231.5 kB / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3576, allocations: 41.66 kB / 0.7274 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3577, allocations: 103.7 kB / 0.7275 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3579, allocations: 139.5 kB / 0.7276 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.3579, allocations: 16 kB / 0.7277 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3581, allocations: 111.9 kB / 0.7278 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.3582, allocations: 39.91 kB / 0.7278 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.3583, allocations: 95.48 kB / 0.7279 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.3586, allocations: 289.1 kB / 0.7282 GB, free: 9.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3586, allocations: 4 kB / 0.7282 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3586, allocations: 0 / 0.7282 GB, free: 9.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3586, allocations: 0 / 0.7282 GB, free: 9.156 MB / 0.545 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.0006561/0.3593, allocations: 0.5722 MB / 0.7287 GB, free: 8.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.3593, allocations: 11.97 kB / 0.7287 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.3594, allocations: 24.66 kB / 0.7288 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3597, allocations: 252.1 kB / 0.729 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3597, allocations: 12.38 kB / 0.729 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3597, allocations: 20.12 kB / 0.729 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3599, allocations: 105.6 kB / 0.7291 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3599, allocations: 0 / 0.7291 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3599, allocations: 4 kB / 0.7291 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3599, allocations: 0 / 0.7291 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.36, allocations: 63.97 kB / 0.7292 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.3608, allocations: 496.2 kB / 0.7297 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.361, allocations: 98.7 kB / 0.7298 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3611, allocations: 40.89 kB / 0.7298 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3611, allocations: 0 / 0.7298 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3612, allocations: 111.2 kB / 0.7299 GB, free: 7.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.3613, allocations: 7.938 kB / 0.7299 GB, free: 7.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0002949/0.3616, allocations: 169.3 kB / 0.7301 GB, free: 7.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.3616, allocations: 59.41 kB / 0.7301 GB, free: 6.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3618, allocations: 207.6 kB / 0.7303 GB, free: 6.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3618, allocations: 37.69 kB / 0.7304 GB, free: 6.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.3619, allocations: 120.5 kB / 0.7305 GB, free: 6.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3619, allocations: 39.53 kB / 0.7305 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.362, allocations: 57.69 kB / 0.7306 GB, free: 6.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.3621, allocations: 334.8 kB / 0.7309 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3623, allocations: 67.89 kB / 0.731 GB, free: 6.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3625, allocations: 126.7 kB / 0.7311 GB, free: 5.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.3627, allocations: 220.7 kB / 0.7313 GB, free: 5.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3627, allocations: 3.938 kB / 0.7313 GB, free: 5.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005047/0.3633, allocations: 328.5 kB / 0.7316 GB, free: 5.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.3633, allocations: 67.55 kB / 0.7317 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3633, allocations: 11.94 kB / 0.7317 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3633, allocations: 4.031 kB / 0.7317 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.3634, allocations: 23.92 kB / 0.7317 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3634, allocations: 0 / 0.7317 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3636, allocations: 27.83 kB / 0.7317 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3637, allocations: 11.98 kB / 0.7317 GB, free: 5.164 MB / 0.545 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.0001065/0.3638, allocations: 140 kB / 0.7319 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3638, allocations: 15.81 kB / 0.7319 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.364, allocations: 163.2 kB / 0.7321 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.364, allocations: 0 / 0.7321 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.364, allocations: 0 / 0.7321 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.364, allocations: 0 / 0.7321 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.3645, allocations: 494.1 kB / 0.7325 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3645, allocations: 0 / 0.7325 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.3646, allocations: 8 kB / 0.7325 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3646, allocations: 4 kB / 0.7325 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3646, allocations: 8 kB / 0.7325 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3646, allocations: 0 / 0.7325 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3646, allocations: 3.938 kB / 0.7325 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3648, allocations: 243.1 kB / 0.7328 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3649, allocations: 92.86 kB / 0.7329 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3649, allocations: 4 kB / 0.7329 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.365, allocations: 7.984 kB / 0.7329 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.3651, allocations: 19.98 kB / 0.7329 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.3651, allocations: 11.98 kB / 0.7329 GB, free: 3.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3652, allocations: 145.5 kB / 0.733 GB, free: 3.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 3.938 kB / 0.7331 GB, free: 3.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003178/0.3655, allocations: 71.98 kB / 0.7331 GB, free: 3.66 MB / 0.545 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.0004091/0.366, allocations: 233.2 kB / 0.7333 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3663, allocations: 262.5 kB / 0.7336 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3664, allocations: 4 kB / 0.7336 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.3664, allocations: 55.95 kB / 0.7337 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3668, allocations: 64.2 kB / 0.7337 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.3674, allocations: 323.5 kB / 0.734 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3676, allocations: 0.7243 MB / 0.7347 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.3677, allocations: 33.92 kB / 0.7348 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3677, allocations: 27.42 kB / 0.7348 GB, free: 1.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3677, allocations: 0 / 0.7348 GB, free: 1.91 MB / 0.545 GB Notification: Performance of Templates: time 0.006749/0.3745, allocations: 4.051 MB / 0.7387 GB, free: 13.89 MB / 0.5606 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)