Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001192/0.001192, allocations: 171.3 kB / 498.1 MB, free: 5.75 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.605/1.605, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.000903/0.0009033, allocations: 96.33 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004024, allocations: 12.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.5315, allocations: 152.9 MB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5319, allocations: 79.95 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.5509, allocations: 6.813 MB / 1.379 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5509, allocations: 0 / 1.379 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5509, allocations: 4 kB / 1.379 GB, free: 2.285 MB / 0.8698 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.0007864/0.5517, allocations: 0.5541 MB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5518, allocations: 8.031 kB / 1.379 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.5519, allocations: 19.81 kB / 1.379 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.5524, allocations: 262.7 kB / 1.38 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.5524, allocations: 11.98 kB / 1.38 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.5524, allocations: 16 kB / 1.38 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.5527, allocations: 112.3 kB / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5527, allocations: 3.953 kB / 1.38 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5527, allocations: 4 kB / 1.38 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5527, allocations: 0 / 1.38 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.5528, allocations: 59.91 kB / 1.38 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.5537, allocations: 492.4 kB / 1.38 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.554, allocations: 114.7 kB / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.554, allocations: 0 / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.5542, allocations: 115.3 kB / 1.381 GB, free: 372 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.5542, allocations: 3.938 kB / 1.381 GB, free: 368 kB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.0003391/0.5545, allocations: 168.3 kB / 1.381 GB, free: 196 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5546, allocations: 55.41 kB / 1.381 GB, free: 128 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.5548, allocations: 188.2 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.5549, allocations: 33.7 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.5549, allocations: 120.5 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.555, allocations: 43.36 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.555, allocations: 8 kB / 1.381 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5551, allocations: 334.8 kB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5553, allocations: 63.95 kB / 1.382 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.5555, allocations: 131.6 kB / 1.382 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.5557, allocations: 127.2 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5557, allocations: 0 / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005945/0.5563, allocations: 336.8 kB / 1.382 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.07e-05/0.5564, allocations: 67.39 kB / 1.382 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5564, allocations: 3.938 kB / 1.382 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5565, allocations: 4 kB / 1.382 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.5566, allocations: 19.98 kB / 1.382 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5566, allocations: 0 / 1.382 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.5568, allocations: 31.83 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.5568, allocations: 16.14 kB / 1.382 GB, free: 14.53 MB / 0.8855 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.557, allocations: 144 kB / 1.382 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.557, allocations: 15.81 kB / 1.382 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.5573, allocations: 147.4 kB / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5573, allocations: 0 / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5573, allocations: 0 / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5573, allocations: 0 / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.5581, allocations: 0.4886 MB / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5581, allocations: 0 / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.5582, allocations: 7.984 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5582, allocations: 4 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5582, allocations: 4 kB / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5582, allocations: 0 / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5582, allocations: 0 / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.5585, allocations: 247.1 kB / 1.383 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.5586, allocations: 92.91 kB / 1.383 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.5586, allocations: 8 kB / 1.383 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.5587, allocations: 11.98 kB / 1.383 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.5588, allocations: 15.98 kB / 1.383 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.5589, allocations: 11.98 kB / 1.383 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001188/0.559, allocations: 145.5 kB / 1.384 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/0.559, allocations: 0 / 1.384 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003204/0.5593, allocations: 47.94 kB / 1.384 GB, free: 13.05 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: 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 (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.0004437/0.5598, allocations: 193.2 kB / 1.384 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.5602, allocations: 246.6 kB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5602, allocations: 0 / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.5603, allocations: 53.75 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.5606, allocations: 54.08 kB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.5613, allocations: 354.4 kB / 1.384 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.5616, allocations: 0.7286 MB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.884e-05/0.5617, allocations: 38 kB / 1.385 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.5618, allocations: 27.42 kB / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.5618, allocations: 0 / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of Templates: time 0.007066/0.5689, allocations: 3.199 MB / 1.388 GB, free: 8.145 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)