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.474/1.474, allocations: 249.5 MB / 257 MB, free: 6.93 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.001051/0.001051, allocations: 183.5 kB / 316.3 MB, free: 3.234 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.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.000806/0.000806, allocations: 82.55 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.512e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6874/0.8741, allocations: 135.4 MB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.8744, allocations: 75.14 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.8927, allocations: 6.723 MB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8928, allocations: 0 / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.8928, allocations: 4 kB / 1.024 GB, free: 12.32 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.0006718/0.8935, allocations: 0.5131 MB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.8935, allocations: 16.02 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.8936, allocations: 27.72 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.8941, allocations: 266.9 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.8941, allocations: 4 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.8942, allocations: 15.98 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001296/0.8943, allocations: 52.55 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.8945, allocations: 91.17 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8945, allocations: 3.953 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.8945, allocations: 3.984 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8945, allocations: 4 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.8953, allocations: 466.5 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.8955, allocations: 98.59 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.8956, allocations: 32.7 kB / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.8956, allocations: 0 / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.8958, allocations: 105.9 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.8958, allocations: 0.75 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0002504/0.8961, allocations: 120.8 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.8961, allocations: 63.33 kB / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.8963, allocations: 174.1 kB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.8963, allocations: 29.7 kB / 1.026 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.8964, allocations: 119.5 kB / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.8964, allocations: 39.33 kB / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.8965, allocations: 4 kB / 1.026 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8966, allocations: 333.9 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.8967, allocations: 51.36 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.8968, allocations: 122.5 kB / 1.027 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.897, allocations: 74.42 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.897, allocations: 3.953 kB / 1.027 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004065/0.8974, allocations: 237.4 kB / 1.027 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.8975, allocations: 67.39 kB / 1.027 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8975, allocations: 0 / 1.027 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8975, allocations: 8.156 kB / 1.027 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.8976, allocations: 23.86 kB / 1.027 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.8976, allocations: 4 kB / 1.027 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.8978, allocations: 23.83 kB / 1.027 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.8978, allocations: 8 kB / 1.027 GB, free: 9.258 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.000101/0.8979, allocations: 123 kB / 1.027 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001592/0.8981, allocations: 127.5 kB / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.8981, allocations: 15.81 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.8983, allocations: 134.6 kB / 1.028 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8984, allocations: 4 kB / 1.028 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8984, allocations: 48 / 1.028 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8984, allocations: 7.969 kB / 1.028 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.8989, allocations: 442.8 kB / 1.028 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8989, allocations: 4 kB / 1.028 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.8989, allocations: 15.94 kB / 1.028 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.899, allocations: 0 / 1.028 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.899, allocations: 7.047 kB / 1.028 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.899, allocations: 0 / 1.028 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.899, allocations: 0 / 1.028 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.8992, allocations: 232.5 kB / 1.028 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.8993, allocations: 92.61 kB / 1.028 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.8993, allocations: 4 kB / 1.028 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8994, allocations: 11.98 kB / 1.028 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.8995, allocations: 15.97 kB / 1.028 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.8995, allocations: 11.75 kB / 1.028 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.715e-05/0.8996, allocations: 130.2 kB / 1.029 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8996, allocations: 0 / 1.029 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003033/0.8999, allocations: 51.92 kB / 1.029 GB, free: 7.902 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.0007127/0.9006, allocations: 0.8389 MB / 1.029 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.9009, allocations: 239.3 kB / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.901, allocations: 0 / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.901, allocations: 49.69 kB / 1.03 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.9014, allocations: 53.27 kB / 1.03 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.902, allocations: 275.7 kB / 1.03 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.9023, allocations: 0.7317 MB / 1.031 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.879e-05/0.9024, allocations: 30.06 kB / 1.031 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.9025, allocations: 53.92 kB / 1.031 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9025, allocations: 0 / 1.031 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.926, allocations: 4.554 MB / 1.035 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.9263, allocations: 179.3 kB / 1.035 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.585, allocations: 0 / 1.035 GB, free: 0.9648 MB / 0.6511 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)