Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.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.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",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.001315/0.001315, allocations: 101.4 kB / 15.7 MB, free: 24 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.001324/0.001324, allocations: 193.9 kB / 16.64 MB, free: 6.586 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.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.609 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.664/1.664, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001441/0.001442, allocations: 65.59 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1942, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003058/0.1973, allocations: 1.77 MB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1984, allocations: 0.5978 MB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.1985, allocations: 3.938 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1987, allocations: 27.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.00039/0.1991, allocations: 119.4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1995, allocations: 147.7 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1998, allocations: 223.5 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1999, allocations: 37.47 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.2, allocations: 103.7 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2003, allocations: 123.6 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.2003, allocations: 16 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2005, allocations: 135.8 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.2006, allocations: 47.78 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.2007, allocations: 87.56 kB / 0.787 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2011, allocations: 279.5 kB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2011, allocations: 0 / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2011, allocations: 0 / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2011, allocations: 0 / 0.7872 GB, free: 9.547 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007221/0.2018, allocations: 0.5569 MB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2019, allocations: 12.03 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.2019, allocations: 42.73 kB / 0.7878 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.202, allocations: 20.75 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.2022, allocations: 247.4 kB / 0.7881 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2023, allocations: 8 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.2023, allocations: 19.98 kB / 0.7881 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.2025, allocations: 93.64 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2025, allocations: 4 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2025, allocations: 8 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2025, allocations: 3.938 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2026, allocations: 59.91 kB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.2034, allocations: 464.3 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2035, allocations: 82.55 kB / 0.7888 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.2036, allocations: 36.95 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2036, allocations: 3.984 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2038, allocations: 94 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2038, allocations: 0 / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003129/0.2041, allocations: 149.5 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2042, allocations: 59.41 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2044, allocations: 195.9 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.2044, allocations: 33.7 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.2045, allocations: 120.4 kB / 0.7895 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.2045, allocations: 39.48 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.2046, allocations: 53.67 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.2047, allocations: 326.8 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.2048, allocations: 27.98 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.205, allocations: 136.4 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2051, allocations: 109.1 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2051, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000225/0.2054, allocations: 152.2 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2054, allocations: 4 kB / 0.7903 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2054, allocations: 7.938 kB / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2054, allocations: 160 / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.2055, allocations: 27.94 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2055, allocations: 0 / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.2057, allocations: 27.83 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2057, allocations: 4 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001094/0.2058, allocations: 130.5 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2059, allocations: 15.81 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.2061, allocations: 127.1 kB / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2061, allocations: 7.984 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2061, allocations: 4 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2061, allocations: 0 / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.2066, allocations: 470.1 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2066, allocations: 0 / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.2067, allocations: 8 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2067, allocations: 4 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2067, allocations: 0 / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2067, allocations: 3.984 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2067, allocations: 0 / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.2069, allocations: 226.5 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2069, allocations: 92.95 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.207, allocations: 4 kB / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.2071, allocations: 7.984 kB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.2071, allocations: 15.98 kB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2072, allocations: 7.984 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001099/0.2073, allocations: 148.1 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2073, allocations: 0 / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003356/0.2076, allocations: 64 kB / 0.7916 GB, free: 4.66 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007606/0.2084, allocations: 0.8862 MB / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2086, allocations: 91.78 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2086, allocations: 0 / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.2087, allocations: 47.92 kB / 0.7926 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.2091, allocations: 43.89 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.2108, allocations: 1.849 MB / 0.7945 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2111, allocations: 0.7241 MB / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.988e-05/0.2112, allocations: 29.52 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.2112, allocations: 51.41 kB / 0.7952 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2113, allocations: 0 / 0.7952 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2305, allocations: 5.568 MB / 0.8007 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.485, allocations: 9.422 kB / 0.8007 GB, free: 11.35 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)