Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 187.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.7 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2836, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.0033/0.287, allocations: 1.77 MB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2882, allocations: 0.6246 MB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.2883, allocations: 0 / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.2885, allocations: 31.67 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.2889, allocations: 119.4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.2893, allocations: 158.5 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.2896, allocations: 239.4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2898, allocations: 37.67 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2899, allocations: 99.72 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.2901, allocations: 135.5 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2902, allocations: 16 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2904, allocations: 131.8 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.2904, allocations: 47.83 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2906, allocations: 99.44 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.2909, allocations: 283.5 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.291, allocations: 3.938 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.291, allocations: 8 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.291, allocations: 0 / 0.7873 GB, free: 9.488 MB / 0.6075 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.0008102/0.2918, allocations: 0.5759 MB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2918, allocations: 8.031 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.2919, allocations: 42.73 kB / 0.7879 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.292, allocations: 20.75 kB / 0.7879 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.2923, allocations: 256 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.2924, allocations: 20.36 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.2924, allocations: 19.94 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.2926, allocations: 105.5 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2927, allocations: 0 / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2927, allocations: 4 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.2927, allocations: 4 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2928, allocations: 63.89 kB / 0.7884 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.2937, allocations: 484.3 kB / 0.7889 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.294, allocations: 122.7 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.2941, allocations: 36.84 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2941, allocations: 8 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.2943, allocations: 103.3 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2943, allocations: 0 / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003537/0.2946, allocations: 177.3 kB / 0.7893 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2947, allocations: 63.38 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.2949, allocations: 199.7 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2949, allocations: 33.7 kB / 0.7896 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2951, allocations: 132.3 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2951, allocations: 39.55 kB / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.2952, allocations: 61.67 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2953, allocations: 326.8 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.2955, allocations: 63.95 kB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2957, allocations: 131.6 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.296, allocations: 209.3 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.296, allocations: 0 / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005507/0.2966, allocations: 336.6 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.2967, allocations: 71.33 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2967, allocations: 3.984 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2967, allocations: 4 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.2968, allocations: 16 kB / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2968, allocations: 4 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.297, allocations: 39.61 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.297, allocations: 11.98 kB / 0.7909 GB, free: 5.418 MB / 0.6075 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,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.0001247/0.2972, allocations: 144.2 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.2972, allocations: 19.8 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2975, allocations: 158.6 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2975, allocations: 4 kB / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2975, allocations: 0 / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2975, allocations: 0 / 0.7913 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.2981, allocations: 486.1 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2981, allocations: 4 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.2982, allocations: 8 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2982, allocations: 0 / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2982, allocations: 4 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2982, allocations: 3.984 kB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2982, allocations: 4 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2984, allocations: 231.2 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.2985, allocations: 96.86 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2985, allocations: 8 kB / 0.7921 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2986, allocations: 7.984 kB / 0.7921 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.2987, allocations: 15.98 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.2987, allocations: 7.984 kB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001221/0.2989, allocations: 149.5 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2989, allocations: 0 / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003704/0.2993, allocations: 71.89 kB / 0.7923 GB, free: 3.922 MB / 0.6075 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.0009034/0.3002, allocations: 0.9048 MB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.3006, allocations: 254.6 kB / 0.7934 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3006, allocations: 0 / 0.7934 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.3007, allocations: 51.92 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3012, allocations: 64.78 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.3042, allocations: 2.265 MB / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3045, allocations: 0.7281 MB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.3046, allocations: 25.94 kB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.3047, allocations: 59.41 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3047, allocations: 0 / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3284, allocations: 5.958 MB / 0.8024 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.507, allocations: 16.59 kB / 0.8024 GB, free: 9.562 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)