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.531/1.531, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001208/0.001208, allocations: 170.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001016/0.001016, allocations: 90.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.373e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7275/0.9568, allocations: 135.1 MB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.9571, allocations: 77.2 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.9759, allocations: 6.743 MB / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.976, allocations: 0 / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.976, allocations: 4 kB / 1.03 GB, free: 9.867 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.0006599/0.9767, allocations: 0.523 MB / 1.031 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9767, allocations: 12.03 kB / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.9768, allocations: 41.12 kB / 1.031 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.9769, allocations: 23.72 kB / 1.031 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.9775, allocations: 273.9 kB / 1.031 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.9775, allocations: 19.12 kB / 1.031 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.9776, allocations: 18.48 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.9778, allocations: 95.8 kB / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.9778, allocations: 0 / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9779, allocations: 10.94 kB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9779, allocations: 4 kB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.978, allocations: 61.67 kB / 1.032 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.9789, allocations: 493.2 kB / 1.032 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.9791, allocations: 111.7 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.9792, allocations: 37.73 kB / 1.032 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.9793, allocations: 7.984 kB / 1.032 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.9794, allocations: 109 kB / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.9794, allocations: 0 / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003177/0.9798, allocations: 141.6 kB / 1.032 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.9798, allocations: 51.41 kB / 1.032 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.9801, allocations: 184.2 kB / 1.033 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.9801, allocations: 33.52 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.9802, allocations: 124 kB / 1.033 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.9803, allocations: 38.94 kB / 1.033 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.9803, allocations: 7.188 kB / 1.033 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9804, allocations: 336.6 kB / 1.033 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.9806, allocations: 53.42 kB / 1.033 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.9808, allocations: 132.4 kB / 1.033 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.981, allocations: 140.3 kB / 1.033 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.981, allocations: 0 / 1.033 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000536/0.9815, allocations: 316.9 kB / 1.034 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.9816, allocations: 68.45 kB / 1.034 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9816, allocations: 4 kB / 1.034 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9817, allocations: 4 kB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.9818, allocations: 19.92 kB / 1.034 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.9818, allocations: 8.141 kB / 1.034 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.982, allocations: 31.08 kB / 1.034 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.982, allocations: 8 kB / 1.034 GB, free: 6.48 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.0001276/0.9822, allocations: 129 kB / 1.034 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.9822, allocations: 23.8 kB / 1.034 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.9825, allocations: 141.1 kB / 1.034 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9825, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9825, allocations: 8 kB / 1.034 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9825, allocations: 0 / 1.034 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.9831, allocations: 496.5 kB / 1.035 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.9832, allocations: 3.984 kB / 1.035 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.9832, allocations: 15.3 kB / 1.035 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.9832, allocations: 0 / 1.035 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9832, allocations: 8 kB / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9833, allocations: 0 / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9833, allocations: 0 / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.9835, allocations: 229.2 kB / 1.035 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.9836, allocations: 104.6 kB / 1.035 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.9836, allocations: 4 kB / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.9837, allocations: 11.67 kB / 1.035 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.9838, allocations: 15.98 kB / 1.035 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.9839, allocations: 11.98 kB / 1.035 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001227/0.984, allocations: 142.8 kB / 1.035 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.362e-06/0.984, allocations: 0 / 1.035 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003234/0.9843, allocations: 55.8 kB / 1.035 GB, free: 5.156 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.0007321/0.9851, allocations: 0.83 MB / 1.036 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.9854, allocations: 248.3 kB / 1.036 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9855, allocations: 0 / 1.036 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.9856, allocations: 50.56 kB / 1.036 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.9859, allocations: 52.02 kB / 1.036 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.9867, allocations: 295.3 kB / 1.037 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.987, allocations: 0.7288 MB / 1.037 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.9871, allocations: 34.03 kB / 1.037 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.9872, allocations: 52.36 kB / 1.037 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/0.9872, allocations: 0 / 1.037 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/1.004, allocations: 4.958 MB / 1.042 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.005, allocations: 204.6 kB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.766, allocations: 3.516 kB / 1.042 GB, free: 13.84 MB / 0.6667 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)