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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 177.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.4 MB / 0.5775 GB, free: 20.16 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.0009014/0.0009014, allocations: 95.14 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 8.562 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2786, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.4836, allocations: 135.2 MB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4839, allocations: 83.88 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.5036, allocations: 6.764 MB / 1.039 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.803e-06/0.5037, allocations: 3.984 kB / 1.039 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.246e-05/0.5037, allocations: 7.938 kB / 1.039 GB, free: 1.586 MB / 0.6823 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.0009864/0.5047, allocations: 0.5541 MB / 1.039 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.5048, allocations: 12.02 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.5049, allocations: 38.56 kB / 1.039 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.5049, allocations: 23.81 kB / 1.039 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.5055, allocations: 270.5 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5056, allocations: 8 kB / 1.04 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.5056, allocations: 16 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.5058, allocations: 104.7 kB / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5059, allocations: 0 / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.5059, allocations: 7.953 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.5059, allocations: 7.984 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.5061, allocations: 64.72 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.5071, allocations: 492.3 kB / 1.04 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.5074, allocations: 118.6 kB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.5075, allocations: 0 / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.5076, allocations: 107.4 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.5077, allocations: 4 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0003949/0.5081, allocations: 174.6 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.5081, allocations: 55.41 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.5083, allocations: 179.6 kB / 1.041 GB, free: 15.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.5084, allocations: 33.7 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5085, allocations: 132.3 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.5086, allocations: 35.55 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.5086, allocations: 11.92 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5087, allocations: 334.8 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.5089, allocations: 63.95 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.5091, allocations: 131.6 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.5094, allocations: 133.4 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5094, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005934/0.51, allocations: 328.8 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.5101, allocations: 67.39 kB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5101, allocations: 3.938 kB / 1.042 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.5101, allocations: 7.938 kB / 1.042 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.5102, allocations: 20.16 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5102, allocations: 4 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.5104, allocations: 15.98 kB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.5105, allocations: 19.98 kB / 1.042 GB, free: 13.77 MB / 0.698 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.0001557/0.5106, allocations: 146 kB / 1.042 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.5107, allocations: 19.72 kB / 1.042 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.5109, allocations: 150.1 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.511, allocations: 8 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.511, allocations: 0 / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.511, allocations: 0 / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.5117, allocations: 494.2 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5117, allocations: 4 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.5117, allocations: 4 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5117, allocations: 4 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.5118, allocations: 4 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5118, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5118, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.512, allocations: 243.1 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.5121, allocations: 92.92 kB / 1.043 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.5122, allocations: 4 kB / 1.043 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5123, allocations: 15.98 kB / 1.043 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.5124, allocations: 24 kB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.5124, allocations: 4 kB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001259/0.5125, allocations: 141.5 kB / 1.044 GB, free: 12.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5125, allocations: 0 / 1.044 GB, free: 12.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003584/0.5129, allocations: 59.83 kB / 1.044 GB, free: 12.27 MB / 0.698 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.0008945/0.5138, allocations: 0.8383 MB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.5143, allocations: 260.3 kB / 1.045 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5143, allocations: 0 / 1.045 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.5144, allocations: 47.92 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.5147, allocations: 54.59 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5162, allocations: 1.518 MB / 1.046 GB, free: 9.461 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.5166, allocations: 0.7284 MB / 1.047 GB, free: 8.707 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.5167, allocations: 34.02 kB / 1.047 GB, free: 8.672 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5168, allocations: 55.42 kB / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.5168, allocations: 0 / 1.047 GB, free: 8.617 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5355, allocations: 4.909 MB / 1.052 GB, free: 3.863 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.5357, allocations: 231.8 kB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.375, allocations: 0 / 1.052 GB, free: 3.613 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)