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.426/1.426, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.0009909/0.0009911, allocations: 184.6 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001093/0.001093, allocations: 90.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.306e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2502, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8216/1.072, allocations: 135.1 MB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/1.072, allocations: 70.53 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01868/1.091, allocations: 6.756 MB / 1.03 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.343e-06/1.091, allocations: 4 kB / 1.03 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.091, allocations: 4 kB / 1.03 GB, free: 9.852 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.0007241/1.092, allocations: 0.5206 MB / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.092, allocations: 8.031 kB / 1.031 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/1.092, allocations: 23.72 kB / 1.031 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/1.092, allocations: 276.8 kB / 1.031 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.092, allocations: 11.56 kB / 1.031 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/1.092, allocations: 11.75 kB / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/1.093, allocations: 100.1 kB / 1.031 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.093, allocations: 0 / 1.031 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/1.093, allocations: 11.83 kB / 1.031 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.093, allocations: 3.984 kB / 1.031 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/1.093, allocations: 56.61 kB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/1.094, allocations: 0.4921 MB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/1.094, allocations: 104.6 kB / 1.032 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/1.094, allocations: 39.45 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/1.094, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/1.094, allocations: 108 kB / 1.032 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/1.094, allocations: 4 kB / 1.032 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0002931/1.095, allocations: 135.4 kB / 1.032 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/1.095, allocations: 66.31 kB / 1.032 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/1.095, allocations: 173.9 kB / 1.032 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/1.095, allocations: 33.27 kB / 1.033 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/1.095, allocations: 128 kB / 1.033 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/1.095, allocations: 34.16 kB / 1.033 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/1.095, allocations: 6.938 kB / 1.033 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.095, allocations: 333.5 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/1.096, allocations: 67.66 kB / 1.033 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/1.096, allocations: 118.8 kB / 1.033 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/1.096, allocations: 138.8 kB / 1.033 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.096, allocations: 0 / 1.033 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005259/1.096, allocations: 318.1 kB / 1.034 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/1.097, allocations: 71.33 kB / 1.034 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.097, allocations: 0 / 1.034 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.097, allocations: 4 kB / 1.034 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/1.097, allocations: 24.08 kB / 1.034 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.097, allocations: 4 kB / 1.034 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/1.097, allocations: 26.33 kB / 1.034 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/1.097, allocations: 18.98 kB / 1.034 GB, free: 6.523 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.0001104/1.097, allocations: 126.3 kB / 1.034 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/1.097, allocations: 15.81 kB / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/1.097, allocations: 139.2 kB / 1.034 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.097, allocations: 8 kB / 1.034 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/1.097, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.097, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/1.098, allocations: 0.495 MB / 1.035 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.098, allocations: 0 / 1.035 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/1.098, allocations: 7.938 kB / 1.035 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.098, allocations: 8 kB / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.098, allocations: 2.562 kB / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.098, allocations: 0 / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.098, allocations: 0 / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/1.098, allocations: 234.1 kB / 1.035 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.68e-05/1.098, allocations: 103.9 kB / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/1.099, allocations: 0 / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.099, allocations: 19.86 kB / 1.035 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/1.099, allocations: 15.97 kB / 1.035 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/1.099, allocations: 6.75 kB / 1.035 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001336/1.099, allocations: 147.1 kB / 1.035 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.099, allocations: 0 / 1.035 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003025/1.099, allocations: 42.94 kB / 1.035 GB, free: 5.211 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.0004533/1.1, allocations: 172.7 kB / 1.035 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003956/1.1, allocations: 256.7 kB / 1.035 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.1, allocations: 4.312 kB / 1.035 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/1.1, allocations: 50.19 kB / 1.036 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/1.101, allocations: 57.08 kB / 1.036 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/1.101, allocations: 215.6 kB / 1.036 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/1.102, allocations: 0.7324 MB / 1.037 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.726e-05/1.102, allocations: 26.06 kB / 1.037 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/1.102, allocations: 23.42 kB / 1.037 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.102, allocations: 0 / 1.037 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of Templates: time 0.007011/1.109, allocations: 3.208 MB / 1.04 GB, free: 0.5312 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)