Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.246/2.246, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 182.1 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009595/0.0009597, allocations: 98.66 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 10.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.5416, allocations: 153.4 MB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5418, allocations: 79.95 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.5597, allocations: 6.21 MB / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5597, allocations: 0 / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.5597, allocations: 8 kB / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008198/0.5606, allocations: 0.5421 MB / 1.386 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5606, allocations: 8.031 kB / 1.386 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.5607, allocations: 19.81 kB / 1.386 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.5613, allocations: 255.4 kB / 1.386 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.5613, allocations: 12.17 kB / 1.386 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.5614, allocations: 16 kB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.5616, allocations: 95.16 kB / 1.386 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5616, allocations: 0 / 1.386 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5616, allocations: 7.953 kB / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5616, allocations: 0 / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.5618, allocations: 56.53 kB / 1.386 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.5626, allocations: 477.5 kB / 1.387 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.5628, allocations: 82.48 kB / 1.387 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5628, allocations: 4 kB / 1.387 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.563, allocations: 94.69 kB / 1.387 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.563, allocations: 0 / 1.387 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0003122/0.5633, allocations: 145.5 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.5634, allocations: 55.41 kB / 1.387 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5635, allocations: 180.9 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.5636, allocations: 33.7 kB / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.5637, allocations: 120.5 kB / 1.387 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.5637, allocations: 39.55 kB / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.5637, allocations: 0 / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5639, allocations: 334.8 kB / 1.388 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.5639, allocations: 31.92 kB / 1.388 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.5642, allocations: 125.9 kB / 1.388 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.5642, allocations: 32 kB / 1.388 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5643, allocations: 4 kB / 1.388 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002426/0.5645, allocations: 145.3 kB / 1.388 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5645, allocations: 8 kB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5645, allocations: 3.938 kB / 1.388 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5646, allocations: 8.156 kB / 1.388 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5647, allocations: 19.98 kB / 1.388 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5647, allocations: 4 kB / 1.388 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.5649, allocations: 19.91 kB / 1.388 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.5649, allocations: 11.95 kB / 1.388 GB, free: 6.688 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001265/0.565, allocations: 134.5 kB / 1.388 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.5651, allocations: 15.81 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.5653, allocations: 138 kB / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5653, allocations: 0 / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5653, allocations: 0 / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5653, allocations: 4.219 kB / 1.388 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.5659, allocations: 462.2 kB / 1.389 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5659, allocations: 3.938 kB / 1.389 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.566, allocations: 8 kB / 1.389 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.566, allocations: 4.031 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.566, allocations: 8 kB / 1.389 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.566, allocations: 0 / 1.389 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.566, allocations: 3.953 kB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.5662, allocations: 207.3 kB / 1.389 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.5663, allocations: 92.92 kB / 1.389 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5663, allocations: 7.984 kB / 1.389 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.5664, allocations: 12 kB / 1.389 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.5665, allocations: 27.8 kB / 1.389 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.5665, allocations: 8 kB / 1.389 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001048/0.5667, allocations: 132.4 kB / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.5667, allocations: 0 / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003146/0.567, allocations: 55.92 kB / 1.389 GB, free: 5.289 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000383/0.5674, allocations: 157.1 kB / 1.389 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.5676, allocations: 98.52 kB / 1.389 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5676, allocations: 0 / 1.389 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.5677, allocations: 43.92 kB / 1.39 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.5681, allocations: 43.89 kB / 1.39 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.569, allocations: 330.3 kB / 1.39 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.5694, allocations: 0.7283 MB / 1.391 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.5696, allocations: 21.53 kB / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.5697, allocations: 23.42 kB / 1.391 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of SimCode: time 2.455e-06/0.5697, allocations: 0 / 1.391 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of Templates: time 0.00886/0.5786, allocations: 2.966 MB / 1.394 GB, free: 0.8711 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)