Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.841/1.841, allocations: 288.2 MB / 303.2 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 190.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009462/0.0009464, allocations: 94.92 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004152, allocations: 14.86 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001963/0.2375, allocations: 1.525 MB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2386, allocations: 0.6277 MB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2387, allocations: 0 / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.2389, allocations: 19.86 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.2391, allocations: 111.6 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.2395, allocations: 149.8 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2397, allocations: 139.7 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2398, allocations: 33.67 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.2399, allocations: 87.69 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009128/0.2408, allocations: 0.8701 MB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.2409, allocations: 8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.241, allocations: 20 kB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.241, allocations: 27.91 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.2411, allocations: 61.56 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2413, allocations: 155.9 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2413, allocations: 0 / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.115e-06/0.2413, allocations: 0 / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2413, allocations: 3.938 kB / 0.9832 GB, free: 23.78 MB / 0.6198 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.0006118/0.2419, allocations: 0.5098 MB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.242, allocations: 16.02 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.242, allocations: 46.48 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.2421, allocations: 23.77 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2423, allocations: 234.8 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2424, allocations: 12 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.2424, allocations: 19.98 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2426, allocations: 113.4 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2426, allocations: 0 / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.2426, allocations: 0 / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2427, allocations: 8 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.2428, allocations: 59.92 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.2436, allocations: 0.4885 MB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.2438, allocations: 106.7 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2439, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.244, allocations: 114.2 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.244, allocations: 0 / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003017/0.2443, allocations: 173.3 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2444, allocations: 55.41 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2445, allocations: 196.5 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2446, allocations: 41.64 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.2446, allocations: 128.4 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.2447, allocations: 43.42 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.2447, allocations: 8 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.2448, allocations: 330.8 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2449, allocations: 67.89 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2451, allocations: 127.7 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.2453, allocations: 131.4 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2453, allocations: 7.953 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004551/0.2457, allocations: 331.7 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.2458, allocations: 63.39 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2458, allocations: 4.156 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2458, allocations: 8 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.2459, allocations: 19.92 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.2459, allocations: 4 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2461, allocations: 23.89 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2461, allocations: 15.98 kB / 0.9866 GB, free: 20 MB / 0.6198 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.0001088/0.2462, allocations: 148 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2463, allocations: 23.75 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.2465, allocations: 147.5 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2465, allocations: 4 kB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2465, allocations: 0 / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2465, allocations: 0 / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.247, allocations: 492.4 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.247, allocations: 7.984 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.2471, allocations: 8 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2471, allocations: 0 / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2471, allocations: 4 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2471, allocations: 4 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2471, allocations: 0 / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.2473, allocations: 239.1 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.2473, allocations: 100.9 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2474, allocations: 4 kB / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2475, allocations: 15.98 kB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.2475, allocations: 15.97 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.2476, allocations: 12 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.412e-05/0.2477, allocations: 140.2 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2477, allocations: 0 / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002843/0.248, allocations: 47.98 kB / 0.9879 GB, free: 18.52 MB / 0.6198 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.0005771/0.2485, allocations: 0.8348 MB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.2489, allocations: 254.5 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2489, allocations: 0 / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.249, allocations: 47.98 kB / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2493, allocations: 46.33 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009323/0.2502, allocations: 1.518 MB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.2504, allocations: 0.7323 MB / 0.9913 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.2505, allocations: 29.92 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2506, allocations: 55.41 kB / 0.9914 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.2506, allocations: 3.938 kB / 0.9914 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.2664, allocations: 4.975 MB / 0.9962 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.2666, allocations: 233.9 kB / 0.9965 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.03, allocations: 0 / 0.9965 GB, free: 9.809 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)