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.379/1.379, allocations: 252 MB / 267.3 MB, free: 10.84 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.001031/0.001031, allocations: 176.3 kB / 327 MB, free: 2.102 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.616/1.616, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0007764/0.0007764, allocations: 96.77 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 10.31 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002174/0.2065, allocations: 1.582 MB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2076, allocations: 0.6626 MB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.2077, allocations: 4 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.2079, allocations: 23.78 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.2083, allocations: 91.67 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.2087, allocations: 150.5 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.2089, allocations: 227.4 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2091, allocations: 37.66 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2092, allocations: 91.67 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04998/0.2592, allocations: 2.628 MB / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.2593, allocations: 19.94 kB / 0.9063 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.2595, allocations: 27.98 kB / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.2595, allocations: 39.83 kB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2597, allocations: 109.2 kB / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.2599, allocations: 199.2 kB / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.26, allocations: 0 / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.605e-06/0.26, allocations: 0 / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.26, allocations: 3.938 kB / 0.9066 GB, free: 58.15 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.0007248/0.2607, allocations: 0.5178 MB / 0.9071 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2608, allocations: 8.031 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.2608, allocations: 38.75 kB / 0.9072 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.2609, allocations: 20.75 kB / 0.9072 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.2613, allocations: 248 kB / 0.9074 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2613, allocations: 12.38 kB / 0.9075 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.2613, allocations: 19.94 kB / 0.9075 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.2615, allocations: 105.6 kB / 0.9076 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2616, allocations: 4 kB / 0.9076 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2616, allocations: 4 kB / 0.9076 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2616, allocations: 0 / 0.9076 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2617, allocations: 63.89 kB / 0.9076 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2628, allocations: 0.4923 MB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.2631, allocations: 114.6 kB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.2632, allocations: 40.89 kB / 0.9083 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2632, allocations: 0 / 0.9083 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.2634, allocations: 111.1 kB / 0.9084 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.2634, allocations: 0 / 0.9084 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.000296/0.2637, allocations: 173.3 kB / 0.9085 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2637, allocations: 55.41 kB / 0.9086 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2639, allocations: 212.3 kB / 0.9088 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.2639, allocations: 37.69 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.264, allocations: 132.3 kB / 0.909 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.264, allocations: 35.55 kB / 0.909 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.264, allocations: 8 kB / 0.909 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.2641, allocations: 326.8 kB / 0.9093 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2642, allocations: 63.95 kB / 0.9094 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.2644, allocations: 131.6 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.2647, allocations: 209.3 kB / 0.9097 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2647, allocations: 0 / 0.9097 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005097/0.2652, allocations: 340 kB / 0.91 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.2653, allocations: 79.31 kB / 0.9101 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.2653, allocations: 0 / 0.9101 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2653, allocations: 7.938 kB / 0.9101 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.2654, allocations: 12 kB / 0.9101 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2654, allocations: 8.094 kB / 0.9101 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2656, allocations: 31.83 kB / 0.9102 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2656, allocations: 19.97 kB / 0.9102 GB, free: 54.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2658, allocations: 140.1 kB / 0.9103 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2658, allocations: 19.75 kB / 0.9103 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.266, allocations: 147.4 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.266, allocations: 0 / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.266, allocations: 4 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2661, allocations: 4 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.2665, allocations: 490.2 kB / 0.9109 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2665, allocations: 0 / 0.9109 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.2666, allocations: 8 kB / 0.911 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2666, allocations: 0 / 0.911 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2666, allocations: 4 kB / 0.911 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2666, allocations: 4 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2666, allocations: 3.984 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.2668, allocations: 246.6 kB / 0.9112 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.2669, allocations: 104.8 kB / 0.9113 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.2669, allocations: 4 kB / 0.9113 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.267, allocations: 15.98 kB / 0.9113 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.2671, allocations: 19.97 kB / 0.9113 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.2671, allocations: 4 kB / 0.9113 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.2672, allocations: 145.5 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2672, allocations: 0 / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002976/0.2675, allocations: 43.98 kB / 0.9115 GB, free: 52.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005795/0.2681, allocations: 0.8341 MB / 0.9123 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.2685, allocations: 250.7 kB / 0.9126 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2685, allocations: 0 / 0.9126 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.2685, allocations: 51.91 kB / 0.9126 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.269, allocations: 52.61 kB / 0.9127 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2713, allocations: 2.317 MB / 0.9149 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2715, allocations: 0.7245 MB / 0.9156 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.414e-05/0.2716, allocations: 29.92 kB / 0.9157 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.2717, allocations: 63.34 kB / 0.9157 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2717, allocations: 0 / 0.9157 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.2878, allocations: 5.006 MB / 0.9206 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.288, allocations: 255.7 kB / 0.9209 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.049, allocations: 0 / 0.9209 GB, free: 43.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)