Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.9 MB / 297.4 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 176.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 91.55 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.438e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6768, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.8749, allocations: 141.7 MB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.8752, allocations: 76.98 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01922/0.8944, allocations: 6.722 MB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.097e-06/0.8944, allocations: 7.984 kB / 1.118 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.8945, allocations: 0 / 1.118 GB, free: 1.598 MB / 0.7136 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.0006906/0.8952, allocations: 0.5197 MB / 1.119 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8952, allocations: 12.03 kB / 1.119 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.8953, allocations: 23.77 kB / 1.119 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.8958, allocations: 269 kB / 1.119 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.8958, allocations: 4 kB / 1.119 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.8959, allocations: 12 kB / 1.119 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/0.896, allocations: 48.8 kB / 1.119 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.8962, allocations: 98.33 kB / 1.119 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8962, allocations: 0.75 kB / 1.119 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.8962, allocations: 3.953 kB / 1.119 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8963, allocations: 9.375 kB / 1.119 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.8971, allocations: 459.4 kB / 1.12 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.8973, allocations: 100.4 kB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.8974, allocations: 36.86 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.8974, allocations: 1.875 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.8976, allocations: 100.2 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.8976, allocations: 3.938 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002617/0.8978, allocations: 131.6 kB / 1.12 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.8979, allocations: 59.41 kB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8981, allocations: 175 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.8981, allocations: 29.7 kB / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.8982, allocations: 128.4 kB / 1.121 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.8983, allocations: 39.55 kB / 1.121 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.8983, allocations: 0 / 1.121 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8984, allocations: 326.8 kB / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.8985, allocations: 55.97 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.8987, allocations: 116.5 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.8988, allocations: 66.17 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8988, allocations: 0 / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004561/0.8993, allocations: 245.5 kB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/0.8994, allocations: 68.48 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8994, allocations: 4.047 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.8994, allocations: 7.984 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.8995, allocations: 18.53 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.8996, allocations: 7.938 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.8998, allocations: 23.83 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.8998, allocations: 11.98 kB / 1.121 GB, free: 14.2 MB / 0.7292 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.0001341/0.8999, allocations: 115.2 kB / 1.122 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002018/0.9002, allocations: 137.3 kB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.9002, allocations: 19.72 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.9004, allocations: 127.6 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9005, allocations: 4 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9005, allocations: 1.812 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9005, allocations: 0 / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.9011, allocations: 456 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9011, allocations: 0 / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.9012, allocations: 4 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9012, allocations: 4 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9012, allocations: 0 / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9012, allocations: 0 / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9012, allocations: 0 / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.9015, allocations: 236 kB / 1.123 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.9015, allocations: 96.84 kB / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.9016, allocations: 4 kB / 1.123 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.9017, allocations: 13.98 kB / 1.123 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.9018, allocations: 15.97 kB / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.9018, allocations: 12 kB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001285/0.9019, allocations: 128.2 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9019, allocations: 0 / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003351/0.9023, allocations: 55.84 kB / 1.123 GB, free: 12.71 MB / 0.7292 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.0009334/0.9032, allocations: 0.8272 MB / 1.124 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.9037, allocations: 231.6 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9037, allocations: 0 / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.9038, allocations: 48.23 kB / 1.124 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.9043, allocations: 57.8 kB / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.9051, allocations: 274.3 kB / 1.124 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.9054, allocations: 0.7321 MB / 1.125 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.7e-05/0.9055, allocations: 37.5 kB / 1.125 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.9056, allocations: 59.41 kB / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.9056, allocations: 0 / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.9366, allocations: 4.54 MB / 1.129 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.9369, allocations: 169.5 kB / 1.13 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.759, allocations: 1.969 kB / 1.13 GB, free: 5.766 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)