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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 176.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.41 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.478e-05/1.469e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8223/1.048, allocations: 135.4 MB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/1.048, allocations: 71.34 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01911/1.067, allocations: 6.722 MB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.243e-06/1.067, allocations: 0 / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.09e-05/1.067, allocations: 11.94 kB / 1.024 GB, free: 12.79 MB / 0.6511 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.0007554/1.068, allocations: 0.5104 MB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.068, allocations: 8.031 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/1.068, allocations: 27.7 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/1.068, allocations: 273.4 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.068, allocations: 7.984 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/1.068, allocations: 8 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/1.069, allocations: 55.23 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/1.069, allocations: 86.39 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.069, allocations: 7.953 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/1.069, allocations: 7.859 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.069, allocations: 7.984 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/1.07, allocations: 462.5 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/1.07, allocations: 92.34 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/1.07, allocations: 32.05 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/1.07, allocations: 12.03 kB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/1.07, allocations: 101.6 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/1.07, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003091/1.071, allocations: 123.6 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.071, allocations: 63.08 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.071, allocations: 172.4 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/1.071, allocations: 37.52 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/1.071, allocations: 118.4 kB / 1.026 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.071, allocations: 38.77 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/1.071, allocations: 4 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.071, allocations: 329.6 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/1.071, allocations: 53.73 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/1.071, allocations: 125.1 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/1.072, allocations: 65.64 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.072, allocations: 3.953 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004118/1.072, allocations: 242.7 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/1.072, allocations: 63.39 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.072, allocations: 4 kB / 1.027 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.072, allocations: 0 / 1.027 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/1.072, allocations: 23.92 kB / 1.027 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.072, allocations: 0 / 1.027 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/1.072, allocations: 23.83 kB / 1.027 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/1.072, allocations: 15.38 kB / 1.027 GB, free: 9.727 MB / 0.6511 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 () * 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.0001129/1.072, allocations: 119.3 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/1.073, allocations: 23.75 kB / 1.027 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/1.073, allocations: 134.2 kB / 1.027 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.073, allocations: 0 / 1.027 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.073, allocations: 0 / 1.027 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.073, allocations: 0 / 1.027 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/1.073, allocations: 456.2 kB / 1.028 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/1.073, allocations: 4 kB / 1.028 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/1.073, allocations: 8.031 kB / 1.028 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.073, allocations: 3.984 kB / 1.028 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.073, allocations: 4 kB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.073, allocations: 0 / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.073, allocations: 0 / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/1.074, allocations: 228.6 kB / 1.028 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/1.074, allocations: 104.8 kB / 1.028 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/1.074, allocations: 0 / 1.028 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.074, allocations: 15.17 kB / 1.028 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/1.074, allocations: 11.98 kB / 1.028 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/1.074, allocations: 11.48 kB / 1.028 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.518e-05/1.074, allocations: 129.4 kB / 1.028 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0 / 1.028 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003359/1.074, allocations: 55.42 kB / 1.028 GB, free: 8.48 MB / 0.6511 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 () * 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.0003852/1.075, allocations: 179.7 kB / 1.029 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003147/1.075, allocations: 232.3 kB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.075, allocations: 0 / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/1.075, allocations: 50.3 kB / 1.029 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/1.076, allocations: 60.5 kB / 1.029 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/1.076, allocations: 218 kB / 1.029 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/1.077, allocations: 0.7282 MB / 1.03 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.298e-05/1.077, allocations: 30.05 kB / 1.03 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/1.077, allocations: 19.44 kB / 1.03 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/1.077, allocations: 4 kB / 1.03 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.006651/1.083, allocations: 3.08 MB / 1.033 GB, free: 3.941 MB / 0.6511 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)