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.51/1.51, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001732/0.001732, allocations: 182.9 kB / 326.5 MB, free: 2.266 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.962/1.962, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001063/0.001063, allocations: 98.28 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 8.281 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001944/0.2376, allocations: 1.533 MB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.2386, allocations: 0.6316 MB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.2387, allocations: 3.938 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2389, allocations: 19.8 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.2391, allocations: 107.7 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.2394, allocations: 149.7 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.2396, allocations: 147.7 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2398, allocations: 29.66 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.2398, allocations: 83.75 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/0.2408, allocations: 0.8662 MB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.2408, allocations: 8 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.2409, allocations: 31.86 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.2409, allocations: 31.91 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.241, allocations: 53.62 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.2412, allocations: 143.6 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2412, allocations: 4 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2412, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2412, allocations: 0 / 0.9039 GB, free: 60.02 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.0007052/0.2419, allocations: 0.5062 MB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2419, allocations: 8.031 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.242, allocations: 50.48 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.2421, allocations: 23.77 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.2423, allocations: 238.6 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2424, allocations: 15.98 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.2424, allocations: 12 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.2426, allocations: 106.5 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2426, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2426, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2427, allocations: 7.953 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2428, allocations: 59.91 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.2437, allocations: 0.4923 MB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2439, allocations: 106.7 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2439, allocations: 7.984 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.2441, allocations: 108.5 kB / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2441, allocations: 0 / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0003001/0.2444, allocations: 170.7 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2444, allocations: 55.41 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2446, allocations: 204.4 kB / 0.906 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.2447, allocations: 33.7 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.2447, allocations: 132.4 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.2448, allocations: 39.47 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.2448, allocations: 3.938 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.2449, allocations: 338.8 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.245, allocations: 59.95 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2452, allocations: 138.7 kB / 0.9067 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.2454, allocations: 127.4 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2454, allocations: 0 / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004869/0.2459, allocations: 335.5 kB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.246, allocations: 71.38 kB / 0.9072 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.246, allocations: 4 kB / 0.9072 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.246, allocations: 4 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.2461, allocations: 12 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2461, allocations: 7.938 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2463, allocations: 27.83 kB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2463, allocations: 15.92 kB / 0.9073 GB, free: 56.24 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.0001118/0.2464, allocations: 148.1 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.2465, allocations: 15.81 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.2467, allocations: 151.3 kB / 0.9076 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2467, allocations: 4 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2467, allocations: 4 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2467, allocations: 0 / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.2471, allocations: 499.8 kB / 0.9081 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2472, allocations: 0 / 0.9081 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.2472, allocations: 8 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2472, allocations: 0 / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2472, allocations: 4 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2472, allocations: 4 kB / 0.9081 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2472, allocations: 0 / 0.9081 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.2474, allocations: 247.1 kB / 0.9083 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.2475, allocations: 92.86 kB / 0.9084 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.2475, allocations: 8 kB / 0.9084 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2476, allocations: 11.98 kB / 0.9084 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.2477, allocations: 19.97 kB / 0.9084 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.2477, allocations: 4 kB / 0.9084 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.955e-05/0.2478, allocations: 149.5 kB / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2478, allocations: 0 / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002995/0.2482, allocations: 51.91 kB / 0.9086 GB, free: 54.75 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.0006836/0.2488, allocations: 0.8339 MB / 0.9094 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.2492, allocations: 246.7 kB / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2492, allocations: 0 / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.2493, allocations: 47.92 kB / 0.9097 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2496, allocations: 52.27 kB / 0.9098 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.2507, allocations: 1.52 MB / 0.9113 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.2508, allocations: 0.7323 MB / 0.912 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.177e-05/0.2509, allocations: 30.02 kB / 0.912 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.251, allocations: 55.42 kB / 0.9121 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.251, allocations: 0 / 0.9121 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.2665, allocations: 4.947 MB / 0.9169 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.2667, allocations: 234.6 kB / 0.9171 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.097, allocations: 0 / 0.9171 GB, free: 46.08 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)