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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001147, allocations: 107.2 kB / 16.29 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 185.5 kB / 17.22 MB, free: 5.633 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.173/1.173, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.614/1.614, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001314/0.001314, allocations: 70.88 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1875, allocations: 114.6 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003057/0.1906, allocations: 1.759 MB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1917, allocations: 0.6045 MB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.1918, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.192, allocations: 31.73 kB / 0.7864 GB, free: 1.484 MB / 0.6544 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.0003723/0.1924, allocations: 115.4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1927, allocations: 158.6 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.193, allocations: 227.5 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1931, allocations: 33.5 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1933, allocations: 103.7 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1935, allocations: 131.5 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.1935, allocations: 16 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.1937, allocations: 131.8 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1938, allocations: 39.83 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.517e-05/0.1939, allocations: 87.56 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1942, allocations: 287.4 kB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1943, allocations: 0 / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1943, allocations: 0 / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1943, allocations: 0 / 0.7877 GB, free: 188 kB / 0.6544 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.2953/0.4896, allocations: 0.5564 MB / 0.7882 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4897, allocations: 8.938 kB / 0.7882 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.4897, allocations: 20.7 kB / 0.7882 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.49, allocations: 238.9 kB / 0.7885 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.49, allocations: 13.53 kB / 0.7885 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.49, allocations: 13.56 kB / 0.7885 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4902, allocations: 95.95 kB / 0.7886 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4902, allocations: 2.719 kB / 0.7886 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4902, allocations: 4.656 kB / 0.7886 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4902, allocations: 6.078 kB / 0.7886 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.4903, allocations: 52.16 kB / 0.7887 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.4909, allocations: 473 kB / 0.7891 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4911, allocations: 76.41 kB / 0.7892 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.4911, allocations: 32.92 kB / 0.7892 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.4911, allocations: 12.52 kB / 0.7892 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.4913, allocations: 98.09 kB / 0.7893 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4913, allocations: 1 kB / 0.7893 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0002456/0.4916, allocations: 144.7 kB / 0.7895 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.4916, allocations: 53.34 kB / 0.7895 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4917, allocations: 193.1 kB / 0.7897 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4918, allocations: 30.27 kB / 0.7897 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.4918, allocations: 124.1 kB / 0.7898 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.4919, allocations: 39.45 kB / 0.7899 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.4919, allocations: 51.64 kB / 0.7899 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.492, allocations: 330.4 kB / 0.7902 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.492, allocations: 34.09 kB / 0.7903 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.4922, allocations: 128.5 kB / 0.7904 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.998e-05/0.4923, allocations: 107 kB / 0.7905 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4923, allocations: 2.625 kB / 0.7905 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001787/0.4925, allocations: 144.5 kB / 0.7906 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4925, allocations: 9.953 kB / 0.7906 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4925, allocations: 5.844 kB / 0.7906 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4926, allocations: 1.625 kB / 0.7907 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.4926, allocations: 16.03 kB / 0.7907 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4927, allocations: 2.531 kB / 0.7907 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.4928, allocations: 25.27 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4928, allocations: 5.312 kB / 0.7907 GB, free: 47.72 MB / 0.6544 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 8.62e-05/0.4929, allocations: 145.1 kB / 0.7908 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.4929, allocations: 15.56 kB / 0.7909 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.4931, allocations: 128.1 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4931, allocations: 4.938 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4931, allocations: 0 / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4932, allocations: 0.9844 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.4935, allocations: 459.9 kB / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4935, allocations: 2.469 kB / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.4936, allocations: 13.94 kB / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4936, allocations: 0 / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4936, allocations: 8.359 kB / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4936, allocations: 5.031 kB / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4936, allocations: 0 / 0.7914 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4938, allocations: 214.7 kB / 0.7917 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.4938, allocations: 87.55 kB / 0.7917 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4938, allocations: 13.09 kB / 0.7917 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.4939, allocations: 10.17 kB / 0.7918 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.494, allocations: 14.02 kB / 0.7918 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.494, allocations: 8.469 kB / 0.7918 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.4941, allocations: 140.2 kB / 0.7919 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4941, allocations: 3.719 kB / 0.7919 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003184/0.4944, allocations: 72.45 kB / 0.792 GB, free: 46.93 MB / 0.6544 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.0003973/0.4948, allocations: 223.1 kB / 0.7922 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.495, allocations: 93.28 kB / 0.7923 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.495, allocations: 1.062 kB / 0.7923 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.4951, allocations: 47.12 kB / 0.7923 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.4954, allocations: 60.73 kB / 0.7924 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.4959, allocations: 283.3 kB / 0.7927 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.496, allocations: 0.7191 MB / 0.7934 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.984e-05/0.4961, allocations: 28.36 kB / 0.7934 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.4962, allocations: 26.05 kB / 0.7934 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.4962, allocations: 0 / 0.7934 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.005928/0.5021, allocations: 3.802 MB / 0.7971 GB, free: 45.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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 & ./Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)