Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001071/0.001071, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00803/0.008031, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 13.38 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.342, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002342/0.3444, allocations: 1.587 MB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3457, allocations: 0.6627 MB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.3458, allocations: 0 / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.346, allocations: 27.8 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.3463, allocations: 87.66 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.3467, allocations: 151.2 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.347, allocations: 231.4 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3471, allocations: 37.64 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3473, allocations: 99.62 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04047/0.3878, allocations: 2.639 MB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.866e-05/0.3879, allocations: 8 kB / 1.08 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.388, allocations: 31.98 kB / 1.08 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.3881, allocations: 39.77 kB / 1.08 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3883, allocations: 105.3 kB / 1.08 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.3887, allocations: 203.3 kB / 1.08 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3887, allocations: 0 / 1.08 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3887, allocations: 0 / 1.08 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3887, allocations: 4 kB / 1.08 GB, free: 2.27 MB / 0.8262 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.0008811/0.3896, allocations: 0.5175 MB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3896, allocations: 8.031 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.14e-05/0.3897, allocations: 24.66 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3901, allocations: 253.9 kB / 1.081 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3902, allocations: 12.31 kB / 1.081 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.3902, allocations: 24.11 kB / 1.081 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3905, allocations: 112.5 kB / 1.081 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3905, allocations: 0 / 1.081 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3905, allocations: 4 kB / 1.081 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3905, allocations: 4 kB / 1.081 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3907, allocations: 55.97 kB / 1.081 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.3916, allocations: 0.4884 MB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3919, allocations: 118.7 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.392, allocations: 32.84 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.392, allocations: 8 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3922, allocations: 99.36 kB / 1.082 GB, free: 356 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.3923, allocations: 4 kB / 1.082 GB, free: 352 kB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003627/0.3926, allocations: 176.8 kB / 1.082 GB, free: 172 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.3927, allocations: 59.34 kB / 1.082 GB, free: 100 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3929, allocations: 211.6 kB / 1.082 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.393, allocations: 33.7 kB / 1.082 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.3931, allocations: 120.5 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.3931, allocations: 43.45 kB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.3932, allocations: 33.64 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3934, allocations: 334.8 kB / 1.083 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3935, allocations: 59.95 kB / 1.083 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.3938, allocations: 127.7 kB / 1.083 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.3941, allocations: 220.9 kB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3941, allocations: 0 / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000639/0.3948, allocations: 324.6 kB / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.3949, allocations: 63.39 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3949, allocations: 8.094 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3949, allocations: 4 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.395, allocations: 27.92 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.395, allocations: 11.92 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3952, allocations: 27.83 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3953, allocations: 8 kB / 1.083 GB, free: 14.35 MB / 0.8419 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.0001766/0.3955, allocations: 144 kB / 1.084 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3955, allocations: 15.81 kB / 1.084 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.3958, allocations: 163.3 kB / 1.084 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3958, allocations: 4 kB / 1.084 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3958, allocations: 0 / 1.084 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3958, allocations: 0 / 1.084 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.3965, allocations: 494.2 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3965, allocations: 4 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.3966, allocations: 15.92 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.3966, allocations: 4 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3966, allocations: 0 / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3966, allocations: 0 / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3966, allocations: 0 / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3969, allocations: 239.2 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.397, allocations: 108.8 kB / 1.085 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.397, allocations: 8 kB / 1.085 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3971, allocations: 11.98 kB / 1.085 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.3972, allocations: 11.98 kB / 1.085 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3973, allocations: 15.98 kB / 1.085 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001369/0.3974, allocations: 141.5 kB / 1.085 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3974, allocations: 0 / 1.085 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000344/0.3978, allocations: 47.91 kB / 1.085 GB, free: 12.84 MB / 0.8419 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.0003845/0.3981, allocations: 172.9 kB / 1.085 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.3987, allocations: 250.6 kB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3988, allocations: 0 / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.3989, allocations: 50.45 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.3993, allocations: 63.77 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.4001, allocations: 366.9 kB / 1.086 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4004, allocations: 0.7361 MB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.485e-05/0.4005, allocations: 33.86 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.4006, allocations: 23.42 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4006, allocations: 0 / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.008701/0.4093, allocations: 3.355 MB / 1.09 GB, free: 7.777 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)