Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001207/0.001207, allocations: 91.77 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.01014/0.01014, allocations: 172.4 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004263, allocations: 11.38 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3815, 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.003469/0.385, allocations: 1.579 MB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3874, allocations: 0.6549 MB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.3877, allocations: 4 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3881, allocations: 27.78 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006578/0.3888, allocations: 91.66 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.3896, allocations: 147.3 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.3902, allocations: 231.3 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.3905, allocations: 37.67 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.3908, allocations: 99.61 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03908/0.4299, allocations: 2.644 MB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.43, allocations: 8 kB / 1.08 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.4301, allocations: 35.98 kB / 1.08 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.4302, allocations: 39.77 kB / 1.08 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.4303, allocations: 113.2 kB / 1.08 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.4307, allocations: 199.3 kB / 1.08 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4307, allocations: 4 kB / 1.08 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4307, allocations: 0 / 1.08 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4307, allocations: 0 / 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.0007537/0.4315, allocations: 0.5137 MB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4315, allocations: 8.031 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.4316, allocations: 24.66 kB / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.4319, allocations: 249.9 kB / 1.081 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.4319, allocations: 16.38 kB / 1.081 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.432, allocations: 24.06 kB / 1.081 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.4322, allocations: 104.5 kB / 1.081 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.4322, allocations: 4 kB / 1.081 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4322, allocations: 8 kB / 1.081 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4322, allocations: 0 / 1.081 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4323, allocations: 59.95 kB / 1.081 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.4332, allocations: 0.4923 MB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.4334, allocations: 102.7 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.4335, allocations: 44.83 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4335, allocations: 7.984 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4337, allocations: 103.3 kB / 1.082 GB, free: 356 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/0.4337, allocations: 3.984 kB / 1.082 GB, free: 352 kB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003471/0.4341, allocations: 169.3 kB / 1.082 GB, free: 176 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.4341, allocations: 63.39 kB / 1.082 GB, free: 100 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.4343, allocations: 207.6 kB / 1.082 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.4344, allocations: 37.7 kB / 1.082 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4345, allocations: 124.5 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.4346, allocations: 39.45 kB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.4346, allocations: 33.64 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4347, allocations: 326.8 kB / 1.083 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4349, allocations: 63.95 kB / 1.083 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.4351, allocations: 131.7 kB / 1.083 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.4354, allocations: 212.7 kB / 1.083 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4354, allocations: 8.031 kB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005735/0.436, allocations: 332.6 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.4361, allocations: 63.39 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4361, allocations: 3.938 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4361, allocations: 4 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.4362, allocations: 23.88 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4362, allocations: 0 / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4364, allocations: 35.98 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.4364, allocations: 15.98 kB / 1.083 GB, free: 14.34 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.0001268/0.4366, allocations: 140 kB / 1.084 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.4366, allocations: 15.81 kB / 1.084 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.4368, allocations: 155.3 kB / 1.084 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4369, allocations: 4 kB / 1.084 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4369, allocations: 0 / 1.084 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4369, allocations: 0 / 1.084 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.4374, allocations: 0.4898 MB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4374, allocations: 0 / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.4375, allocations: 11.94 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4375, allocations: 0 / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.4378, allocations: 7.984 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4378, allocations: 0 / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4378, allocations: 4 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.4381, allocations: 235.2 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.4382, allocations: 108.8 kB / 1.085 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.4382, allocations: 3.984 kB / 1.085 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4383, allocations: 8 kB / 1.085 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.4384, allocations: 19.97 kB / 1.085 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4384, allocations: 16 kB / 1.085 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001166/0.4385, allocations: 141.5 kB / 1.085 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4385, allocations: 0 / 1.085 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003158/0.4389, allocations: 55.89 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.0003433/0.4392, allocations: 168.9 kB / 1.085 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.4396, allocations: 246.6 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4396, allocations: 0 / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.4397, allocations: 64.16 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4401, allocations: 56.55 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.0006306/0.4408, allocations: 369.5 kB / 1.086 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.4411, allocations: 0.7284 MB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.757e-05/0.4411, allocations: 37.89 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.4412, allocations: 23.44 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.4412, allocations: 0 / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.007519/0.4487, allocations: 3.349 MB / 1.09 GB, free: 7.785 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)