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.548/1.548, allocations: 252 MB / 267 MB, free: 10.97 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.001359/0.001359, allocations: 190.6 kB / 326.6 MB, free: 2.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 2.15/2.15, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0009828/0.000983, allocations: 89.81 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004231, allocations: 7.531 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2697, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002231/0.272, allocations: 1.54 MB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2731, allocations: 0.6239 MB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.2732, allocations: 7.938 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.2735, allocations: 35.77 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.2737, allocations: 99.59 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.2741, allocations: 142.5 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2743, allocations: 207.4 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.2744, allocations: 33.64 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.2746, allocations: 91.69 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.2776, allocations: 2.489 MB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.2776, allocations: 8 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.2777, allocations: 16 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.2778, allocations: 35.83 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.2779, allocations: 61.58 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.2781, allocations: 147.6 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2781, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2781, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2781, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 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.0007892/0.2789, allocations: 0.5098 MB / 0.9062 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.279, allocations: 12.03 kB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.279, allocations: 46.55 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.2791, allocations: 23.77 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.2794, allocations: 242.6 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2794, allocations: 16 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.2795, allocations: 12 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2797, allocations: 101.6 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2797, allocations: 3.938 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.2797, allocations: 7.984 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2797, allocations: 7.953 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2799, allocations: 55.97 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.2807, allocations: 0.4884 MB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.2809, allocations: 118.7 kB / 0.9073 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.281, allocations: 40.89 kB / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.281, allocations: 4 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.2812, allocations: 105.2 kB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.2812, allocations: 4 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0003031/0.2815, allocations: 169.4 kB / 0.9076 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2816, allocations: 55.41 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2817, allocations: 204.4 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.2818, allocations: 37.64 kB / 0.9079 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.2819, allocations: 128.4 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2819, allocations: 35.47 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.2819, allocations: 4 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.282, allocations: 334.8 kB / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2822, allocations: 67.95 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2824, allocations: 135.1 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.2825, allocations: 131.3 kB / 0.9087 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2825, allocations: 4 kB / 0.9087 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004753/0.283, allocations: 328.6 kB / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.2831, allocations: 73.88 kB / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2831, allocations: 0 / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2831, allocations: 4 kB / 0.9091 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.2832, allocations: 16 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2832, allocations: 12.09 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.2834, allocations: 27.83 kB / 0.9091 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2835, allocations: 15.98 kB / 0.9091 GB, free: 54.44 MB / 0.6042 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.0001184/0.2836, allocations: 140 kB / 0.9093 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.2836, allocations: 15.81 kB / 0.9093 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.2838, allocations: 148.9 kB / 0.9094 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2838, allocations: 4 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2838, allocations: 4 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2839, allocations: 0 / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.2843, allocations: 0.4943 MB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2843, allocations: 0 / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.2844, allocations: 4 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2844, allocations: 4 kB / 0.9099 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2844, allocations: 4 kB / 0.9099 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2844, allocations: 0 / 0.9099 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2844, allocations: 3.984 kB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.2846, allocations: 241.3 kB / 0.9102 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.2846, allocations: 92.92 kB / 0.9102 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2847, allocations: 4 kB / 0.9103 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2848, allocations: 15.98 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.2848, allocations: 19.97 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.2849, allocations: 4 kB / 0.9103 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.285, allocations: 145.5 kB / 0.9104 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.285, allocations: 0 / 0.9104 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002837/0.2853, allocations: 47.89 kB / 0.9105 GB, free: 52.96 MB / 0.6042 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.0005878/0.2859, allocations: 0.8327 MB / 0.9113 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.2862, allocations: 262.6 kB / 0.9115 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2862, allocations: 0 / 0.9115 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.2863, allocations: 47.92 kB / 0.9116 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.2867, allocations: 48.61 kB / 0.9116 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2883, allocations: 1.11 MB / 0.9127 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.2885, allocations: 0.7245 MB / 0.9134 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.877e-05/0.2886, allocations: 29.92 kB / 0.9135 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.2887, allocations: 63.41 kB / 0.9135 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2887, allocations: 3.938 kB / 0.9135 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.3061, allocations: 5.015 MB / 0.9184 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.3063, allocations: 235.7 kB / 0.9186 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.071, allocations: 3.938 kB / 0.9186 GB, free: 44.63 MB / 0.6042 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)